Skip to content

Commit

Permalink
add prerender
Browse files Browse the repository at this point in the history
  • Loading branch information
bjohansebas committed Jun 21, 2024
1 parent eb20e48 commit 7003e98
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
---
export const prerender = true;
import Layout from "@/layouts/main.astro";
import Hero from "@/components/landing/Hero.astro";
import Projects from "@/components/landing/Projects.astro";
import Contact from "@ui/landing/Contact.astro";
import { Github } from "lucide-astro";
import { getLangFromUrl, useTranslations } from "@/i18n/utils";
const lang = getLangFromUrl(Astro.url);
const t = useTranslations(lang);
---

<Layout
Expand Down

0 comments on commit 7003e98

Please sign in to comment.