Compare commits
2
Commits
e21219aba6
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
809e51bae0
|
||
|
|
70bf783ca8
|
No files matched your search
@@ -22,7 +22,9 @@ jobs:
|
||||
path: |
|
||||
node_modules/.astro/
|
||||
node_modules/.vite/
|
||||
key: ${{ runner.os }}-buildcache
|
||||
key: ${{ runner.os }}-buildcache-${{ hashFiles('package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-buildcache-
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v5
|
||||
@@ -33,11 +35,15 @@ jobs:
|
||||
- name: Install
|
||||
shell: "bash"
|
||||
working-directory: .
|
||||
run: npm install
|
||||
run: npm ci
|
||||
|
||||
- name: Build
|
||||
shell: "bash"
|
||||
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
|
||||
|
||||
- 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: {
|
||||
shikiConfig: {
|
||||
|
||||
@@ -62,6 +62,8 @@ import TextLink from "@components/TextLink.astro";
|
||||
</footer>
|
||||
|
||||
<script is:inline data-astro-rerun>
|
||||
{
|
||||
const year = document.getElementById("footer-year");
|
||||
if (year) year.innerText = new Date().getFullYear();
|
||||
}
|
||||
</script>
|
||||
@@ -171,12 +171,14 @@ const playerArtworkOpacity = 0.4;
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex flex-grow flex-col text-sm">
|
||||
<div class="flex min-w-0 flex-grow flex-col text-sm">
|
||||
<span
|
||||
id="player:metadata:title"
|
||||
class="w-full text-right font-semibold"></span>
|
||||
<span id="player:metadata:subtitle" class="w-full text-right"></span>
|
||||
<span id="player:metadata:extra" class="w-full text-right"></span>
|
||||
class="w-full truncate text-right font-semibold"></span>
|
||||
<span id="player:metadata:subtitle" class="w-full truncate text-right"
|
||||
></span>
|
||||
<span id="player:metadata:extra" class="w-full truncate text-right"
|
||||
></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -26,7 +26,7 @@ import MainHead from "@layouts/MainHead.astro";
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<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} />
|
||||
<main class="grow bg-white dark:bg-gray-950">
|
||||
<slot />
|
||||
|
||||
+11
-5
@@ -53,7 +53,7 @@ const tracks = (
|
||||
---
|
||||
|
||||
<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">
|
||||
<ImageCarousel
|
||||
id="hero"
|
||||
@@ -68,8 +68,7 @@ const tracks = (
|
||||
<h1
|
||||
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.last}
|
||||
{person.names.first}{" "}{person.names.last}
|
||||
</h1>
|
||||
<h2
|
||||
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"
|
||||
>
|
||||
{
|
||||
awardsDoubled.map((award) => {
|
||||
return <AwardCard award={award} />;
|
||||
awardsDoubled.map((award, index) => {
|
||||
// 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>
|
||||
|
||||
Reference in new issue
Block a user