diff --git a/GameCult/Pitch.md b/GameCult/Pitch.md
index eadb8cd..69cec26 100644
--- a/GameCult/Pitch.md
+++ b/GameCult/Pitch.md
@@ -2,7 +2,6 @@
title: Portfolio Pitch
description: "Interactive GameCult portfolio pitch: Personas sell the absurd upside of their favourite projects while Void keeps the receipts in reach."
enableToc: false
-showCompositeJump: false
cssclasses:
- gamecult-pitch-route
sidebarGroups:
diff --git a/GameCult/index.md b/GameCult/index.md
index 1e8ef06..adc92a1 100644
--- a/GameCult/index.md
+++ b/GameCult/index.md
@@ -2,7 +2,6 @@
title: GameCult
description: "GameCult builds games, creative tools, and AI systems with memory, agency, and someone you can argue with."
enableToc: false
-showCompositeJump: false
sidebarGroups:
- title: Studio
links:
diff --git a/GameCult/tour.md b/GameCult/tour.md
index 7ab692b..9d7687f 100644
--- a/GameCult/tour.md
+++ b/GameCult/tour.md
@@ -2,7 +2,6 @@
title: GameCult Tour
description: "A full-screen visual novel tour through GameCult's public wiki, project rooms, repo swarm, and serious machinery."
enableToc: false
-showCompositeJump: false
sidebarGroups:
- title: Studio
links:
@@ -58,8 +57,6 @@ sidebarGroups:
slug: Docs/Site-Architecture
- label: Bifrost
slug: Docs/Bifrost
-cssclasses:
- - gamecult-composite-overview
---
= 0) {
- const node = children[firstMeaningfulIndex]
- if (isElement(node) && node.tagName === "h1") {
- children.splice(firstMeaningfulIndex, 1)
- }
- }
-
- let leadFigure: Element | undefined
- for (let i = 0; i < children.length; i++) {
- const node = children[i]
- if (node.type === "text" && node.value.trim().length === 0) {
- continue
- }
-
- if (isElement(node) && node.tagName === "figure") {
- leadFigure = node
- children.splice(i, 1)
- }
- break
- }
-
- const normalizedChildren = children.map((child) =>
- normalizeHastElement(child as Element, parentSlug, file.slug as FullSlug),
- ) as ElementContent[]
-
- const sectionRoot: Root = {
- type: "root",
- children: normalizedChildren,
- }
-
- const normalizedFigure = leadFigure
- ? normalizeHastElement(leadFigure, parentSlug, file.slug as FullSlug)
- : undefined
-
- const figureRoot: Root | undefined = normalizedFigure
- ? {
- type: "root",
- children: [normalizedFigure],
- }
- : undefined
-
- return {
- content: htmlToJsx(file.filePath, sectionRoot) as ComponentChildren,
- leadFigure: figureRoot ? (htmlToJsx(file.filePath, figureRoot) as ComponentChildren) : undefined,
- sectionId: file.slug.split("/").at(-1)?.toLowerCase() ?? "section",
- slug: file.slug as FullSlug,
- title: file.frontmatter?.title ?? file.slug.split("/").at(-1) ?? "Section",
- }
-}
-
-function getCompositeSections(
- renderSlug: FullSlug,
- sourceFile: QuartzPluginData,
- allFiles: QuartzPluginData[],
-): CompositeSection[] {
- const sourceSlug = sourceFile.slug as FullSlug | undefined
- const configured = sourceFile.frontmatter?.compositeSections
-
- if (!renderSlug || !sourceSlug || !Array.isArray(configured) || configured.length === 0) {
- return []
- }
-
- const bySlug = new Map(
- allFiles
- .filter((file) => typeof file.slug === "string")
- .map((file) => [file.slug as FullSlug, file]),
- )
-
- return configured
- .map((entry) =>
- typeof entry === "string" ? resolveGameCultReferenceSlug(sourceSlug, entry) : undefined,
- )
- .filter((entry): entry is FullSlug => entry !== undefined)
- .map((slug) => bySlug.get(slug))
- .filter((file): file is QuartzPluginData => file !== undefined)
- .map((file) => buildSectionContent(renderSlug, file))
- .filter((section): section is CompositeSection => section !== undefined)
-}
-
export default ((opts?: Partial
) => {
const options: Options = { ...defaultOptions, ...opts }
const DefaultFolderContent = FolderContent()
@@ -205,61 +97,20 @@ export default ((opts?: Partial) => {
const classes: string[] =
sourceFile.frontmatter?.cssclasses ?? fileData.frontmatter?.cssclasses ?? []
const articleClass = ["popover-hint", ...classes].join(" ")
- const sections = renderSlug ? getCompositeSections(renderSlug, sourceFile, allFiles) : []
- const showCompositeJump = sourceFile.frontmatter?.showCompositeJump !== false
if (options.fallback === "folder" && renderSlug === ("Blog/index" as FullSlug)) {
return
}
- if (sections.length === 0) {
- if (options.fallback === "folder" && sourceFile.frontmatter?.showFolderListing === false) {
- return {baseContent}
- }
-
- if (options.fallback === "folder") {
- return
- }
-
+ if (options.fallback === "folder" && sourceFile.frontmatter?.showFolderListing === false) {
return {baseContent}
}
- return (
-
-
{baseContent}
- {showCompositeJump && (
-
- )}
-
- {sections.map((section) => (
-
- ))}
-
-
- )
+ if (options.fallback === "folder") {
+ return
+ }
+
+ return {baseContent}
}
return GameCultCompositeContent
diff --git a/site/quartz/styles/custom.scss b/site/quartz/styles/custom.scss
index 272c582..c3c04fb 100644
--- a/site/quartz/styles/custom.scss
+++ b/site/quartz/styles/custom.scss
@@ -1745,155 +1745,6 @@ body[data-slug="Pitch"] .gamecult-compound-vn .sai-speaker-stage.has-dom-cards {
white-space: nowrap;
}
-body[data-slug="tour"] .gamecult-composite-sections {
- margin-top: 1rem;
-}
-
-.gamecult-composite-page {
- display: flex;
- flex-direction: column;
- gap: 1rem;
-}
-
-.gamecult-composite-overview > h2,
-.gamecult-composite-overview > ul {
- display: none;
-}
-
-.gamecult-composite-jump {
- display: flex;
- flex-wrap: wrap;
- gap: 0.65rem;
- margin: 0;
- padding: 0 0.15rem;
-}
-
-.gamecult-composite-sections {
- display: flex;
- flex-direction: column;
- gap: 1.45rem;
-}
-
-.gamecult-composite-section {
- position: relative;
- padding-top: 0;
-}
-
-.gamecult-composite-divider {
- display: none;
-}
-
-.gamecult-composite-shell {
- display: grid;
- grid-template-columns: minmax(0, 1fr);
- gap: 1rem;
- padding: 1.1rem;
- border-radius: 24px;
- border: 1px solid rgba(89, 183, 255, 0.14);
- background: linear-gradient(
- 180deg,
- rgba(8, 13, 21, 0.8),
- rgba(8, 13, 21, 0.72)
- );
- overflow: hidden;
- container-type: inline-size;
- box-shadow:
- 0 22px 44px rgba(0, 0, 0, 0.2),
- inset 0 1px 0 rgba(255, 255, 255, 0.03);
- backdrop-filter: blur(14px);
-}
-
-.gamecult-composite-shell.has-media {
- display: grid;
- grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
- gap: 1.25rem;
- align-items: start;
-}
-
-.gamecult-composite-media {
- min-width: 0;
- align-self: start;
- max-width: 100%;
-}
-
-.gamecult-composite-media > figure {
- margin: 0;
- width: 100%;
-}
-
-.gamecult-composite-media > figure.gamecult-media-card {
- display: block;
-}
-
-.gamecult-composite-media > figure img {
- min-height: 280px;
-}
-
-.gamecult-composite-copy {
- display: flex;
- flex-direction: column;
- gap: 0.9rem;
- min-width: 0;
- padding: 0.15rem 0.1rem 0.2rem;
-}
-
-.gamecult-composite-header {
- display: block;
- margin: 0;
- padding: 0.8rem 0.95rem 0.85rem;
- border: 1px solid rgba(89, 183, 255, 0.1);
- border-radius: 20px;
- background: linear-gradient(
- 135deg,
- rgba(10, 16, 24, 0.9),
- rgba(17, 24, 35, 0.82)
- );
- box-shadow:
- 0 14px 28px rgba(0, 0, 0, 0.16),
- inset 0 1px 0 rgba(255, 255, 255, 0.03);
- min-width: 0;
-}
-
-.gamecult-composite-header h2 {
- margin: 0;
- color: var(--dark);
- font-family: var(--titleFont);
- font-size: clamp(1.4rem, 2.1vw, 2rem);
- font-weight: 200;
- line-height: 0.92;
- letter-spacing: 0.04em;
- text-transform: uppercase;
-}
-
-.gamecult-composite-header > *,
-.gamecult-composite-body,
-.gamecult-composite-copy {
- min-width: 0;
-}
-
-.gamecult-composite-body > :first-child {
- margin-top: 0;
-}
-
-.gamecult-composite-body figure {
- margin-left: 0;
- margin-right: 0;
-}
-
-.gamecult-composite-body {
- padding: 0 0.2rem;
-}
-
-@container (max-width: 58rem) {
- .gamecult-composite-shell.has-media {
- grid-template-columns: minmax(0, 1fr);
- }
-
- .gamecult-composite-media > figure {
- max-width: 32rem;
- }
-}
-
.gamecult-home-hero {
display: grid;
grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
@@ -2203,28 +2054,6 @@ body[data-slug="tour"] .gamecult-composite-sections {
}
@media all and ($mobile) {
- .gamecult-composite-header {
- padding: 0.75rem 0.8rem 0.8rem;
- }
-
- .gamecult-composite-body {
- padding: 0;
- }
-
- .gamecult-composite-shell,
- .gamecult-composite-shell.has-media {
- grid-template-columns: minmax(0, 1fr);
- padding: 0.95rem;
- }
-
- .gamecult-composite-divider {
- display: none;
- }
-
- .gamecult-composite-header {
- align-items: start;
- }
-
.gamecult-feature-grid {
grid-template-columns: minmax(0, 1fr);
}