feat(website): add some styling

This commit is contained in:
iCrawl
2022-06-08 23:40:03 +02:00
parent 3937b402c0
commit 3ae2633c3f
3 changed files with 16 additions and 1 deletions

View File

@@ -1,10 +1,12 @@
import type { MetaFunction, LinksFunction } from '@remix-run/node';
import { Links, LiveReload, Meta, Outlet, Scripts, ScrollRestoration } from '@remix-run/react';
import unocssReset from '@unocss/reset/normalize.css';
import maincss from './styles/main.css';
import unocss from './styles/unocss.css';
export const links: LinksFunction = () => [
{ rel: 'stylesheet', href: unocssReset },
{ rel: 'stylesheet', href: maincss },
{ rel: 'stylesheet', href: unocss },
];

View File

@@ -1,3 +1,9 @@
export default function IndexRoute() {
return <div className="text-2xl">Hello World</div>;
return (
<main className="w-full h-screen">
<div className="h-screen grid place-content-center">
<h1 className="">Coming soon...</h1>
</div>
</main>
);
}

View File

@@ -0,0 +1,7 @@
html,
body {
height: 100vh;
margin: 0;
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial,
Noto Sans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', Segoe UI Symbol, 'Noto Color Emoji';
}