Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
Use full Inkeep logo in footer and align splash container (#2081)
sarah1db8954f25c1
diff --git a/docs/src/app/(home)/footer.tsx b/docs/src/app/(home)/footer.tsxindex 89fcdf304..d01f8182f 100644--- a/docs/src/app/(home)/footer.tsx+++ b/docs/src/app/(home)/footer.tsx@@ -2,7 +2,7 @@ import Link from 'next/link';import { DiscordIcon } from '@/components/icons/discord';import { GitHubIcon } from '@/components/icons/github';import { XIcon } from '@/components/icons/x';-import { InkeepWordmark } from '@/components/inkeep-wordmark';+import { InkeepLogo } from '@/components/inkeep-logo';const socialLinks = [{ href: 'https://github.com/inkeep/open-knowledge', label: 'GitHub', Icon: GitHubIcon },@@ -41,7 +41,7 @@ export function SiteFooter() {className="order-first flex items-center gap-1.5 justify-self-center rounded-sm text-sm font-medium text-slide-muted/60 outline-none transition-colors min-[24rem]:col-span-2 sm:order-0 sm:col-span-1 hover:text-slide-text focus-visible:ring-2 focus-visible:ring-slide-accent focus-visible:ring-offset-2"><span>Made by</span>- <InkeepWordmark className="mt-px w-14" />+ <InkeepLogo className="w-20" /></Link><div className="flex items-center justify-center gap-6 text-sm text-slide-muted min-[24rem]:justify-end">{legalLinks.map(({ href, label }) => (diff --git a/docs/src/app/d/[encoded]/splash-share-view.tsx b/docs/src/app/d/[encoded]/splash-share-view.tsxindex 1a4e39ca9..55c0c6c8a 100644--- a/docs/src/app/d/[encoded]/splash-share-view.tsx+++ b/docs/src/app/d/[encoded]/splash-share-view.tsx@@ -20,8 +20,8 @@ export function SplashShareView({ encoded, view }: { encoded: string; view: OkSp<main className="relative flex min-h-screen flex-col overflow-hidden bg-slide-bg font-[family-name:var(--font-dm-sans)]"><SplashChrome />- <section className="relative z-20 flex-1 px-4 pt-16 pb-16 md:pt-24 md:pb-20">- <div className="mx-auto max-w-5xl">+ <section className="relative z-20 flex-1 px-6 pt-16 pb-16 md:pt-24 md:pb-20">+ <div className="container mx-auto"><p className="mb-6 font-mono text-base font-medium uppercase tracking-wide text-primary">{view.target === 'folder' ? 'Shared folder' : 'Shared'}</p>@@ -53,7 +53,7 @@ export function SplashShareView({ encoded, view }: { encoded: string; view: OkSp</svg></a></h1>- <div className="flex items-center gap-2 mt-8">+ <div className="flex flex-col sm:flex-row items-start sm:items-center gap-2 mt-8"><ahref={view.githubUrl}target="_blank"@@ -69,7 +69,7 @@ export function SplashShareView({ encoded, view }: { encoded: string; view: OkSpclassName="inline-flex items-center gap-1.5 text-slide-muted"data-testid="splash-branch-indicator">- <DotIcon aria-hidden="true" />+ <DotIcon aria-hidden="true" className="hidden sm:block" /><GitBranchIcon className="size-4" aria-hidden="true" /><span className="font-medium">{view.branch}</span></p>@@ -108,8 +108,8 @@ function SplashChrome() {variant="left"className="bottom-0 left-0 w-40 dark:opacity-30 sm:w-72 lg:w-[515px]"/>- <header className="relative z-10 px-4">- <div className="mx-auto flex max-w-5xl pt-8 md:pt-10">+ <header className="relative z-10 px-6">+ <div className="container mx-auto flex pt-8 md:pt-10"><Link href="/" aria-label="Open Knowledge home" className="inline-flex items-center">{/* Link already names the control; hide the wordmark's own label toavoid a doubled "Open Knowledge" announcement. */}@@ -126,8 +126,8 @@ export function SplashFallback({ heading }: { heading: string }) {<main className="relative flex min-h-screen flex-col overflow-hidden bg-slide-bg font-[family-name:var(--font-dm-sans)]"><SplashChrome />- <section className="relative z-20 flex-1 px-4 pt-16 pb-16 md:pt-24 md:pb-20">- <div className="mx-auto max-w-5xl">+ <section className="relative z-20 flex-1 px-6 pt-16 pb-16 md:pt-24 md:pb-20">+ <div className="container mx-auto"><h1 className="text-3xl font-light tracking-tight text-slide-text sm:text-4xl">{heading}</h1>diff --git a/docs/src/components/inkeep-logo.tsx b/docs/src/components/inkeep-logo.tsxnew file mode 100644index 000000000..99b73fd53--- /dev/null+++ b/docs/src/components/inkeep-logo.tsx@@ -0,0 +1,47 @@+import type { SVGProps } from 'react';+import { cn } from '@/lib/utils';++export function InkeepLogo({ className, ...props }: SVGProps<SVGSVGElement>) {+ return (+ <svg+ aria-hidden="true"+ fill="none"+ viewBox="0 0 896 175"+ xmlns="http://www.w3.org/2000/svg"+ className={cn('h-auto', className)}+ {...props}+ >+ <path+ d="M49.8976 7.78177C46.6823 7.78177 43.7111 9.49716 42.1034 12.2818L6.20576 74.4584C4.59806 77.243 4.59807 80.6737 6.20576 83.4583L42.1034 145.635C43.7111 148.42 46.6823 150.135 49.8977 150.135L121.693 150.135C124.908 150.135 127.88 148.42 129.487 145.635L165.385 83.4583C166.993 80.6737 166.993 77.2429 165.385 74.4583L129.487 12.2818C127.88 9.49715 124.908 7.78177 121.693 7.78177L49.8976 7.78177Z"+ stroke="currentColor"+ strokeWidth={10}+ />+ <path+ d="M196.339 6.43116C217.858 11.9687 215.406 24.1808 224.33 49.0208C230.055 64.9572 257.736 84.7177 232.44 123.131C224.891 134.594 200.617 148.196 183.053 151.968C144.356 160.151 121.556 141.58 101.329 110.961C86.1533 87.8009 91.5155 54.4579 114.533 38.0853C136.346 22.6115 168.051 -1.39973 196.339 6.43116Z"+ stroke="currentColor"+ strokeWidth={9.8}+ />+ <path d="M288.767 25.1665H302.159V133.867H288.767V25.1665Z" fill="currentColor" />+ <path+ d="M321.091 25.1666H334.482V45.0226C340.3 34.5866 358.402 22.9501 378.165 22.9501C385.369 22.9501 392.48 23.966 398.021 26.0901C403.47 28.2142 408.18 31.3542 411.967 35.5102C415.753 39.6661 418.616 44.9302 420.648 51.3026C422.587 57.5827 423.603 64.8786 423.603 73.0981V133.867H410.212V74.5757C410.212 67.9263 409.473 62.2003 407.995 57.3056C406.518 52.4109 404.301 48.3473 401.438 45.0226C398.575 41.6978 394.974 39.2967 390.633 37.7266C386.385 36.1566 381.49 35.4178 375.949 35.4178C369.576 35.4178 363.85 36.3413 358.771 38.2808C353.692 40.2202 349.351 42.8984 345.749 46.4079C342.147 49.9173 339.377 54.0732 337.53 58.7833C335.59 63.4933 334.667 68.8498 334.667 74.6681V133.959H321.275V25.1666H321.091Z"+ fill="currentColor"+ />+ <path+ d="M542.242 56.5668C545.013 49.6403 548.799 43.6373 553.694 38.5578C558.589 33.5707 564.407 29.6919 571.149 27.0136C577.891 24.3354 585.371 22.9501 593.498 22.9501C601.626 22.9501 609.014 24.3354 615.756 27.106C622.497 29.8766 628.316 33.7554 633.211 38.6502C638.198 43.6373 641.984 49.5479 644.662 56.5668C647.341 63.5857 648.726 71.3434 648.726 79.8399V84.0882H549.538V72.2669H638.29L635.427 79.7475C635.427 73.0981 634.411 67.0027 632.287 61.5539C630.163 56.105 627.3 51.395 623.698 47.4238C620.004 43.4526 615.663 40.4973 610.492 38.3731C605.32 36.249 599.686 35.2331 593.591 35.2331C587.495 35.2331 581.677 36.3413 576.505 38.4655C571.334 40.5896 566.901 43.6373 563.206 47.5161C559.512 51.395 556.557 56.0127 554.433 61.4615C552.309 66.9104 551.293 72.821 551.293 79.3781C551.293 85.9352 552.401 92.0306 554.525 97.4794C556.649 102.928 559.697 107.546 563.484 111.425C567.27 115.304 571.795 118.259 576.967 120.475C582.139 122.6 587.865 123.708 594.145 123.708C603.934 123.708 612.246 121.214 619.173 116.32C626.099 111.425 630.994 104.498 634.042 95.7247L647.064 100.158C643.277 111.24 636.72 120.014 627.577 126.478C618.342 132.943 607.351 136.176 594.422 136.176C586.203 136.176 578.537 134.79 571.703 132.112C564.776 129.434 558.866 125.555 553.879 120.568C548.892 115.581 545.013 109.578 542.242 102.651C539.472 95.7247 537.994 88.0594 537.994 79.4705C537.994 70.8816 539.379 63.5857 542.15 56.5668H542.242Z"+ fill="currentColor"+ />+ <path+ d="M664.15 56.5668C666.921 49.6403 670.707 43.6373 675.602 38.5578C680.497 33.4784 686.315 29.6919 693.057 27.0136C699.799 24.3354 707.279 22.9501 715.407 22.9501C723.534 22.9501 730.922 24.3354 737.664 27.106C744.406 29.8766 750.224 33.7554 755.119 38.6502C760.106 43.6373 763.892 49.5479 766.57 56.5668C769.249 63.5857 770.634 71.3434 770.634 79.8399V84.0882H671.446V72.2669H760.198L757.335 79.7475C757.335 73.0981 756.319 67.0027 754.195 61.5539C752.071 56.105 749.208 51.395 745.514 47.4238C741.82 43.4526 737.479 40.4973 732.307 38.3731C727.135 36.249 721.502 35.2331 715.407 35.2331C709.311 35.2331 703.493 36.3413 698.321 38.4655C693.149 40.5896 688.716 43.6373 685.022 47.5161C681.328 51.395 678.373 56.0127 676.249 61.4615C674.124 66.9104 673.109 72.821 673.109 79.3781C673.109 85.9352 674.217 92.0306 676.341 97.4794C678.465 102.928 681.513 107.546 685.299 111.425C689.086 115.304 693.611 118.259 698.783 120.475C703.955 122.6 709.681 123.708 715.961 123.708C725.75 123.708 734.062 121.214 740.988 116.32C747.915 111.425 752.81 104.498 755.857 95.7247L768.879 100.158C765.093 111.24 758.628 120.014 749.393 126.478C740.157 132.943 729.167 136.176 716.238 136.176C708.018 136.176 700.353 134.79 693.519 132.112C686.592 129.434 680.682 125.555 675.787 120.568C670.8 115.581 666.921 109.578 664.15 102.651C661.287 95.7247 659.902 88.0594 659.902 79.4705C659.902 70.8816 661.287 63.5857 664.058 56.5668H664.15Z"+ fill="currentColor"+ />+ <path+ d="M785.138 25.1666H798.53V49.7326C803.055 41.6979 808.596 36.0643 816.631 30.8001C824.573 25.6283 833.994 22.9501 844.891 22.9501C852.649 22.9501 859.575 24.243 865.948 26.9213C872.228 29.5995 877.584 33.2937 882.017 38.0961C886.45 42.8984 889.775 48.8091 892.176 55.8279C894.578 62.8468 895.778 70.7892 895.778 79.5628C895.778 88.3364 894.578 96.2788 892.176 103.205C889.775 110.224 886.45 116.135 882.017 120.937C877.584 125.832 872.32 129.526 866.04 132.112C859.853 134.698 852.834 135.991 845.076 135.991C834.271 135.991 824.758 133.313 816.723 128.048C808.689 122.784 803.055 116.135 798.53 109.208V174.318H785.138V25.1666ZM801.762 97.6641C803.886 103.113 806.934 107.823 810.813 111.702C814.692 115.581 819.309 118.536 824.758 120.66C830.207 122.784 836.025 123.8 842.213 123.8C848.401 123.8 853.85 122.784 858.837 120.845C863.824 118.905 868.072 116.042 871.581 112.164C875.091 108.285 877.677 103.759 879.616 98.3106C881.556 92.8617 882.479 86.7664 882.479 79.8399C882.479 72.9134 881.463 66.541 879.524 60.9997C877.584 55.5509 874.814 50.8409 871.397 46.962C867.98 43.0832 863.731 40.2202 858.652 38.1884C853.665 36.249 848.124 35.2331 842.028 35.2331C835.933 35.2331 829.838 36.249 824.573 38.3731C819.309 40.4973 814.692 43.4526 810.813 47.3314C806.934 51.2103 803.979 55.8279 801.762 61.2768C799.546 66.7257 798.53 72.821 798.53 79.5628C798.53 86.3046 799.638 92.0306 801.762 97.5718V97.6641Z"+ fill="currentColor"+ />+ <path+ d="M541.077 22.9501H521.498L452.972 83.6264V22.9501H440.042V133.867H452.972V100.619L453.157 100.804L476.522 80.1169L527.963 133.867H546.434L486.219 71.5281L541.077 22.9501Z"+ fill="currentColor"+ />+ </svg>+ );+}diff --git a/docs/src/components/inkeep-wordmark.tsx b/docs/src/components/inkeep-wordmark.tsxdeleted file mode 100644index 00712a5e3..000000000--- a/docs/src/components/inkeep-wordmark.tsx+++ /dev/null@@ -1,37 +0,0 @@-import type { SVGProps } from 'react';--export function InkeepWordmark(props: SVGProps<SVGSVGElement>) {- return (- <svg- aria-hidden="true"- fill="none"- height={24}- width={96}- viewBox="0 0 96 24"- xmlns="http://www.w3.org/2000/svg"- {...props}- >- <path d="M0 0.367584H2.11421V17.5449H0V0.367584Z" fill="currentColor" />- <path- d="M5.10376 0.367608H7.21797V3.50535C8.1366 1.85621 10.9948 0.017334 14.1154 0.017334C15.2529 0.017334 16.3755 0.177881 17.2506 0.513534C18.1108 0.849218 18.8545 1.34542 19.4526 2.00213C20.0504 2.65888 20.5023 3.49077 20.8231 4.49776C21.1294 5.49016 21.2899 6.6431 21.2899 7.94198V17.5449H19.1753V8.17547C19.1753 7.12471 19.0588 6.21985 18.8254 5.44635C18.5921 4.67289 18.2422 4.03073 17.79 3.50535C17.3381 2.97994 16.7693 2.60052 16.0841 2.35241C15.4133 2.10432 14.6403 1.98754 13.7655 1.98754C12.7591 1.98754 11.855 2.1335 11.0532 2.43998C10.2511 2.74645 9.56586 3.16967 8.99713 3.72426C8.42839 4.27885 7.99102 4.93557 7.69923 5.67988C7.39292 6.42417 7.24734 7.27064 7.24734 8.19006V17.5595H5.13281V0.367608H5.10376Z"- fill="currentColor"- />- <path- d="M39.7064 5.32961C40.1441 4.23505 40.7419 3.28645 41.5146 2.48374C42.2876 1.69566 43.2063 1.08271 44.2708 0.659492C45.3353 0.236239 46.5164 0.017334 47.7994 0.017334C49.0828 0.017334 50.2493 0.236239 51.3138 0.674081C52.3784 1.11189 53.297 1.72487 54.0697 2.49837C54.8573 3.28645 55.4551 4.22046 55.878 5.32961C56.3011 6.43879 56.5196 7.66468 56.5196 9.00736V9.67869H40.8584V7.81064H54.8718L54.42 8.99277C54.42 7.94198 54.2595 6.97876 53.9242 6.11769C53.5888 5.25666 53.1366 4.51234 52.5679 3.88481C51.9846 3.25724 51.2993 2.79022 50.4827 2.45457C49.6661 2.11891 48.7765 1.95837 47.8143 1.95837C46.8517 1.95837 45.9331 2.1335 45.1165 2.46916C44.2998 2.80484 43.6001 3.28645 43.0165 3.8994C42.4332 4.51234 41.9668 5.24204 41.6314 6.1031C41.2961 6.96417 41.1356 7.89818 41.1356 8.93438C41.1356 9.97058 41.3106 10.9338 41.646 11.7948C41.9813 12.6559 42.4626 13.3856 43.0604 13.9986C43.6582 14.6115 44.3728 15.0785 45.1894 15.4288C46.0061 15.7644 46.9102 15.9396 47.9017 15.9396C49.4472 15.9396 50.7596 15.5455 51.8535 14.772C52.9471 13.9986 53.7199 12.904 54.2011 11.5175L56.2572 12.218C55.6594 13.9694 54.624 15.3558 53.1805 16.3774C51.7222 17.399 49.9869 17.9098 47.9453 17.9098C46.6474 17.9098 45.4373 17.6909 44.3583 17.2677C43.2644 16.8444 42.3312 16.2315 41.544 15.4434C40.7564 14.6553 40.1441 13.7067 39.7064 12.6121C39.269 11.5175 39.0356 10.3062 39.0356 8.94897C39.0356 7.5917 39.2545 6.43879 39.6919 5.32961H39.7064Z"- fill="currentColor"- />- <path- d="M58.9549 5.32961C59.3926 4.23505 59.9904 3.28645 60.7631 2.48374C61.5362 1.68107 62.4548 1.08271 63.5193 0.659492C64.5839 0.236239 65.7649 0.017334 67.048 0.017334C68.3313 0.017334 69.4979 0.236239 70.5624 0.674081C71.6269 1.11189 72.5456 1.72487 73.3186 2.49837C74.1059 3.28645 74.7037 4.22046 75.1265 5.32961C75.5497 6.43879 75.7682 7.66468 75.7682 9.00736V9.67869H60.1069V7.81064H74.1204L73.6685 8.99277C73.6685 7.94198 73.5081 6.97876 73.1727 6.11769C72.8373 5.25666 72.3851 4.51234 71.8019 3.88481C71.2186 3.25724 70.5333 2.79022 69.7167 2.45457C68.9001 2.11891 68.0105 1.95837 67.048 1.95837C66.0858 1.95837 65.1671 2.1335 64.3505 2.46916C63.5339 2.80484 62.8338 3.28645 62.2505 3.8994C61.6672 4.51234 61.2008 5.24204 60.8654 6.1031C60.5298 6.96417 60.3697 7.89818 60.3697 8.93438C60.3697 9.97058 60.5446 10.9338 60.88 11.7948C61.2153 12.6559 61.6966 13.3856 62.2944 13.9986C62.8922 14.6115 63.6068 15.0785 64.4234 15.4288C65.2401 15.7644 66.1442 15.9396 67.1358 15.9396C68.6812 15.9396 69.9937 15.5455 71.0872 14.772C72.1811 13.9986 72.9539 12.904 73.4351 11.5175L75.4912 12.218C74.8934 13.9694 73.8725 15.3558 72.4145 16.3774C70.9562 17.399 69.2209 17.9098 67.1793 17.9098C65.8814 17.9098 64.6713 17.6909 63.5923 17.2677C62.4984 16.8444 61.5652 16.2315 60.7925 15.4434C60.0049 14.6553 59.3926 13.7067 58.9549 12.6121C58.503 11.5175 58.2842 10.3062 58.2842 8.94897C58.2842 7.5917 58.503 6.43879 58.9404 5.32961H58.9549Z"- fill="currentColor"- />- <path- d="M78.0583 0.367608H80.1729V4.24964C80.8875 2.97994 81.7622 2.0897 83.0311 1.25785C84.2851 0.440587 85.7725 0.017334 87.4932 0.017334C88.7181 0.017334 89.8117 0.22165 90.8178 0.644902C91.8094 1.06812 92.6551 1.65189 93.3552 2.4108C94.055 3.16967 94.5801 4.10371 94.9591 5.21286C95.3384 6.32201 95.5278 7.57711 95.5278 8.96356C95.5278 10.35 95.3384 11.6051 94.9591 12.6997C94.5801 13.8088 94.055 14.7429 93.3552 15.5018C92.6551 16.2753 91.8239 16.859 90.8323 17.2677C89.8553 17.6763 88.7472 17.8806 87.5222 17.8806C85.816 17.8806 84.3141 17.4574 83.0456 16.6255C81.7771 15.7936 80.8875 14.7429 80.1729 13.6483V23.9372H78.0583V0.367608ZM80.6832 11.824C81.0186 12.6851 81.4998 13.4294 82.1125 14.0423C82.7248 14.6553 83.4539 15.1223 84.3141 15.458C85.1747 15.7936 86.0933 15.9542 87.0703 15.9542C88.0474 15.9542 88.9076 15.7936 89.6952 15.4872C90.4825 15.1807 91.1532 14.7283 91.7074 14.1153C92.2616 13.5023 92.6699 12.7872 92.9759 11.9262C93.2822 11.0651 93.4281 10.1019 93.4281 9.00736C93.4281 7.9128 93.2677 6.90578 92.9614 6.03012C92.6551 5.16909 92.2177 4.42478 91.6784 3.81183C91.1387 3.19888 90.4679 2.74645 89.6658 2.42539C88.8786 2.11891 88.0035 1.95837 87.041 1.95837C86.0788 1.95837 85.1163 2.11891 84.2851 2.45457C83.4539 2.79022 82.7248 3.25724 82.1125 3.87019C81.4998 4.48317 81.0334 5.21286 80.6832 6.07392C80.3333 6.93499 80.1729 7.89818 80.1729 8.96356C80.1729 10.0289 80.3478 10.9338 80.6832 11.8094V11.824Z"- fill="currentColor"- />- <path- d="M39.8383 0.017334H36.7467L25.9268 9.60571V0.017334H23.8853V17.5449H25.9268V12.291L25.9559 12.3202L29.6453 9.05112L37.7677 17.5449H40.684L31.1765 7.69386L39.8383 0.017334Z"- fill="currentColor"- />- </svg>- );-}