Skip to content

Commit

Permalink
moved styles? was relative import broken?
Browse files Browse the repository at this point in the history
  • Loading branch information
swalker326 committed Aug 2, 2024
1 parent b949701 commit 169334e
Show file tree
Hide file tree
Showing 2 changed files with 1,130 additions and 42 deletions.
43 changes: 1 addition & 42 deletions app/root.tsx
Original file line number Diff line number Diff line change
@@ -1,52 +1,11 @@
// import type { LinksFunction, MetaFunction } from "@remix-run/node";
// import {
// Links,
// LiveReload,
// Meta,
// Outlet,
// Scripts,
// ScrollRestoration,
// } from "@remix-run/react";

// import tailwindStylesheetUrl from "./styles/tailwind.css";
// import { withSentry } from "@sentry/remix";

// export const links: LinksFunction = () => {
// return [{ rel: "stylesheet", href: tailwindStylesheetUrl }];
// };

// export const meta: MetaFunction = () => ({
// charset: "utf-8",
// title: "Giffer",
// viewport: "width=device-width,initial-scale=1",
// });

// function App() {
// return (
// <html lang="en" className="h-full">
// <head>
// <Meta />
// <Links />
// </head>
// <body className="h-full">
// <Outlet />
// <ScrollRestoration />
// <Scripts />
// <LiveReload />
// </body>
// </html>
// );
// }
// export default withSentry(App);

import {
Links,
Meta,
Outlet,
Scripts,
ScrollRestoration,
} from "@remix-run/react";
import "./styles/tailwind.css";
import "~/tailwind.css";

export function Layout({ children }: { children: React.ReactNode }) {
return (
Expand Down
Loading

0 comments on commit 169334e

Please sign in to comment.