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.

fix(docs): simplify wordmark and align demo heading

rponee1e8f0938912
diff --git a/docs/.vitepress/theme/components/HeroStatement.vue b/docs/.vitepress/theme/components/HeroStatement.vue
index 0b83bbcc..6a3dd1d6 100644
--- a/docs/.vitepress/theme/components/HeroStatement.vue
+++ b/docs/.vitepress/theme/components/HeroStatement.vue
@@ -57,7 +57,7 @@ onBeforeUnmount(() => {
<template>
<div class="hero-statement">
<div class="hero-wordmark">
- <h1 class="hero-statement-name" data-text="Narratage">Narratage</h1>
+ <h1 class="hero-statement-name">Narratage</h1>
</div>
<div class="hero-statement-viewport hero-statement-viewport-en">
diff --git a/docs/.vitepress/theme/components/SvmlDemoCarousel.vue b/docs/.vitepress/theme/components/SvmlDemoCarousel.vue
index 0eb4c49c..3fcd019a 100644
--- a/docs/.vitepress/theme/components/SvmlDemoCarousel.vue
+++ b/docs/.vitepress/theme/components/SvmlDemoCarousel.vue
@@ -196,7 +196,7 @@ onBeforeUnmount(() => { activationId += 1; });
<style scoped>
.svml-demo-carousel { width: 100%; }
.demo-carousel-stage { display: grid; width: 100%; overflow: hidden; perspective: 1600px; }
-.carousel-heading { width: calc(100% - 64px); margin-inline: auto; }
+.carousel-heading { width: calc(100% - 78px); margin-right: 64px; margin-left: 14px; }
.demo-card { position: relative; grid-area: 1 / 1; justify-self: center; width: calc(100% - 64px); overflow: hidden; border-radius: 16px; transform-origin: center center; will-change: transform, opacity, filter; transition: transform 850ms cubic-bezier(.16,1,.3,1), opacity 650ms cubic-bezier(.16,1,.3,1), filter 650ms cubic-bezier(.16,1,.3,1); }
.demo-card.is-center { z-index: 3; opacity: 1; filter: brightness(1); transform: translateX(0) scale(1); }
.demo-card.is-left { z-index: 1; opacity: .56; filter: brightness(.58) saturate(.75); transform: translateX(calc(-100% + 58px)) scale(.955); }
@@ -221,14 +221,16 @@ onBeforeUnmount(() => { activationId += 1; });
@keyframes demo-loading-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
- .carousel-heading, .demo-card { width: calc(100% - 40px); }
+ .carousel-heading { width: calc(100% - 54px); margin-right: 40px; margin-left: 14px; }
+ .demo-card { width: calc(100% - 40px); }
.demo-card.is-left { transform: translateX(calc(-100% + 34px)) scale(.97); }
.demo-card.is-right { transform: translateX(calc(100% - 34px)) scale(.97); }
.demo-loading { min-height: 990px; }
}
@media (max-width: 520px) {
- .carousel-heading, .demo-card { width: calc(100% - 20px); }
+ .carousel-heading { width: calc(100% - 34px); margin-right: 20px; margin-left: 14px; }
+ .demo-card { width: calc(100% - 20px); }
.demo-card.is-left { transform: translateX(calc(-100% + 20px)) scale(.98); }
.demo-card.is-right { transform: translateX(calc(100% - 20px)) scale(.98); }
}
diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css
index f827eb11..40f7d01b 100644
--- a/docs/.vitepress/theme/style.css
+++ b/docs/.vitepress/theme/style.css
@@ -77,29 +77,6 @@ body { letter-spacing: -0.012em; }
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
-.hero-statement-name::after {
- content: attr(data-text);
- position: absolute;
- inset: 0;
- padding: inherit;
- background:
- radial-gradient(circle, rgba(255,250,252,1) 0 1.25px, transparent 2.1px) 7px 3px / 39px 29px,
- radial-gradient(circle, rgba(255,224,239,.9) 0 1px, transparent 1.9px) 21px 14px / 57px 41px,
- linear-gradient(108deg, transparent 36%, rgba(255,246,251,0) 43%, rgba(255,246,251,.78) 49%, rgba(255,246,251,.18) 54%, transparent 61%) -160% 0 / 250% 100% no-repeat;
- background-clip: text;
- opacity: .48;
- pointer-events: none;
- animation: narratage-inlay-shimmer 8.5s cubic-bezier(.45,0,.2,1) infinite;
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
-}
-
-@keyframes narratage-inlay-shimmer {
- 0%, 16% { opacity: .34; background-position: 7px 3px, 21px 14px, -160% 0; }
- 48% { opacity: .58; }
- 78%, 100% { opacity: .38; background-position: 21px -4px, 7px 24px, 125% 0; }
-}
-
@media (forced-colors: active) {
.VPNavBarTitle .title,
.hero-statement-name {
@@ -108,9 +85,6 @@ body { letter-spacing: -0.012em; }
-webkit-text-fill-color: currentColor;
}
}
-@media (prefers-reduced-motion: reduce) {
- .hero-statement-name::after { animation: none; opacity: .4; }
-}
.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: 8px; }
.hero-statement-viewport-zh { height: 68px; margin-top: -20px; }