reacord
-{packageJson.description}
- - Get Started - -diff --git a/packages/website/app/assets/dots-background.svg b/packages/website/app/assets/dots-background.svg new file mode 100644 index 0000000..c041603 --- /dev/null +++ b/packages/website/app/assets/dots-background.svg @@ -0,0 +1,3 @@ + diff --git a/packages/website/public/favicon.png b/packages/website/app/assets/favicon.png similarity index 100% rename from packages/website/public/favicon.png rename to packages/website/app/assets/favicon.png diff --git a/packages/website/app/root.tsx b/packages/website/app/root.tsx index d9bc71f..6c057c0 100644 --- a/packages/website/app/root.tsx +++ b/packages/website/app/root.tsx @@ -13,6 +13,7 @@ import type { GuideLink } from "~/modules/navigation/load-guide-links.server" import { loadGuideLinks } from "~/modules/navigation/load-guide-links.server" import prismThemeCss from "~/modules/ui/prism-theme.css" import tailwindCss from "~/modules/ui/tailwind.out.css" +import faviconUrl from "./assets/favicon.png" export const meta: MetaFunction = () => ({ title: "Reacord", @@ -20,7 +21,7 @@ export const meta: MetaFunction = () => ({ }) export const links: LinksFunction = () => [ - { rel: "icon", type: "image/png", href: "/favicon.png" }, + { rel: "icon", type: "image/png", href: faviconUrl }, { rel: "stylesheet", href: tailwindCss }, { rel: "stylesheet", href: prismThemeCss }, { rel: "preconnect", href: "https://fonts.googleapis.com" }, diff --git a/packages/website/app/routes/index.tsx b/packages/website/app/routes/index.tsx index 74962cf..bfee2e5 100644 --- a/packages/website/app/routes/index.tsx +++ b/packages/website/app/routes/index.tsx @@ -1,4 +1,5 @@ import packageJson from "reacord/package.json" +import dotsBackgroundUrl from "~/assets/dots-background.svg" import { AppFooter } from "~/modules/app/app-footer" import LandingExample from "~/modules/landing/landing-example.mdx" import { MainNavigation } from "~/modules/navigation/main-navigation" @@ -6,26 +7,32 @@ import { maxWidthContainer } from "~/modules/ui/components" export default function Landing() { return ( -
{packageJson.description}
- - Get Started - -