Commit a811e906 authored by Stefan Probst's avatar Stefan Probst
Browse files

style: backdrop

parent 78c34a67
Pipeline #290459 passed with stages
in 9 minutes and 31 seconds
......@@ -5,9 +5,20 @@
align-items: start;
justify-items: center;
background-color: var(--color-backdrop-muted);
animation: fade-in forwards var(--animation-duration);
inset: 0;
}
@keyframes fade-in {
from {
opacity: 0%;
}
to {
opacity: 100%;
}
}
.container {
position: relative;
display: grid;
......
import Head from 'next/head'
import { createUrl } from '@/data/sshoc/lib/client'
export function PreloadData(): JSX.Element {
return (
<Head>
<link
rel="preload"
as="fetch"
href={String(createUrl({ pathname: '/api/items-categories' }))}
crossOrigin="anonymous"
type="application/json"
/>
</Head>
<link
rel="preload"
as="fetch"
href={String(createUrl({ pathname: '/api/items-categories' }))}
crossOrigin="anonymous"
type="application/json"
/>
)
}
......@@ -3,9 +3,20 @@
z-index: var(--z-index-dialog);
display: flex;
justify-content: flex-end;
animation: fade-in forwards var(--animation-duration);
inset: 0;
}
@keyframes fade-in {
from {
opacity: 0%;
}
to {
opacity: 100%;
}
}
.container {
display: grid;
align-content: start;
......
......@@ -19,7 +19,9 @@ export default function Document(): JSX.Element {
<InitialThemeScript />
{isNonEmptyString(googleSiteId) ? (
<meta name="google-site-verification" content={googleSiteId} />
) : null}
) : (
<meta name="google-site-verification" content={googleSiteId} />
)}
</Head>
<body>
<Main />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment