Skip to content

Commit

Permalink
feat(website): add some styling
Browse files Browse the repository at this point in the history
  • Loading branch information
iCrawl committed Jun 8, 2022
1 parent 3937b40 commit 3ae2633
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/website/src/root.tsx
Original file line number Diff line number Diff line change
@@ -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 },
];

Expand Down
8 changes: 7 additions & 1 deletion packages/website/src/routes/index.tsx
Original file line number Diff line number Diff line change
@@ -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>
);
}
7 changes: 7 additions & 0 deletions packages/website/src/styles/main.css
Original file line number Diff line number Diff line change
@@ -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';
}

1 comment on commit 3ae2633

@vercel
Copy link

@vercel vercel bot commented on 3ae2633 Jun 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.