Overhauls the Fresh homepage with a new design, new demos, and new sections highlighting Fresh's capabilities. --------- Co-authored-by: Marvin Hagemeister <marvin@deno.com>
25 lines
603 B
TypeScript
25 lines
603 B
TypeScript
import { PageProps } from "$fresh/server.ts";
|
|
|
|
export default function App({ Component }: PageProps) {
|
|
return (
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>My Fresh app</title>
|
|
<link
|
|
rel="preload"
|
|
href="/fonts/FixelVariable.woff2"
|
|
as="font"
|
|
type="font/woff2"
|
|
crossorigin="true"
|
|
/>
|
|
<link rel="stylesheet" href="/styles.css" />
|
|
</head>
|
|
<body>
|
|
<Component />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|