2023-07-26 13:47:01 +02:00
|
|
|
import { Head } from "$fresh/runtime.ts";
|
2023-07-30 18:27:45 +02:00
|
|
|
import { MainLayout } from "@components/layouts/main.tsx";
|
|
|
|
import { Card } from "@components/Card.tsx";
|
2023-07-30 21:43:09 +02:00
|
|
|
import { PageProps } from "$fresh/server.ts";
|
2023-07-26 13:47:01 +02:00
|
|
|
|
2023-07-30 21:43:09 +02:00
|
|
|
export default function Home(props: PageProps) {
|
2023-07-26 13:47:01 +02:00
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<Head>
|
|
|
|
<title>app</title>
|
|
|
|
</Head>
|
2023-07-30 21:43:09 +02:00
|
|
|
<MainLayout url={props.url}>
|
2023-07-30 18:27:45 +02:00
|
|
|
<div class="flex flex-wrap justify-center items-center gap-4 px-4">
|
|
|
|
<Card
|
2023-07-30 23:55:51 +02:00
|
|
|
title="🍽️ Recipes"
|
|
|
|
image="/placeholder.svg"
|
2023-07-30 18:27:45 +02:00
|
|
|
link="/recipes"
|
2023-07-26 13:47:01 +02:00
|
|
|
/>
|
2023-07-30 23:55:51 +02:00
|
|
|
<Card
|
|
|
|
title="🍿 Movies"
|
|
|
|
image="/placeholder.svg"
|
|
|
|
link="/movies"
|
|
|
|
/>
|
2023-07-26 13:47:01 +02:00
|
|
|
</div>
|
2023-07-30 18:27:45 +02:00
|
|
|
</MainLayout>
|
2023-07-26 13:47:01 +02:00
|
|
|
</>
|
|
|
|
);
|
|
|
|
}
|