You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(site): use the animated mascot logo in the hero
The hero played /pythinker-hero-clean-v2.mp4 through a play/pause button. That
asset is gone from apps/site/public, so the site build failed outright:
Rollup could not resolve the import.
Render the existing PythinkerMascot component instead. It inlines the same
artwork as public/pythinker_animated.svg (34 identical paths, the same blink,
mouth, antenna-glow and eye-shine animations) and already carries its own
scoped prefers-reduced-motion guard, so the video refs, the play/pause
handlers and the mask/blend CSS all go away.
Also drop four assets nothing references: the mp4, arctecture.webp, logo.png
and brand/linux.svg.
<p class="hero-accent">Think first, then code.</p>
277
233
<p class="hero-lead">An open-source AI engineering agent for your terminal. It reads your repo, edits files, runs commands, and iterates until the job is done.</p>
@@ -768,35 +724,11 @@ onUnmounted(() => {
768
724
line-height: 1.38;
769
725
}
770
726
771
-
.hero-mascot-video {
772
-
position: relative;
727
+
.hero-mascot {
773
728
display: block;
774
-
width: clamp(160px, 16vw, 200px);
729
+
width: clamp(128px, 12vw, 164px);
730
+
height: auto;
775
731
margin-inline: auto;
776
-
padding: 0;
777
-
border: 0;
778
-
appearance: none;
779
-
aspect-ratio: 4 / 3;
780
-
background: transparent;
781
-
color: var(--ink);
782
-
cursor: pointer;
783
-
}
784
-
785
-
.hero-mascot-video:focus-visible {
786
-
outline: 2px solid var(--accent);
787
-
outline-offset: 4px;
788
-
border-radius: var(--radius-sm);
789
-
}
790
-
791
-
.hero-mascot-video video {
792
-
display: block;
793
-
width: 100%;
794
-
height: 100%;
795
-
object-fit: cover;
796
-
-webkit-mask-image: radial-gradient(ellipse 50% 50% at center, black 58%, transparent 100%);
797
-
mask-image: radial-gradient(ellipse 50% 50% at center, black 58%, transparent 100%);
0 commit comments