Compare commits
2
Commits
e21219aba6
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
809e51bae0
|
||
|
|
70bf783ca8
|
No files matched your search
@@ -22,7 +22,9 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
node_modules/.astro/
|
node_modules/.astro/
|
||||||
node_modules/.vite/
|
node_modules/.vite/
|
||||||
key: ${{ runner.os }}-buildcache
|
key: ${{ runner.os }}-buildcache-${{ hashFiles('package-lock.json') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-buildcache-
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v5
|
uses: actions/setup-node@v5
|
||||||
@@ -33,11 +35,15 @@ jobs:
|
|||||||
- name: Install
|
- name: Install
|
||||||
shell: "bash"
|
shell: "bash"
|
||||||
working-directory: .
|
working-directory: .
|
||||||
run: npm install
|
run: npm ci
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: "bash"
|
shell: "bash"
|
||||||
working-directory: .
|
working-directory: .
|
||||||
|
env:
|
||||||
|
# Bound libuv/sharp thread usage: the builder is small and
|
||||||
|
# full parallelism OOMs it. Raise if the host grows.
|
||||||
|
UV_THREADPOOLSIZE: 4
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Set up SSH
|
- name: Set up SSH
|
||||||
|
|||||||
+14
-1
@@ -32,7 +32,20 @@ export default defineConfig({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
integrations: [icon(), mdx(), sitemap(), robotsTxt()],
|
integrations: [
|
||||||
|
icon(),
|
||||||
|
mdx(),
|
||||||
|
sitemap(),
|
||||||
|
robotsTxt({
|
||||||
|
policy: [
|
||||||
|
{
|
||||||
|
userAgent: "*",
|
||||||
|
allow: "/",
|
||||||
|
disallow: "/api/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
})
|
||||||
|
],
|
||||||
|
|
||||||
markdown: {
|
markdown: {
|
||||||
shikiConfig: {
|
shikiConfig: {
|
||||||
|
|||||||
@@ -62,6 +62,8 @@ import TextLink from "@components/TextLink.astro";
|
|||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script is:inline data-astro-rerun>
|
<script is:inline data-astro-rerun>
|
||||||
|
{
|
||||||
const year = document.getElementById("footer-year");
|
const year = document.getElementById("footer-year");
|
||||||
if (year) year.innerText = new Date().getFullYear();
|
if (year) year.innerText = new Date().getFullYear();
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -171,12 +171,14 @@ const playerArtworkOpacity = 0.4;
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-grow flex-col text-sm">
|
<div class="flex min-w-0 flex-grow flex-col text-sm">
|
||||||
<span
|
<span
|
||||||
id="player:metadata:title"
|
id="player:metadata:title"
|
||||||
class="w-full text-right font-semibold"></span>
|
class="w-full truncate text-right font-semibold"></span>
|
||||||
<span id="player:metadata:subtitle" class="w-full text-right"></span>
|
<span id="player:metadata:subtitle" class="w-full truncate text-right"
|
||||||
<span id="player:metadata:extra" class="w-full text-right"></span>
|
></span>
|
||||||
|
<span id="player:metadata:extra" class="w-full truncate text-right"
|
||||||
|
></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ import MainHead from "@layouts/MainHead.astro";
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<MainHead {title} {subtitle} {description} {image} />
|
<MainHead {title} {subtitle} {description} {image} />
|
||||||
<body class="flex min-h-svh flex-col">
|
<body class="flex min-h-svh flex-col overflow-x-clip">
|
||||||
<Navbar {navbarDisplay} />
|
<Navbar {navbarDisplay} />
|
||||||
<main class="grow bg-white dark:bg-gray-950">
|
<main class="grow bg-white dark:bg-gray-950">
|
||||||
<slot />
|
<slot />
|
||||||
|
|||||||
+11
-5
@@ -53,7 +53,7 @@ const tracks = (
|
|||||||
---
|
---
|
||||||
|
|
||||||
<MainLayout navbarDisplay="transparent">
|
<MainLayout navbarDisplay="transparent">
|
||||||
<div class="h-screen w-full flex-row">
|
<div class="min-h-svh w-full flex-row">
|
||||||
<div class="absolute inset-0 h-full w-full bg-black">
|
<div class="absolute inset-0 h-full w-full bg-black">
|
||||||
<ImageCarousel
|
<ImageCarousel
|
||||||
id="hero"
|
id="hero"
|
||||||
@@ -68,8 +68,7 @@ const tracks = (
|
|||||||
<h1
|
<h1
|
||||||
class="font-header pb-8 text-5xl font-medium text-white uppercase text-shadow-lg/75 md:text-7xl lg:text-9xl"
|
class="font-header pb-8 text-5xl font-medium text-white uppercase text-shadow-lg/75 md:text-7xl lg:text-9xl"
|
||||||
>
|
>
|
||||||
{person.names.first}
|
{person.names.first}{" "}{person.names.last}
|
||||||
{person.names.last}
|
|
||||||
</h1>
|
</h1>
|
||||||
<h2
|
<h2
|
||||||
class="font-header text-2xl font-medium text-gray-300 uppercase text-shadow-lg/75 md:text-2xl lg:text-4xl"
|
class="font-header text-2xl font-medium text-gray-300 uppercase text-shadow-lg/75 md:text-2xl lg:text-4xl"
|
||||||
@@ -186,8 +185,15 @@ const tracks = (
|
|||||||
class="animate-scrolling-awards m-0 mx-auto flex max-w-md flex-col space-y-8 p-0"
|
class="animate-scrolling-awards m-0 mx-auto flex max-w-md flex-col space-y-8 p-0"
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
awardsDoubled.map((award) => {
|
awardsDoubled.map((award, index) => {
|
||||||
return <AwardCard award={award} />;
|
// Second copy only feeds the scrolling loop: hide it from assistive tech so awards are not announced twice.
|
||||||
|
return index < awards.length ? (
|
||||||
|
<AwardCard award={award} />
|
||||||
|
) : (
|
||||||
|
<span aria-hidden="true" class="block">
|
||||||
|
<AwardCard award={award} />
|
||||||
|
</span>
|
||||||
|
);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user