diff --git a/.changeset/socials-and-nav-links.md b/.changeset/socials-and-nav-links.md new file mode 100644 index 00000000..2abdae68 --- /dev/null +++ b/.changeset/socials-and-nav-links.md @@ -0,0 +1,10 @@ +--- +"@inkeep/open-knowledge": patch +--- + +Refresh social links and resource navigation across the app and docs site: + +- The editor's Resources popover drops the standalone "Website" row and adds an "Open Knowledge" entry (brand logo, desaturated to sit with the monochrome icons and regaining color on hover) as the last item. +- The docs site nav gains brand icons for GitHub and Discord, with X rendered icon-only (its label preserved as the accessible name). +- Social links now point at the Open Knowledge handle (`x.com/OpenKnowledgeAI`) and the project Discord, replacing the legacy Inkeep X/LinkedIn destinations in the footer and structured-data `sameAs`. +- The home hero and bottom call-to-action add a subtle "or CLI" link beside the macOS download button, pointing at the CLI reference. diff --git a/docs/src/app/(home)/footer.tsx b/docs/src/app/(home)/footer.tsx index 075b6f0f..89fcdf30 100644 --- a/docs/src/app/(home)/footer.tsx +++ b/docs/src/app/(home)/footer.tsx @@ -1,13 +1,13 @@ import Link from 'next/link'; +import { DiscordIcon } from '@/components/icons/discord'; import { GitHubIcon } from '@/components/icons/github'; -import { LinkedInIcon } from '@/components/icons/linkedin'; import { XIcon } from '@/components/icons/x'; import { InkeepWordmark } from '@/components/inkeep-wordmark'; const socialLinks = [ { href: 'https://github.com/inkeep/open-knowledge', label: 'GitHub', Icon: GitHubIcon }, - { href: 'https://www.linkedin.com/company/inkeep/', label: 'LinkedIn', Icon: LinkedInIcon }, - { href: 'https://x.com/inkeep', label: 'X', Icon: XIcon }, + { href: 'https://discord.com/invite/YujKpFN49', label: 'Discord', Icon: DiscordIcon }, + { href: 'https://x.com/OpenKnowledgeAI', label: 'X', Icon: XIcon }, ]; const legalLinks = [ diff --git a/docs/src/app/(home)/sections/call-to-action.tsx b/docs/src/app/(home)/sections/call-to-action.tsx index 0aea13e6..0c6a0929 100644 --- a/docs/src/app/(home)/sections/call-to-action.tsx +++ b/docs/src/app/(home)/sections/call-to-action.tsx @@ -1,6 +1,7 @@ 'use client'; import Image from 'next/image'; +import Link from 'next/link'; import { useEffect, useState } from 'react'; import { DOWNLOAD_URL } from '@/lib/site'; import { useIsInView } from '@/lib/use-is-in-view'; @@ -102,9 +103,6 @@ export function CallToAction() {
- - Read the docs - Download for macOS + + or CLI +
diff --git a/docs/src/app/(home)/sections/hero.tsx b/docs/src/app/(home)/sections/hero.tsx index e90df696..2c0cf95f 100644 --- a/docs/src/app/(home)/sections/hero.tsx +++ b/docs/src/app/(home)/sections/hero.tsx @@ -1,6 +1,7 @@ 'use client'; import Image from 'next/image'; +import Link from 'next/link'; import { useState } from 'react'; import { ClaudeIcon } from '@/components/icons/claude'; import { CodexBrandIcon } from '@/components/icons/codex'; @@ -43,7 +44,7 @@ export function Hero() { Beautiful, AI-native markdown editor. -
+
Download for macOS + + or CLI +
diff --git a/docs/src/app/(home)/site-nav.tsx b/docs/src/app/(home)/site-nav.tsx index 7ab0bd6d..11f6ce17 100644 --- a/docs/src/app/(home)/site-nav.tsx +++ b/docs/src/app/(home)/site-nav.tsx @@ -2,14 +2,44 @@ import { Menu, X } from 'lucide-react'; import Link from 'next/link'; +import type { FC, SVGProps } from 'react'; import { useEffect, useRef, useState } from 'react'; +import { DiscordIcon } from '@/components/icons/discord'; +import { GitHubIcon } from '@/components/icons/github'; +import { XIcon } from '@/components/icons/x'; import { OkWordmark } from '@/components/ok-wordmark'; import { DOWNLOAD_URL } from '@/lib/site'; import { MarketingButton } from './marketing-button'; -const navLinks = [ +type NavLink = { + href: string; + label: string; + external: boolean; + icon?: FC>; + iconOnly?: boolean; +}; + +const navLinks: NavLink[] = [ { href: '/docs', label: 'Docs', external: false }, - { href: 'https://github.com/inkeep/open-knowledge', label: 'GitHub', external: true }, + { + href: 'https://github.com/inkeep/open-knowledge', + label: 'GitHub', + external: true, + icon: GitHubIcon, + }, + { + href: 'https://discord.com/invite/YujKpFN49', + label: 'Discord', + external: true, + icon: DiscordIcon, + }, + { + href: 'https://x.com/OpenKnowledgeAI', + label: 'X', + external: true, + icon: XIcon, + iconOnly: true, + }, ]; const FOCUSABLE_SELECTOR = 'a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])'; @@ -66,27 +96,36 @@ export function SiteNav() {