Commit 78c34a67 authored by Stefan Probst's avatar Stefan Probst
Browse files

style: underlay transition

parent fb6ba175
Pipeline #290457 passed with stages
in 9 minutes and 10 seconds
......@@ -3,7 +3,7 @@ include:
# All variables are passed into the Docker build context via `AUTO_DEVOPS_BUILD_IMAGE_EXTRA_ARGS`,
# which is set in the GitLab UI:
# `--build-arg NEXT_PUBLIC_BASE_URL --build-arg NEXT_PUBLIC_SSHOC_API_BASE_URL --build-arg GITLAB_ACCESS_TOKEN --build-arg NEXT_PUBLIC_GITLAB_PROJECT_ID --build-arg NEXT_PUBLIC_GITLAB_REPOSITORY_CURRENT_BRANCH --build-arg NEXT_PUBLIC_GITLAB_BASE_URL --build-arg NEXT_PUBLIC_GITLAB_REPOSITORY --build-arg NEXT_PUBLIC_GITLAB_REPOSITORY_BRANCH --build-arg NEXT_PUBLIC_GITLAB_APP_ID --build-arg NEXT_PUBLIC_MATOMO_BASE_URL --build-arg NEXT_PUBLIC_MATOMO_APP_ID`.
# `--build-arg NEXT_PUBLIC_BASE_URL --build-arg NEXT_PUBLIC_SSHOC_API_BASE_URL --build-arg GITLAB_ACCESS_TOKEN --build-arg NEXT_PUBLIC_GITLAB_PROJECT_ID --build-arg NEXT_PUBLIC_GITLAB_REPOSITORY_CURRENT_BRANCH --build-arg NEXT_PUBLIC_GITLAB_BASE_URL --build-arg NEXT_PUBLIC_GITLAB_REPOSITORY --build-arg NEXT_PUBLIC_GITLAB_REPOSITORY_BRANCH --build-arg NEXT_PUBLIC_GITLAB_APP_ID --build-arg NEXT_PUBLIC_MATOMO_BASE_URL --build-arg NEXT_PUBLIC_MATOMO_APP_ID --build-arg NEXT_PUBLIC_GOOGLE_SITE_ID`.
build:
variables:
GITLAB_ACCESS_TOKEN: $GITLAB_ACCESS_TOKEN
......
......@@ -5,3 +5,5 @@ export const webManifest = 'site.webmanifest'
export const openGraphImageName = 'open-graph.webp'
export const toastAutoCloseDelay = 7500
export const googleSiteId = process.env['NEXT_PUBLIC_GOOGLE_SITE_ID']
......@@ -6,4 +6,15 @@
}
.underlay[data-open='true'] {
animation: fade-in forwards var(--animation-duration);
}
@keyframes fade-in {
from {
opacity: 0%;
}
to {
opacity: 100%;
}
}
......@@ -3,8 +3,7 @@ import { Head, Html, Main, NextScript } from 'next/document'
import { PreloadData } from '@/lib/core/app/PreloadData'
import { isNonEmptyString } from '@/lib/utils'
const googleSiteId = process.env['NEXT_PUBLIC_GOOGLE_SITE_ID']
import { googleSiteId } from '~/config/site.config'
export default function Document(): JSX.Element {
return (
......@@ -19,10 +18,7 @@ export default function Document(): JSX.Element {
<PreloadData />
<InitialThemeScript />
{isNonEmptyString(googleSiteId) ? (
<meta
name="google-site-verification"
content={process.env['NEXT_PUBLIC_GOOGLE_SITE_ID']}
/>
<meta name="google-site-verification" content={googleSiteId} />
) : null}
</Head>
<body>
......
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