Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

Footer links update (#3054)

Kenton Quatman45edd21c7a0f
diff --git a/apps/docsite/src/components/SiteFooter.tsx b/apps/docsite/src/components/SiteFooter.tsx
index f468e0627f..4af2029276 100644
--- a/apps/docsite/src/components/SiteFooter.tsx
+++ b/apps/docsite/src/components/SiteFooter.tsx
@@ -26,6 +26,7 @@ import {
InstagramLogo,
FacebookLogo,
MetaOpenSourceLogo,
+ DiscordLogo,
} from './logos';
const styles = stylex.create({
@@ -58,14 +59,14 @@ const FOOTER_LINKS: ReadonlyArray<{
label: string;
href: string;
}> = [
- {label: 'Docs', href: '/docs'},
- {label: 'Changelog', href: '/changelog'},
- {label: 'Community', href: '/community'},
- {label: 'Blog', href: '/blog'},
+ {label: 'Docs', href: '/docs/getting-started'},
{label: 'Components', href: '/components'},
{label: 'Templates', href: '/templates'},
{label: 'Themes', href: '/themes'},
{label: 'Playground', href: '/playground'},
+ {label: 'Blog', href: '/blog'},
+ {label: 'Community', href: '/community'},
+ {label: 'Changelog', href: '/changelog'},
];
const SOCIAL_LINKS: ReadonlyArray<{
@@ -74,6 +75,7 @@ const SOCIAL_LINKS: ReadonlyArray<{
Icon: (props: React.SVGProps<SVGSVGElement>) => React.ReactElement;
}> = [
{label: 'GitHub', href: GITHUB_REPO, Icon: GitHubLogo},
+ {label: 'Discord', href: FACEBOOK_URL, Icon: DiscordLogo},
{label: 'Facebook', href: FACEBOOK_URL, Icon: FacebookLogo},
{label: 'Instagram', href: INSTAGRAM_URL, Icon: InstagramLogo},
{label: 'Threads', href: THREADS_URL, Icon: ThreadsLogo},
diff --git a/apps/docsite/src/components/logos.tsx b/apps/docsite/src/components/logos.tsx
index a49957ac5f..28ca27384f 100644
--- a/apps/docsite/src/components/logos.tsx
+++ b/apps/docsite/src/components/logos.tsx
@@ -54,6 +54,18 @@ export function GitHubLogo(props: SvgProps) {
);
}
+export function DiscordLogo(props: SvgProps) {
+ return (
+ <svg
+ viewBox="0 0 16 16"
+ fill="currentColor"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}>
+ <path d="M13.554 3.005A13.3 13.3 0 0 0 10.253 2a9 9 0 0 0-.423.85 12.5 12.5 0 0 0-3.664 0A9 9 0 0 0 5.744 2c-1.14.193-2.252.532-3.304 1.007C.351 6.066-.215 9.05.068 11.99A13.4 13.4 0 0 0 4.116 14c.328-.436.618-.9.867-1.384a8.6 8.6 0 0 1-1.365-.645q.173-.124.335-.249a9.6 9.6 0 0 0 8.094 0q.165.134.335.25c-.435.255-.894.47-1.368.646q.375.727.867 1.382a13.3 13.3 0 0 0 4.051-2.01c.332-3.41-.568-6.365-2.379-8.985m-8.212 7.176c-.789 0-1.44-.709-1.44-1.58S4.53 7.013 5.34 7.013s1.456.715 1.442 1.586-.636 1.58-1.44 1.58m5.316 0c-.79 0-1.44-.709-1.44-1.58s.63-1.587 1.44-1.587 1.452.715 1.438 1.586-.634 1.58-1.438 1.58" />
+ </svg>
+ );
+}
+
export function ThreadsLogo(props: SvgProps) {
return (
<svg
diff --git a/apps/docsite/src/constants.ts b/apps/docsite/src/constants.ts
index 9ffc69a70e..4ba16fbde3 100644
--- a/apps/docsite/src/constants.ts
+++ b/apps/docsite/src/constants.ts
@@ -2,6 +2,7 @@
export const GITHUB_REPO = 'https://github.com/facebook/astryx';
+export const DISCORD_URL = 'https://discord.com/invite/XnsUcFykEP';
export const FACEBOOK_URL = 'https://www.facebook.com/astryxdesign';
export const INSTAGRAM_URL = 'https://www.instagram.com/astryxdesign';
export const THREADS_URL = 'https://www.threads.com/@astryxdesign';