add neat tilted background
This commit is contained in:
3
packages/website/app/assets/dots-background.svg
Normal file
3
packages/website/app/assets/dots-background.svg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="53" height="35" viewBox="0 0 53 35" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="3" cy="3" r="1" fill="white"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 146 B |
|
Before Width: | Height: | Size: 658 B After Width: | Height: | Size: 658 B |
@@ -13,6 +13,7 @@ import type { GuideLink } from "~/modules/navigation/load-guide-links.server"
|
|||||||
import { loadGuideLinks } 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 prismThemeCss from "~/modules/ui/prism-theme.css"
|
||||||
import tailwindCss from "~/modules/ui/tailwind.out.css"
|
import tailwindCss from "~/modules/ui/tailwind.out.css"
|
||||||
|
import faviconUrl from "./assets/favicon.png"
|
||||||
|
|
||||||
export const meta: MetaFunction = () => ({
|
export const meta: MetaFunction = () => ({
|
||||||
title: "Reacord",
|
title: "Reacord",
|
||||||
@@ -20,7 +21,7 @@ export const meta: MetaFunction = () => ({
|
|||||||
})
|
})
|
||||||
|
|
||||||
export const links: LinksFunction = () => [
|
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: tailwindCss },
|
||||||
{ rel: "stylesheet", href: prismThemeCss },
|
{ rel: "stylesheet", href: prismThemeCss },
|
||||||
{ rel: "preconnect", href: "https://fonts.googleapis.com" },
|
{ rel: "preconnect", href: "https://fonts.googleapis.com" },
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import packageJson from "reacord/package.json"
|
import packageJson from "reacord/package.json"
|
||||||
|
import dotsBackgroundUrl from "~/assets/dots-background.svg"
|
||||||
import { AppFooter } from "~/modules/app/app-footer"
|
import { AppFooter } from "~/modules/app/app-footer"
|
||||||
import LandingExample from "~/modules/landing/landing-example.mdx"
|
import LandingExample from "~/modules/landing/landing-example.mdx"
|
||||||
import { MainNavigation } from "~/modules/navigation/main-navigation"
|
import { MainNavigation } from "~/modules/navigation/main-navigation"
|
||||||
@@ -6,7 +7,12 @@ import { maxWidthContainer } from "~/modules/ui/components"
|
|||||||
|
|
||||||
export default function Landing() {
|
export default function Landing() {
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col min-w-0 min-h-screen text-center pb-4">
|
<>
|
||||||
|
<div
|
||||||
|
className="fixed inset-0 rotate-6 scale-125 opacity-20"
|
||||||
|
style={{ backgroundImage: `url(${dotsBackgroundUrl})` }}
|
||||||
|
/>
|
||||||
|
<div className="flex flex-col relative min-w-0 min-h-screen text-center pb-4">
|
||||||
<header className={maxWidthContainer}>
|
<header className={maxWidthContainer}>
|
||||||
<MainNavigation />
|
<MainNavigation />
|
||||||
</header>
|
</header>
|
||||||
@@ -27,5 +33,6 @@ export default function Landing() {
|
|||||||
</div>
|
</div>
|
||||||
<AppFooter />
|
<AppFooter />
|
||||||
</div>
|
</div>
|
||||||
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user