-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: Add badges to aside items and update sitemap * update README.md * add metadata + an og image - because why not --------- Co-authored-by: Davis SHYAKA <[email protected]>
- Loading branch information
1 parent
3358b51
commit 494e732
Showing
13 changed files
with
239 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Geist | ||
Vercel | ||
shadcn-svelte |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
"nums", | ||
"Paperclip", | ||
"poppanator", | ||
"shadcn", | ||
"shiki", | ||
"Turborepo", | ||
"WAAPI" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,11 @@ | ||
# create-svelte | ||
# Geist | ||
|
||
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte). | ||
This is a [Svelte](https://svelte.dev/) implementation of the [Geist](https://vercel.com/geist/introduction) Design System by [Vercel](https://vercel.com/). | ||
|
||
## Creating a project | ||
## Notes | ||
|
||
If you're seeing this, you've probably already done this step. Congrats! | ||
|
||
```bash | ||
# create a new project in the current directory | ||
npm create svelte@latest | ||
|
||
# create a new project in my-app | ||
npm create svelte@latest my-app | ||
``` | ||
|
||
## Developing | ||
|
||
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: | ||
|
||
```bash | ||
npm run dev | ||
|
||
# or start the server and open the app in a new browser tab | ||
npm run dev -- --open | ||
``` | ||
|
||
## Building | ||
|
||
To create a production version of your app: | ||
|
||
```bash | ||
npm run build | ||
``` | ||
|
||
You can preview the production build with `npm run preview`. | ||
|
||
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment. | ||
- Work in progress. | ||
- Not affiliated with Vercel. | ||
- Not a component library. | ||
- Will try and keep the API's as close to the original as possible. | ||
- Built with [shadcn-svelte](https://www.shadcn-svelte.com/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,38 @@ | ||
import type { MetaTagsProps } from 'svelte-meta-tags'; | ||
|
||
export const prerender = true; | ||
|
||
export function load({ url }) { | ||
const title = 'Vercel Geist'; | ||
const description = | ||
"Vercel's design system called Geist. Made for building consistent and delightful web experiences."; | ||
|
||
const baseMetaTags = Object.freeze({ | ||
title, | ||
description: | ||
"Vercel's design system called Geist. Made for building consistent and delightful web experiences.", | ||
canonical: new URL(url.pathname, url.origin).href, | ||
openGraph: { | ||
type: 'website', | ||
url: new URL(url.pathname, url.origin).href, | ||
locale: 'en_GB', | ||
title, | ||
description, | ||
siteName: 'Geist', | ||
images: [ | ||
{ | ||
url: 'https://geist.shyakadavis.me/og.jpg', | ||
alt: 'Geist', | ||
width: 1200, | ||
height: 628, | ||
secureUrl: 'https://geist.shyakadavis.me/og.jpg', | ||
type: 'image/jpeg' | ||
} | ||
] | ||
} | ||
}) satisfies MetaTagsProps; | ||
|
||
return { | ||
baseMetaTags | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import type { MetaTagsProps } from 'svelte-meta-tags'; | ||
|
||
export function load() { | ||
const title = 'Badge'; | ||
const description = | ||
'A label that emphasizes an element that requires attention, or helps categorize with other similar elements.'; | ||
|
||
const pageMetaTags = Object.freeze({ | ||
title, | ||
description, | ||
openGraph: { | ||
title, | ||
description | ||
} | ||
}) satisfies MetaTagsProps; | ||
|
||
return { | ||
pageMetaTags, | ||
title, | ||
description | ||
}; | ||
} |
Oops, something went wrong.