web: replace Revival Inc./RustyWolf feature screenshots with asset-free CSS windows

This commit is contained in:
dvorakmortonxd 2026-10-05 12:28:18 +02:00
commit 7f6ac177b4
7 changed files with 520 additions and 52 deletions

View file

@ -5,6 +5,7 @@ import type { ReactNode } from "react";
import JokerLogo from "./JokerLogo";
import ServiceButton from "./ServiceButton";
import ContributionHeatmap from "./ContributionHeatmap";
import FeatureWindow from "./FeatureWindow";
import Clock from "./Clock";
import { useTheme } from "./useTheme";
import { useColorScheme } from "./useColorScheme";
@ -139,24 +140,6 @@ function Gym() {
);
}
function FeatureShot({
src,
alt,
width,
height,
}: {
src: string;
alt: string;
width: number;
height: number;
}) {
return (
<div className="web-shot">
<Image src={src} alt={alt} width={width} height={height} />
</div>
);
}
export default function WebLayout() {
const { toggle } = useTheme();
const { scheme, toggle: toggleScheme } = useColorScheme();
@ -253,12 +236,7 @@ export default function WebLayout() {
<div className="web-split">
<Section eyebrow="REVIVAL.INC" title="Revival Inc." className="web-feature">
<FeatureShot
src="/revivalinc.webp"
alt="Revival Inc. thumbnail"
width={768}
height={576}
/>
<FeatureWindow variant="game" />
<p className="web-feature-text">
A game I made for the game jam &#34;Mini Jame Gam #55&#34;, the theme was
Necromancy and the special item was Milk, the game also includes a tutorial so
@ -269,12 +247,7 @@ export default function WebLayout() {
</Section>
<Section eyebrow="RustyWolf" title="Introducing RustyWolf" className="web-feature">
<FeatureShot
src="/RustyWolfPreview.webp"
alt="RustyWolf Browser Preview"
width={1280}
height={720}
/>
<FeatureWindow variant="browser" />
<p className="web-feature-text">
A lightweight browser made in Rust with WebKitGTK. It&#39;s the successor to my
previous project Venturesome, aiming to provide a fast and minimalist browsing
@ -345,7 +318,7 @@ export default function WebLayout() {
</Section>
<footer className="web-footer glass">
<span className="web-footer-label">v2.2.8</span>
<span className="web-footer-label">v2.2.9</span>
© 2025-2026 Martin Dvořák. All rights reserved (not really I dont care, just
follow the GPL3.0 License)
</footer>