Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: improve lit highlighting, mention on Form's homepage #195

Merged
merged 2 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/components/DocsLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ export function DocsLayout({
? 'text-sky-500'
: child.badge === 'solid'
? 'text-blue-500'
: child.badge === 'lit'
? 'text-blue-500'
: child.badge === 'svelte'
? 'text-orange-500'
: child.badge === 'vue'
Expand Down
2 changes: 1 addition & 1 deletion app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const libraries = [
`shadow-xl shadow-yellow-700/20 dark:shadow-lg dark:shadow-yellow-500/30 text-yellow-500 border-2 border-transparent hover:border-current`,
to: '/form',
tagline: `Headless UI for building performant and type-safe forms`,
description: `Headless, performant, and type-safe form state management for TS/JS, React, Solid, Svelte and Vue`,
description: `Headless, performant, and type-safe form state management for TS/JS, React, Solid, Vue, and Lit`,
badge: (
<div className="uppercase text-white bg-yellow-500 rounded-full px-2 py-1 text-xs font-black animate-pulse">
New
Expand Down
3 changes: 2 additions & 1 deletion app/routes/form.$version._index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default function RouteVersion() {
<span className="underline decoration-dashed decoration-yellow-500 decoration-3 underline-offset-2">
Headless, performant, and type-safe
</span>{' '}
form state management for TS/JS, React, Solid, and Vue
form state management for TS/JS, React, Solid, Vue, and Lit
</h2>
<p
className="text opacity-90 max-w-[500px]
Expand Down Expand Up @@ -366,6 +366,7 @@ export default function RouteVersion() {
{ label: 'React', value: 'react' },
{ label: 'Solid', value: 'solid' },
{ label: 'Vue', value: 'vue' },
{ label: 'Lit', value: 'lit' },
] as const
).map((item) => (
<button
Expand Down
4 changes: 2 additions & 2 deletions app/routes/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { Scarf } from '~/components/Scarf'

export const meta: MetaFunction = () => {
return seo({
title: 'TanStack Form | React Form, Solid Form, Svelte Form, Vue Form',
title: 'TanStack Form | React Form, Solid Form, Vue Form, Lit Form',
description:
'Simple, performant, type-safe forms for TS/JS, React, Solid, Svelte and Vue',
'Simple, performant, type-safe forms for TS/JS, React, Solid, Vue, and Lit',
image: 'https://github.com/tanstack/form/raw/main/media/repo-header.png',
})
}
Expand Down
2 changes: 1 addition & 1 deletion app/routes/store.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { seo } from '~/utils/seo'

export const meta: MetaFunction = () => {
return seo({
title: 'TanStack Store | React Store, Solid Store, Svelte Store, Vue Store',
title: 'TanStack Store | React Store, Solid Store, Vue Store',
description:
'Framework agnostic, type-safe store w/ reactive framework adapters',
image: 'https://github.com/tanstack/store/raw/main/media/repo-header.png',
Expand Down
Loading