feat(home): self-hosted neon wordmark font
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped

Adds Tilt Neon as the Blink wordmark: handwritten neon feel with a technical edge. The font is bundled from @fontsource (no Google Fonts requests) and only used for the home logo. Also keeps the hero copy usable on short windows with the player bar visible.
This commit is contained in:
1xDed committed 2026-11-27 18:56:41 +03:00
1 parent 4a0cb46734
commit 0f80d4db4e
6 files changed
+54 -64

No files matched your search

+1
View File
@@ -23,6 +23,7 @@
"@fontsource-variable/noto-sans": "^5.3.0",
"@fontsource-variable/plus-jakarta-sans": "^5.3.0",
"@fontsource-variable/space-grotesk": "^5.3.0",
"@fontsource/tilt-neon": "^5.3.0",
"@jellyfin/sdk": "1.0.1",
"@mui/lab": "9.0.0-beta.10",
"@mui/material": "9.5.0",
+8
View File
@@ -38,6 +38,9 @@ importers:
'@fontsource-variable/space-grotesk':
specifier: ^5.3.0
version: 5.3.0
'@fontsource/tilt-neon':
specifier: ^5.3.0
version: 5.3.0
'@jellyfin/sdk':
specifier: 1.0.1
version: 1.0.1(axios@1.20.0(debug@4.4.3))
@@ -583,6 +586,9 @@ packages:
'@fontsource-variable/space-grotesk@5.3.0':
resolution: {integrity: sha512-2IxmvfB08i9vnGB3Ym/AXvhRE+8XOjWMXIyDum03c+tPwH0FUoMNQfGpU8NXPxjbws0Vvss3AH0Zqt4oJBBAdw==}
'@fontsource/tilt-neon@5.3.0':
resolution: {integrity: sha512-A9C6HZEwi8TWuLiSzJQdpeb7F3rbB+nfe5MswkiR27iZVgZ9DAAB3fORtYIkAbndhH9ydnwfOJC2oR04HXyW5w==}
'@humanfs/core@0.19.2':
resolution: {integrity: sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==}
engines: {node: '>=18.18.0'}
@@ -3608,6 +3614,8 @@ snapshots:
'@fontsource-variable/space-grotesk@5.3.0': {}
'@fontsource/tilt-neon@5.3.0': {}
'@humanfs/core@0.19.2':
dependencies:
'@humanfs/types': 0.15.0
+36
View File
@@ -454,6 +454,42 @@ body:has(.audio-player) .cinema-hero .hero-carousel-overview {
}
}
/* Short windows (and the player bar) leave little vertical room: drop the
secondary copy instead of pushing the headline under the header. */
@media (max-height: 760px) {
.cinema-hero {
height: calc(100vh - 32px);
min-height: 540px;
.hero-carousel-detail {
gap: 0.65rem;
padding-bottom: calc(var(--home-trending-space, 200px) + 1rem);
}
.hero-carousel-overview,
.hero-carousel-info {
display: none;
}
.hero-carousel-text {
max-width: 18ch;
font-size: clamp(2rem, 3.2vw, 3rem) !important;
}
.cinema-trending {
padding-top: 1rem;
}
.cinema-trending-head {
margin-bottom: 0.6rem;
}
.cinema-trending-card {
width: clamp(150px, 15vw, 220px);
}
}
}
@media (max-width: 700px) {
.cinema-hero {
min-height: 520px;
-59
View File
@@ -1,59 +0,0 @@
import type { BaseItemKind } from "@jellyfin/sdk/lib/generated-client";
import { Typography } from "@mui/material";
import React from "react";
import { getTypeIcon } from "../utils/iconsCollection";
type CarouselTickersProps = {
imageUrl?: string | undefined | null;
itemName: string;
itemYear: string;
onTickerClick: (index: number) => void;
index: number;
isActive: boolean;
itemType: BaseItemKind;
};
const CarouselTickers = React.memo(
({
imageUrl,
itemName,
itemYear,
onTickerClick,
index,
isActive,
itemType,
}: CarouselTickersProps) => {
const handleClick = React.useCallback(() => {
onTickerClick(index);
}, [index, onTickerClick]);
return (
<div
className={`carousel-ticker${isActive ? " active" : ""}`}
onClick={handleClick}
>
{imageUrl ? (
<img
src={imageUrl}
alt={itemName}
className="carousel-ticker-image"
/>
) : (
<div className="carousel-ticker-image placeholder material-symbols-rounded">
{" "}
{getTypeIcon(itemType)}
</div>
)}
<div>
<Typography variant="subtitle1" className="carousel-ticker-title">
{itemName}
</Typography>
<Typography variant="caption" className="carousel-ticker-year">
{itemYear}
</Typography>
</div>
</div>
);
},
);
export default CarouselTickers;
+8 -5
View File
@@ -50,13 +50,16 @@ body:has(.audio-player) .home-cinema {
}
&-logo {
font-size: 1.9rem;
font-weight: 600;
font-style: italic;
letter-spacing: -0.045em;
font-family: "Tilt Neon", "Plus Jakarta Sans Variable", sans-serif;
font-size: 2rem;
font-weight: 400;
font-style: normal;
letter-spacing: 0.005em;
line-height: 1;
user-select: none;
text-shadow: 0 2px 18px rgb(0 0 0 / 0.35);
text-shadow:
0 0 22px rgb(120 210 255 / 0.35),
0 2px 18px rgb(0 0 0 / 0.45);
}
.home-nav-link {
+1
View File
@@ -1,3 +1,4 @@
import "@fontsource/tilt-neon/400.css";
import IconButton from "@mui/material/IconButton";
import type { BaseItemDto } from "@jellyfin/sdk/lib/generated-client";
import { useNavigate } from "@tanstack/react-router";