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.
TypeScript agentic-aiaiai-agentsai-videocompilerdslffmpeggenerative-aillmmarkup-languagemonorepoplugin-systemprogramming-languagetext-to-videotypescriptvideovideo-automationvideo-clonevideo-editingvideo-generation
docs: add Discord to the nav bar and even out its spacing
rponeeca4890e62cf
diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.tsindex 0c4c66ab..2c8211ba 100644--- a/docs/.vitepress/config.ts+++ b/docs/.vitepress/config.ts@@ -125,7 +125,13 @@ const svsLanguage: Record<string, unknown> = {const sharedTheme = {siteTitle: "NARRATAGE",- socialLinks: [{ icon: "github" as const, link: "https://github.com/hypit-ai/narratage" }],+ // Discord sits to the left of GitHub. The mark is inlined because the theme+ // resolves a named icon to a `vpi-social-<name>` class it does not ship for+ // Discord, which would render an empty box.+ socialLinks: [+ { icon: { svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M20.317 4.3698a19.7913 19.7913 0 0 0-4.8851-1.5152.0741.0741 0 0 0-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 0 0-.0785-.037 19.7363 19.7363 0 0 0-4.8852 1.515.0699.0699 0 0 0-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 0 0 .0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 0 0 .0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 0 0-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 0 1-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 0 1 .0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 0 1 .0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 0 1-.0066.1276 12.2986 12.2986 0 0 1-1.873.8914.0766.0766 0 0 0-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 0 0 .0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 0 0 .0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 0 0-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg>' }, link: "https://discord.gg/85hnyQnxpn", ariaLabel: "Discord" },+ { icon: "github" as const, link: "https://github.com/hypit-ai/narratage" },+ ],search: { provider: "local" as const },};diff --git a/docs/.vitepress/theme/components/PaperFooter.vue b/docs/.vitepress/theme/components/PaperFooter.vueindex d4205e73..f99d9f6f 100644--- a/docs/.vitepress/theme/components/PaperFooter.vue+++ b/docs/.vitepress/theme/components/PaperFooter.vue@@ -46,7 +46,7 @@ const t = (en: string, zh: string) => (isChinese.value ? zh : en);<section><h2>{{ t("Community", "社区") }}</h2><ul>- <li><a href="https://discord.gg/cWQ92BaKV" target="_blank" rel="noreferrer">Discord</a></li>+ <li><a href="https://discord.gg/85hnyQnxpn" target="_blank" rel="noreferrer">Discord</a></li><li><a href="https://t.me/narratage" target="_blank" rel="noreferrer">Telegram</a></li></ul></section>diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.cssindex acd4c675..a6964a16 100644--- a/docs/.vitepress/theme/style.css+++ b/docs/.vitepress/theme/style.css@@ -37,6 +37,9 @@ html.home-page {"Noto Sans SC", monospace;--pad: clamp(20px, 4vw, 56px);--vp-nav-height: 74px;+ /* One rhythm for the nav bar: between its groups, and between the icons. */+ --nav-gap: 30px;+ --nav-icon-gap: 15px;/* Paper grain. Multiplied over a light page, overlaid on a dark one. */--grain-op: .42;@@ -170,7 +173,7 @@ html.home-page .VPNavBarTitle::after {flex: 0 0 auto;width: 1px;height: 44px;- margin-left: 22px;+ margin-left: var(--nav-gap);background: var(--rule);}@@ -186,13 +189,14 @@ html.home-page .VPNavScreenMenuGroup .button {letter-spacing: .14em;text-transform: uppercase;}-/* Anchored inside the stock 12px inline padding so the rule tracks the text. */+html.home-page .VPNavBarMenu .VPNavBarMenuLink { padding-inline: calc(var(--nav-gap) / 2); }+/* Anchored inside the link's own inline padding so the rule tracks the text. */html.home-page .VPNavBarMenuLink::after {content: "";position: absolute;- right: 12px;+ right: calc(var(--nav-gap) / 2);bottom: 20px;- left: 12px;+ left: calc(var(--nav-gap) / 2);height: 1.5px;background: var(--crimson);transform: scaleX(0);@@ -270,21 +274,27 @@ html.home-page .VPNav .DocSearch-Button-Key:first-child::after {line-height: 1;}-html.home-page .VPNavBarSearch { padding-left: 22px; }+html.home-page .VPNavBarSearch { padding-left: var(--nav-gap); }/** Stock draws a `::before` separator before each of the three icon controls. The* React header has one rule before the group, so the first is kept and restyled* to match the brand divider, and the other two are dropped.*/-html.home-page .VPNavBarTranslations { margin-left: 28px; }+html.home-page .VPNavBarTranslations { margin-left: var(--nav-gap); }html.home-page .VPNavBarTranslations::before {height: 44px;- margin-right: 10px;+ margin-right: var(--nav-gap);background-color: var(--rule);}html.home-page .VPNavBarAppearance::before,html.home-page .VPNavBarSocialLinks::before { display: none; }+html.home-page .VPNavBarAppearance { margin-left: var(--nav-icon-gap); }+html.home-page .VPNavBarSocialLinks { margin-left: var(--nav-icon-gap); gap: var(--nav-icon-gap); }+html.home-page .VPSocialLink { margin: 0; padding: 0; }+/* Optical, not nominal: at a shared 20px box the Discord mark lays down 16.8%+ ink against GitHub's 13.4%, so it reads heavier. sqrt(13.4/16.8) evens them. */+html.home-page .VPSocialLink[aria-label="Discord"] svg { width: 18px; height: 18px; }/* The appearance toggle also renders inside this flyout between 768 and 1279px. */html.home-page .VPMenu {