sailfork / t3code-github / .repos/ alchemy-effect/ examples/ aws-website-sveltekit/ src/ routes/ +page.svelte

<script>
  import Card from "#lib/Card.svelte";

  let { data } = $props();
</script>

<!-- Title lives on the page so the dev test's hot-reload marker rewrite
     targets this file. -->
<svelte:head>
  <title>SvelteKit on AWS</title>
</svelte:head>

<main>
  <h1 class="text-3xl font-bold">{data.greeting}</h1>
  <Card
    title="Styled with Tailwind CSS"
    body="This card is a Svelte component styled with Tailwind utilities."
  />
  <a class="mt-4 inline-block underline" href="/about">about (prerendered)</a>
</main>