Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

feat(docs): type Narratage wordmark

rpone46f0a859836a
diff --git a/docs/.vitepress/theme/components/HeroStatement.vue b/docs/.vitepress/theme/components/HeroStatement.vue
index 6a3dd1d6..febd565e 100644
--- a/docs/.vitepress/theme/components/HeroStatement.vue
+++ b/docs/.vitepress/theme/components/HeroStatement.vue
@@ -57,7 +57,9 @@ onBeforeUnmount(() => {
<template>
<div class="hero-statement">
<div class="hero-wordmark">
- <h1 class="hero-statement-name">Narratage</h1>
+ <h1 class="hero-statement-name" aria-label="Narratage">
+ <span class="wordmark-reveal" aria-hidden="true">NARRATAGE</span><span class="wordmark-cursor" aria-hidden="true">_</span>
+ </h1>
</div>
<div class="hero-statement-viewport hero-statement-viewport-en">
diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css
index 3fc681cd..2cf51724 100644
--- a/docs/.vitepress/theme/style.css
+++ b/docs/.vitepress/theme/style.css
@@ -29,7 +29,7 @@ body { letter-spacing: -0.012em; }
font-family: "Cutive Mono", "DM Mono", monospace;
font-size: 19px;
font-weight: 400;
- letter-spacing: .035em;
+ letter-spacing: -.03em;
padding-right: .12em;
-webkit-text-stroke: .25px var(--narratage-neon-tube);
paint-order: stroke fill;
@@ -66,13 +66,29 @@ body { letter-spacing: -0.012em; }
font-size: clamp(52px,7.2vw,92px);
font-weight: 400;
line-height: 1;
- letter-spacing: .035em;
+ letter-spacing: -.05em;
-webkit-text-stroke: .3px var(--narratage-neon-tube);
paint-order: stroke fill;
text-rendering: geometricPrecision;
text-shadow: 0 0 1px #fff, 0 0 4px rgba(255,255,255,.68), 0 0 10px rgba(255,255,255,.24), 0 0 22px rgba(255,255,255,.08);
text-transform: uppercase;
}
+.wordmark-reveal {
+ display: inline-block;
+ width: 0;
+ overflow: hidden;
+ vertical-align: bottom;
+ white-space: nowrap;
+ animation: wordmark-type 1.2s steps(9,end) .18s forwards;
+}
+.wordmark-cursor {
+ display: inline-block;
+ margin-left: -.02em;
+ animation: wordmark-cursor-blink .48s step-end 1.42s 3, wordmark-cursor-hide .01s linear 2.86s forwards;
+}
+@keyframes wordmark-type { to { width: calc(9ch - .45em); } }
+@keyframes wordmark-cursor-blink { 50% { opacity: 0; } }
+@keyframes wordmark-cursor-hide { to { opacity: 0; } }
.hero-statement-viewport { position: relative; width: min(100%,900px); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%); mask-image: linear-gradient(to bottom,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%); }
.hero-statement-viewport-en { height: clamp(108px,12vw,142px); margin-top: 0; }
.hero-statement-viewport-zh { height: 68px; margin-top: -20px; }
@@ -303,5 +319,7 @@ body { letter-spacing: -0.012em; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
+ .wordmark-reveal { width: calc(9ch - .45em); animation: none !important; }
+ .wordmark-cursor { display: none; animation: none !important; }
.hero-statement-swap-enter-from, .hero-statement-swap-leave-to { filter: none; transform: none; }
}