chore: rename to template
This commit is contained in:
parent
063dfe39e9
commit
c011186c37
46 changed files with 143 additions and 142 deletions
19
apps/remix-template/app/routes/_index.tsx
Normal file
19
apps/remix-template/app/routes/_index.tsx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import { CounterButton } from "@repo/ui/counter-button";
|
||||
import { Link } from "@repo/ui/link";
|
||||
|
||||
export default function Index() {
|
||||
return (
|
||||
<div className="container">
|
||||
<h1 className="title">
|
||||
Blog <br />
|
||||
<span>Kitchen Sink</span>
|
||||
</h1>
|
||||
<CounterButton />
|
||||
<p className="description">
|
||||
Built With <Link href="https://turborepo.com">Turborepo</Link>
|
||||
{" & "}
|
||||
<Link href="https://remix.run/">Remix</Link>
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
15
apps/remix-template/app/routes/edge.tsx
Normal file
15
apps/remix-template/app/routes/edge.tsx
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import type { MetaFunction } from "@vercel/remix";
|
||||
|
||||
export const config = { runtime: "edge" };
|
||||
|
||||
export const meta: MetaFunction = () => [
|
||||
{ title: "Remix@Edge | New Remix App" },
|
||||
];
|
||||
|
||||
export default function Edge() {
|
||||
return (
|
||||
<div style={{ fontFamily: "system-ui, sans-serif", lineHeight: "1.4" }}>
|
||||
<h1>Welcome to Remix@Edge</h1>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue