Skip to content

Commit

Permalink
feature: add view transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanofa committed Nov 7, 2023
1 parent c17f8ef commit 3aee0fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/website/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const config = {
"import/no-cycle": "warn",
"import/no-duplicates": ["error"],
"import/no-named-as-default": "off",
"import/no-unresolved": ["error", { ignore: ["~icons/*", "astro:assets"] }],
"import/no-unresolved": ["error", { ignore: ["~icons/*", "astro:assets", "astro:transitions"] }],
"import/order": [
"error",
{
Expand Down
2 changes: 2 additions & 0 deletions apps/website/src/layout/base-layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import "tailwindcss/src/css/preflight.css";
import "src/tailwind.css";
import { HeadHrefLangs } from "astro-i18next/components";
import { SEO } from "astro-seo";
import { ViewTransitions } from "astro:transitions";
import i18next from "i18next";
import Footer from "@components/footer/footer.astro";
Expand Down Expand Up @@ -49,6 +50,7 @@ const { title } = Astro.props;
}}
/>
<HeadHrefLangs />
<ViewTransitions />
</head>
<body class="relative overflow-x-hidden bg-base-1 font-sans">
<Header />
Expand Down

0 comments on commit 3aee0fb

Please sign in to comment.