Layout scaffolding for Web apps.
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

41 righe
904 B

  1. import {
  2. Links,
  3. LiveReload,
  4. Meta,
  5. Outlet,
  6. Scripts,
  7. ScrollRestoration,
  8. } from "@remix-run/react";
  9. import type {LinksFunction} from '@remix-run/node';
  10. import { setup, extractCss } from '@tesseract-design/viewfinder-react';
  11. import * as React from 'react';
  12. import * as gooberPrefixer from 'goober/prefixer';
  13. import globalStylesheetUrl from './style.css';
  14. setup(React.createElement, gooberPrefixer.prefix);
  15. export const links: LinksFunction = () => {
  16. return [{ rel: "stylesheet", href: globalStylesheetUrl }];
  17. };
  18. const App = () => (
  19. <html lang="en-PH">
  20. <head>
  21. <meta charSet="utf-8" />
  22. <meta name="viewport" content="width=device-width,initial-scale=1" />
  23. <Meta />
  24. <Links />
  25. <style>{extractCss()}</style>
  26. </head>
  27. <body>
  28. <Outlet />
  29. <ScrollRestoration />
  30. <Scripts />
  31. <LiveReload />
  32. </body>
  33. </html>
  34. )
  35. export default App