Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: test transitions #1868

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions website/src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
import { Banner } from '../components/common/Banner';
import { getWebsiteConfig } from '../config';
import 'react-toastify/dist/ReactToastify.css';
import { navigationItems } from '../routes/navigationItems';

Check failure on line 10 in website/src/layouts/BaseLayout.astro

View workflow job for this annotation

GitHub Actions / Check format and types

There should be at least one empty line between import groups
import { ViewTransitions } from 'astro:transitions';

Check failure on line 11 in website/src/layouts/BaseLayout.astro

View workflow job for this annotation

GitHub Actions / Check format and types

`astro:transitions` import should occur before import of `react-toastify`

const websiteConfig = getWebsiteConfig();
const { name: websiteName, logo, bannerMessage, additionalHeadHTML } = websiteConfig;
Expand All @@ -22,6 +23,7 @@

<html lang='en'>
<head>
<ViewTransitions />
<meta charset='utf-8' />
<link rel='icon' type='image/svg+xml' href='/favicon.svg' />
<link rel='preload' as='image' href='/favicon.svg' />
Expand All @@ -31,6 +33,7 @@
<Fragment set:html={additionalHeadHTML} />
</head>
<body>

<Banner message={bannerMessage} />
<div class='flex flex-col min-h-screen w-11/12 mx-auto'>
<ToastContainer client:load />
Expand Down
Loading