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: complete Narratage homepage logo restore

rponed333a727865d
diff --git a/docs/.vitepress/theme/Layout.vue b/docs/.vitepress/theme/Layout.vue
index 69500b39..d74938b0 100644
--- a/docs/.vitepress/theme/Layout.vue
+++ b/docs/.vitepress/theme/Layout.vue
@@ -4,7 +4,7 @@ import { useData } from "vitepress";
import { computed } from "vue";
import HeroMasthead from "./components/HeroMasthead.vue";
import LocalePreference from "./components/LocalePreference.vue";
-import HypitLogo from "./components/HypitLogo.vue";
+import NarratageLogo from "./components/NarratageLogo.vue";
import PaperFooter from "./components/PaperFooter.vue";
import { useHomeThemeScope } from "./HomeThemeScope";
@@ -18,7 +18,7 @@ useHomeThemeScope(isHome);
<template>
<DefaultLayout>
- <template #nav-bar-title-before><HypitLogo v-if="isHome" class="nav-hypit-logo" /></template>
+ <template #nav-bar-title-before><NarratageLogo v-if="isHome" class="nav-narratage-logo" /></template>
<template #layout-top><LocalePreference /></template>
<template #home-hero-info><HeroMasthead /></template>
<template #layout-bottom><PaperFooter v-if="isHome" /></template>
diff --git a/docs/.vitepress/theme/components/HeroMasthead.vue b/docs/.vitepress/theme/components/HeroMasthead.vue
index 6669d121..4c58f917 100644
--- a/docs/.vitepress/theme/components/HeroMasthead.vue
+++ b/docs/.vitepress/theme/components/HeroMasthead.vue
@@ -14,22 +14,23 @@ const isChinese = computed(() => lang.value.toLowerCase().startsWith("zh"));
</div>
<div class="np-masthead-wrap">
- <span class="np-masthead-wordmark">
- <img
- class="hypit-logo-on-light"
- :src="withBase('/hypit-logo-dark.png')"
- alt="Hypit"
- width="641"
- height="125"
- />
- <img
- class="hypit-logo-on-dark"
- :src="withBase('/hypit-logo-light.png')"
- alt="Hypit"
- width="641"
- height="125"
- />
- </span>
+ <svg
+ class="np-masthead-wordmark"
+ viewBox="0 0 1200 268"
+ role="img"
+ aria-label="Narratage"
+ >
+ <text
+ x="0"
+ y="252"
+ font-family="Impact, Haettenschweiler, 'Arial Narrow Bold', 'Arial Black', sans-serif"
+ font-size="268"
+ textLength="1200"
+ lengthAdjust="spacingAndGlyphs"
+ >
+ <tspan class="np-masthead-ink">NARRA</tspan><tspan class="np-masthead-red">TAGE</tspan>
+ </text>
+ </svg>
<!-- Outside the wordmark, or the intro wipe would clip it too. -->
<img
diff --git a/docs/.vitepress/theme/components/NarratageLogo.vue b/docs/.vitepress/theme/components/NarratageLogo.vue
index f1bf63a4..f38b1a73 100644
--- a/docs/.vitepress/theme/components/NarratageLogo.vue
+++ b/docs/.vitepress/theme/components/NarratageLogo.vue
@@ -1,12 +1,20 @@
<script setup lang="ts">
-import { withBase } from "vitepress";
-
-withDefaults(defineProps<{ label?: string }>(), { label: "Hypit" });
+withDefaults(defineProps<{ label?: string }>(), { label: "Narratage" });
</script>
<template>
- <span class="hypit-logo">
- <img class="hypit-logo-on-light" :src="withBase('/hypit-logo-dark.png')" :alt="label" />
- <img class="hypit-logo-on-dark" :src="withBase('/hypit-logo-light.png')" :alt="label" />
+ <span class="narratage-logo">
+ <svg viewBox="182 444 1063 541" fill="currentColor" role="img" :aria-label="label">
+ <path d="M265.7,726.2c-7.2-9.9-14.8-18.5-20.4-28.2-31.4-54-31.5-109-1.5-163.1,29.5-53.3,77.3-78.3,137.3-80.2,41.8-1.4,78.8,12,109.9,40.2,38.1,34.6,52.6,78.7,49.5,129.1-1.4,22.8-7.2,44.6-17.5,65.2-4.1,8.1-9.7,11.8-19,11.6-16.5-.5-33-.4-49.5-.1-11.3.2-20.9-3.7-29.1-11.2-2.8-2.6-4.8-2.6-8.2-1-41.6,19.7-104.5,1.7-113.5-61.1-5.1-35.7,11.1-67.8,41.2-83.5,43.9-23,102.2-2.8,114.1,51.1,4.5,20.5,1.4,40.2-10.5,57.8-2.4,3.6-1.7,5.9,1.2,7.9,2.4,1.6,5.3,3.2,8.1,3.3,9.3.5,18.7.9,27.9.3,2.7-.2,6.3-3.5,7.5-6.3,3.3-7.9,6.8-16.1,8.1-24.5,6.8-43-5.3-80-38.2-108.9-24.4-21.4-53.9-30-86.1-28.7-41,1.7-73.7,19.4-96.4,53.8-48.8,74.1-3.8,172.7,84.1,183.6,17.9,2.2,36.2,1.1,54.3.9,53.6-.7,107.3-1.9,160.9-2.7,10.7-.2,18.3,7.6,18.3,18.3.1,68.3.1,136.7,0,205,0,12.3-8.2,20.2-20.5,20.2-122.5,0-245,0-367.5.1-15.5,0-22.5-7.1-22.5-22.7v-202.5c0-16,7.4-23.5,23.5-23.6,15.7-.1,31.3,0,47,0,2.4-.1,4.7-.1,7.5-.1ZM286.5,935.4h216.9v-162.7h-3.9c-28.3,1.4-56.6,2.1-84.8,4.3-26.1,2-51.3,7.8-74.2,21.3-27.2,16-45.6,38.9-51.5,70.2-2.5,13.1-1.9,26.8-2.4,40.3-.4,8.6-.1,17.4-.1,26.6ZM382.9,574.5c-21.8-.1-40.1,17.5-40.3,38.8-.2,22.3,17.2,39.9,39.4,39.9s39.1-17.9,39.1-39.8c.1-21.1-17.3-38.8-38.2-38.9ZM254.5,928.9v-33.6h-32.6v33.6h32.6ZM221.8,829.9v33.6h32.7v-33.6h-32.7ZM565.7,865.3v-33h-32.4v33h32.4ZM254.6,798.9v-32.8h-32.6v32.8h32.6ZM533.4,896.3v33.1h32.3v-33.1h-32.3ZM565.7,802.1v-31.9h-32.3v31.9h32.3Z" />
+ <path d="M675.54,613.37v99.1h-38.2v-216.7h38.2c9.9,34,19.9,68.2,30.2,103.2v-103.1h38.7v216.8h-10c-7,0-14-.4-21,.2-5.8.5-8.3-1.2-9.9-7.1-8.4-30.1-17.2-60.1-26-90.1-.3-.9-.7-1.8-1.1-2.6-.3.1-.6.2-.9.3Z" />
+ <path d="M997.05,975.04h-40.8v-58.17h-25.46v58.07h-41.44c-.11-1.63-.21-3.27-.21-4.9,0-61.54,0-123.08.11-184.61,0-7.86.96-15.61,6.07-22.25,5.22-6.84,12.36-10.1,20.99-10.21,17.79-.2,35.48-.31,53.27-.1,14.28.2,23.65,7.86,26.42,21.33.75,3.67,1.07,7.45,1.07,11.12.11,61.33.11,122.77.11,184.1-.11,1.73-.11,3.57-.11,5.61ZM955.71,877.97c.11-1.3.32-2,.32-2.6,0-27,.11-53.9.11-80.9,0-5.4-2.24-7.4-8.2-7.5h-7.99c-8.1.1-9.59,1.5-9.59,9.1v76.9c0,1.6.21,3.2.21,5h25.14Z" />
+ <path d="M1166.8,712.34h-38.6c-.1-1.3-.3-2.4-.3-3.5,0-61.3-.1-122.6,0-183.9,0-15.5,6.6-25.2,19.1-28.7,2-.6,4.3-.8,6.4-.8,16.5-.1,33-.1,49.5,0,13.1,0,21.8,6.9,24.7,19.6.9,3.9,1.4,7.9,1.4,11.9.1,60.5,0,120.9,0,181.4,0,1.2-.1,2.3-.2,4h-38.6v-65.4h-23.3c-.1,21.5-.1,43.2-.1,65.4ZM1189.3,611.14c.3-.8.5-1.1.5-1.4,0-24.9.1-49.9,0-74.8,0-3.8-2.1-5.7-6-5.7-2.8.1-5.7,0-8.5,0-7.6,0-8.8,1.1-8.8,8.6v68.3c0,1.6.2,3.2.3,5,7.8,0,15,0,22.5,0Z" />
+ <path d="M804.1,711.89h-39.1v-5.6c0-60,0-120,.1-180,0-4.8.8-9.7,2.2-14.2,3.2-10.3,12.5-17.1,23.3-17.2,16.8-.2,33.7-.2,50.5,0,14.4.2,23.8,10.3,24.7,26.1.3,5.8.1,11.7.1,17.5v173.3h-38.8c-.1-1.7-.2-3.5-.2-5.2,0-18.5-.1-37,.1-55.5.1-4.2-1.2-5.6-5.3-5.3-5.6.3-11.3.1-17.6.1v66ZM827,610.69v-68.1c0-14.8.2-13.8-13.5-13.7-8.4,0-9.6,1-9.6,9.4,0,22.8,0,45.6.1,68.4,0,1.3.3,2.5.4,4h22.6Z" />
+ <path d="M1106.4,712.87h-38.7v-61.6c0-8.4-2.2-10.5-10.7-10.5h-11.8v71.8h-38.4v-216.8h73c15.4,0,25.1,8.3,26,23.7.9,16.1.6,32.3.7,48.4.1,9.5-.1,19,.1,28.5.2,12.5-4.2,22.1-17.9,26.8,1.7.6,2.5.9,3.3,1.2,8,2.4,12.5,7.9,13.8,16,.4,2.8.6,5.6.6,8.5.1,19,.1,38,.1,57-.1,2.1-.1,4.3-.1,7ZM1045.3,604.87c5.7,0,11.2.2,16.6-.1,3.2-.2,5.7-2.3,5.7-5.8.1-21.1.1-42.2.1-63.4,0-3.3-1.8-5.5-5.1-5.6-5.6-.2-11.2-.1-17.2-.1-.1,25.2-.1,49.9-.1,75Z" />
+ <path d="M925.7,711.74h-38v-217h71.5c16.7,0,26.4,8.7,27.2,25.4.7,16,.3,32,.4,48,0,8.7-.2,17.3.1,26,.5,13.1-3.2,23.4-17.4,27.8.9.7,1.2,1,1.5,1.1,10.8,3.4,15.4,9,15.6,20.4.3,12.5.2,25,.2,37.5v30.8h-39v-62.3c0-7.4-2.2-9.5-9.5-9.7-4-.1-7.9,0-12.6,0v72ZM926,603.74c5.6,0,10.9.3,16.1-.1,3.5-.2,5.7-2.5,5.7-6.3,0-21,.1-42-.2-63,0-1.9-2.4-5.1-4-5.3-5.8-.6-11.8-.3-17.7-.3.1,25.4.1,50,.1,75Z" />
+ <path d="M1071.22,851.6h53.05c.11,1.83.21,3.46.21,5.1,0,30.06.21,60.12-.21,90.18-.11,5.6-1.49,11.62-3.94,16.61-4.26,8.46-12.68,11.51-22.16,11.51-17.26.1-34.41,0-51.67,0s-27.06-8.56-28.66-25.17c-.32-3.57-.21-7.13-.21-10.7,0-51.05-.11-102.21.11-153.26,0-5.81,1.07-11.92,2.88-17.43,3.09-9.58,10.76-14.98,21.09-15.29,19.81-.51,39.74-.51,59.66-.1,10.97.2,20.03,8.25,21.84,19.06,1.17,6.83,1.07,13.86,1.17,20.79.21,12.33,0,24.76,0,37.5h-40.27v-22.32c0-4.28.11-8.46,0-12.74-.11-5.81-2.13-7.64-7.99-7.64-3.2,0-6.39,0-9.59.1-6.18.1-8.2,2.04-8.2,8.05-.11,20.38,0,40.76,0,61.14v72.86c0,8.05,1.7,9.68,9.8,9.58,3.2,0,6.39,0,9.59-.1,3.94-.1,6.5-2.04,6.5-5.91.11-15.59,0-31.18,0-47.38-4.47-.2-8.63-.41-13-.51v-33.93Z" />
+ <path d="M1186.46,787.27v59.32h39.63v35.12h-39.52v57.27h42.93c0,11.74.11,22.77-.21,33.69,0,.82-3.09,2.25-4.79,2.25-19.92.2-39.74.1-59.66.1h-19.5v-222.25h83.84v34.4c-14.17.1-28.23.1-42.72.1Z" />
+ <path d="M846.62,975.04h-40.8v-187.34h-31.43v-34.94h104.29v34.53h-32.07c0,62.82,0,125.03,0,187.75Z" />
+ </svg>
</span>
</template>
diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css
index 324b902d..c04d9305 100644
--- a/docs/.vitepress/theme/style.css
+++ b/docs/.vitepress/theme/style.css
@@ -167,11 +167,8 @@ html.home-page .VPNavBarTitle .title {
}
/* The configured siteTitle text; the logotype stands in for it. */
html.home-page .VPNavBarTitle .title > span:not([class]) { display: none; }
-html.home-page .nav-hypit-logo { display: block; flex: 0 0 auto; height: 46px; }
-html.home-page .nav-hypit-logo img { display: block; width: auto; height: 100%; }
-html.home-page .hypit-logo-on-dark { display: none; }
-html.home-page.dark .hypit-logo-on-light { display: none; }
-html.home-page.dark .hypit-logo-on-dark { display: block; }
+html.home-page .nav-narratage-logo { display: block; flex: 0 0 auto; height: 46px; color: var(--ink); }
+html.home-page .nav-narratage-logo svg { display: block; width: auto; height: 100%; }
/* The rule that separates the brand from the rest of the bar. */
html.home-page .VPNavBarTitle::after {
content: "";
@@ -344,7 +341,8 @@ html.home-page .VPHomeHero .main { width: 100%; max-width: none; }
height: auto;
margin: 6px 0 0;
}
-.np-masthead-wordmark img { display: block; width: 100%; height: auto; }
+.np-masthead-ink { fill: var(--ink); }
+.np-masthead-red { fill: var(--crimson); }
/* Collage scrap, positioned off the wordmark. Decorative only. */
.np-masthead-stamp {
position: absolute;