Disable SPA and harden homepage header

This commit is contained in:
Meta Vens 2026-04-21 21:31:55 +01:00
commit fb2af2f75d
3 changed files with 17 additions and 9 deletions

View file

@ -11,7 +11,7 @@ const config: QuartzConfig = {
configuration: {
pageTitle: "GameCult",
pageTitleSuffix: "",
enableSPA: true,
enableSPA: false,
enablePopovers: true,
analytics: null,
locale: "en-GB",

View file

@ -125,12 +125,13 @@ export default (() => {
<a
href={link.href}
class="gamecult-nav-icon"
style={{ width: "5rem", height: "5rem" }}
target="_blank"
rel="noreferrer noopener"
aria-label={link.label}
title={link.label}
>
<svg viewBox={link.icon.viewBox} aria-hidden="true">
<svg viewBox={link.icon.viewBox} width="64" height="64" aria-hidden="true">
<path d={link.icon.path} />
</svg>
</a>

View file

@ -187,29 +187,30 @@ body {
display: flex;
align-items: flex-start;
align-self: flex-start;
gap: 1.15rem;
gap: 1.25rem;
margin-left: auto;
flex: 0 0 auto;
padding-top: 0.15rem;
padding-top: 0;
}
.gamecult-nav-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 4.35rem;
height: 4.35rem;
width: 5rem;
height: 5rem;
padding: 0;
line-height: 0;
color: rgba(236, 242, 250, 0.96);
flex: 0 0 auto;
}
.gamecult-nav-icon svg {
display: block;
width: 3.4rem;
height: 3.4rem;
width: 4rem;
height: 4rem;
fill: currentColor;
filter: drop-shadow(0 0 0.55rem rgba(89, 183, 255, 0.28));
filter: drop-shadow(0 0 0.7rem rgba(89, 183, 255, 0.32));
}
.gamecult-nav-icon:hover {
@ -557,6 +558,12 @@ a:hover,
line-height: 1.5;
}
body[data-slug="index"] .gamecult-composite-overview > h2:has(+ .gamecult-link-grid),
body[data-slug="index"] .gamecult-composite-overview > h3:has(+ .gamecult-link-grid),
body[data-slug="index"] .gamecult-composite-overview > .gamecult-link-grid {
display: none !important;
}
.gamecult-composite-page {
display: flex;
flex-direction: column;