Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3 from zmillman/ui-library
Browse files Browse the repository at this point in the history
Add radix themes to root route
  • Loading branch information
zmillman authored May 4, 2024
2 parents c99f355 + f6af95f commit e209d5e
Show file tree
Hide file tree
Showing 6 changed files with 1,616 additions and 129 deletions.
19 changes: 0 additions & 19 deletions app/root.jsx

This file was deleted.

32 changes: 32 additions & 0 deletions app/root.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import { Links, Meta, MetaFunction, Outlet, Scripts } from "@remix-run/react";
import type { LinksFunction } from "@remix-run/node";
import "@radix-ui/themes/styles.css";
import { Button, Theme } from "@radix-ui/themes";

export const links: LinksFunction = () => {
return [{ rel: "icon", href: "/favicon-32.png" }];
};

export const meta: MetaFunction = () => {
return [{title: "Remix Enterprise"}]
}

export default function App() {
return (
<html>
<head>
<link rel="icon" href="data:image/x-icon;base64,AA" />
<Meta />
<Links />
</head>
<body>
<Theme>
<Button>Hey world 👋</Button>
<Outlet />

<Scripts />
</Theme>
</body>
</html>
);
}
Loading

0 comments on commit e209d5e

Please sign in to comment.