Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions components/home/ScreenshotFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import classNames from "classnames";
import { useEffect, useState } from "react";
import PanelBar from "../ui/PanelBar";
import StatusLight from "../ui/StatusLight";

const HERO_IMAGES: string[] = [
"https://cdn.unitystation.org/Website-Statics/heroImages/bar-engine.png",
Expand Down Expand Up @@ -57,11 +56,6 @@ export default function ScreenshotFeed() {
className="absolute -right-4 -top-4 hidden h-full w-full rounded-lg border border-seam bg-raised sm:block"
/>
<div className="relative overflow-hidden rounded-lg border border-seam bg-panel shadow-window">
<PanelBar>
<StatusLight tone="success" blink />
<p className="type-label text-dim">In-game screenshots</p>
</PanelBar>

<div className="relative aspect-video bg-void xl:aspect-[16/10]">
{HERO_IMAGES.map((src, i) =>
loaded.has(i) ? (
Expand All @@ -77,7 +71,7 @@ export default function ScreenshotFeed() {
/>
) : null,
)}
<div className="scanlines absolute inset-0" aria-hidden />
<div className="absolute inset-0" aria-hidden />
</div>

{/* Status bar: frame picker + counter */}
Expand All @@ -104,6 +98,7 @@ export default function ScreenshotFeed() {
/>
))}
</div>
<p className="type-label text-dim">In-game screenshots</p>
<p className="type-label text-faint">
{String(frame + 1).padStart(2, "0")} /{" "}
{String(HERO_IMAGES.length).padStart(2, "0")}
Expand Down
Loading