From 1581829744ac1a6e6c8307d5afd94ff17493abbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Curley?= Date: Fri, 18 Apr 2025 17:15:45 +0100 Subject: [PATCH 1/4] fix: broken mobile styles for config --- .../_libraries/config.$version.index.tsx | 264 +++++++++--------- 1 file changed, 134 insertions(+), 130 deletions(-) diff --git a/app/routes/_libraries/config.$version.index.tsx b/app/routes/_libraries/config.$version.index.tsx index 52285dae..7d9ed130 100644 --- a/app/routes/_libraries/config.$version.index.tsx +++ b/app/routes/_libraries/config.$version.index.tsx @@ -36,153 +36,157 @@ export default function FormVersionIndex() { const gradientText = `pr-1 inline-block leading-snug text-transparent bg-clip-text bg-gradient-to-r ${configProject.colorFrom} ${configProject.colorTo}` return ( - <> -
-
-

- TanStack - Config -

-

- - Configuration and tools - {' '} - for publishing and maintaining high-quality JavaScript packages -

- - Get Started - -
+
+
+
+
+

+ TanStack + Config +

+

+ + Configuration and tools + {' '} + for publishing and maintaining high-quality JavaScript packages +

+ + Get Started + +
- + -
-
-

- Hassle-Free Setup -

-

- Incorporate TanStack Config into your development toolkit and - experience a new level of efficiency, speed, and customization in - building and releasing high-quality JavaScript packages. -

+
+
+

+ Hassle-Free Setup +

+

+ Incorporate TanStack Config into your development toolkit and + experience a new level of efficiency, speed, and customization in + building and releasing high-quality JavaScript packages. +

+
+
+ {[ + // A list of features that @tanstack/config provides + 'Vite ecosystem', + 'Opinionated defaults', + 'Publint-compliant', + 'Minimal configuration', + 'Package versioning', + 'Automated changelogs', + ].map((d, i) => { + return ( + + {d} + + ) + })} +
-
- {[ - // A list of features that @tanstack/config provides - 'Vite ecosystem', - 'Opinionated defaults', - 'Publint-compliant', - 'Minimal configuration', - 'Package versioning', - 'Automated changelogs', - ].map((d, i) => { - return ( - - {d} + +
+

+ Partners +

+
+
+
+ + Config You? - ) - })} +
+
+ We're looking for a TanStack Config OSS Partner to go above and + beyond the call of sponsorship. Are you as invested in TanStack + Config as we are? Let's push the boundaries of Config together! +
+ + Let's chat + +
+
+
-
-
-

- Partners -

-
-
- - Config You? - -
-
- We're looking for a TanStack Config OSS Partner to go above and - beyond the call of sponsorship. Are you as invested in TanStack - Config as we are? Let's push the boundaries of Config together! -
+
+

+ Sponsors +

+
+ } + children={(sponsors) => { + return + }} + /> +
+
-
-
-

- Sponsors -

-
- } - children={(sponsors) => { - return - }} - /> -
- -
- -
-
- + This ad helps us keep the lights on 😉 +
- - This ad helps us keep the lights on 😉 - -
-
-
- Wow, you've come a long way! -
-
- Only one thing left to do... -
-
- - Get Started! - +
+
+ Wow, you've come a long way! +
+
+ Only one thing left to do... +
+
+ + Get Started! + +
+
-
- +
) } From 477fa06d1c79100f540f38de61a24f48c0f64caa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Curley?= Date: Fri, 18 Apr 2025 17:36:45 +0100 Subject: [PATCH 2/4] fix: lint --- app/routes/_libraries/config.$version.index.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/routes/_libraries/config.$version.index.tsx b/app/routes/_libraries/config.$version.index.tsx index 7d9ed130..9897f899 100644 --- a/app/routes/_libraries/config.$version.index.tsx +++ b/app/routes/_libraries/config.$version.index.tsx @@ -73,8 +73,8 @@ export default function FormVersionIndex() {

Incorporate TanStack Config into your development toolkit and - experience a new level of efficiency, speed, and customization in - building and releasing high-quality JavaScript packages. + experience a new level of efficiency, speed, and customization + in building and releasing high-quality JavaScript packages.

@@ -113,9 +113,10 @@ export default function FormVersionIndex() {
- We're looking for a TanStack Config OSS Partner to go above and - beyond the call of sponsorship. Are you as invested in TanStack - Config as we are? Let's push the boundaries of Config together! + We're looking for a TanStack Config OSS Partner to go above + and beyond the call of sponsorship. Are you as invested in + TanStack Config as we are? Let's push the boundaries of + Config together!
Date: Fri, 18 Apr 2025 17:39:15 +0100 Subject: [PATCH 3/4] chore: unused version var --- app/routes/_libraries/config.$version.index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/app/routes/_libraries/config.$version.index.tsx b/app/routes/_libraries/config.$version.index.tsx index 9897f899..53d76b93 100644 --- a/app/routes/_libraries/config.$version.index.tsx +++ b/app/routes/_libraries/config.$version.index.tsx @@ -30,7 +30,6 @@ const librariesRouteApi = getRouteApi('/_libraries') export default function FormVersionIndex() { const { sponsorsPromise } = librariesRouteApi.useLoaderData() - const { version } = Route.useParams() const library = getLibrary('config') const gradientText = `pr-1 inline-block leading-snug text-transparent bg-clip-text bg-gradient-to-r ${configProject.colorFrom} ${configProject.colorTo}` From 68959ef04f624219adefb06fe583bbdfd6d4d761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Curley?= Date: Fri, 18 Apr 2025 17:54:27 +0100 Subject: [PATCH 4/4] fix: revert partners styles --- .../_libraries/config.$version.index.tsx | 46 +++++++++---------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/app/routes/_libraries/config.$version.index.tsx b/app/routes/_libraries/config.$version.index.tsx index 53d76b93..610a6283 100644 --- a/app/routes/_libraries/config.$version.index.tsx +++ b/app/routes/_libraries/config.$version.index.tsx @@ -95,35 +95,33 @@ export default function FormVersionIndex() {
-
+

Partners

-
-
- - Config You? - -
-
- We're looking for a TanStack Config OSS Partner to go above - and beyond the call of sponsorship. Are you as invested in - TanStack Config as we are? Let's push the boundaries of - Config together! -
-
- Let's chat - +
+ + Config You? + +
+
+ We're looking for a TanStack Config OSS Partner to go above + and beyond the call of sponsorship. Are you as invested in + TanStack Config as we are? Let's push the boundaries of Config + together!
+ + Let's chat +