From 410ce8102f9ef50aafb4951e1b1e1820e1b69aa5 Mon Sep 17 00:00:00 2001 From: Drew Powers Date: Sun, 8 Dec 2024 16:28:05 -0700 Subject: [PATCH] Docs fixes --- packages/icons/src/index.tsx | 21 ++++++++++ www/public/assets/social-image.png | Bin 0 -> 12811 bytes www/src/components/docs-header-nav.astro | 12 +++++- www/src/components/head-meta.astro | 18 ++++++++- www/src/components/main-nav.astro | 47 +++++++++++++++++------ www/src/styles/docs.css | 6 +++ 6 files changed, 90 insertions(+), 14 deletions(-) create mode 100644 www/public/assets/social-image.png diff --git a/packages/icons/src/index.tsx b/packages/icons/src/index.tsx index 84bd57ba..0aed7f35 100644 --- a/packages/icons/src/index.tsx +++ b/packages/icons/src/index.tsx @@ -394,6 +394,27 @@ export function Cross({ color = 'currentColor', size = 15, ...props }: IconProps ); } +export function DiscordLogo({ color = 'currentColor', size = 15, ...props }: IconProps) { + return ( + + + + ); +} + export function ExclamationTriangle({ color = 'currentColor', size = 15, ...props }: IconProps) { return ( =KqJ8+1Zgz5 z!*n?3eD_Y(S5tSYX6D!Yc(?Uh&wBQ=QfU@$&5IyyYuwkJC@I5^PP=k@EVewVZV>zCf1p0aI{?v9R* zmX^ZJN3D$wO|><3l@*nrO7CL~%Zi~T1qHOQv%=h*yv&TOwA7506c&(@NT1y4ZDO^uO zO$(^3`BDKWBPA~(A}Pqv|D2T^1?9c{-8ulk)v6>Xt>ZPfJFEE^K>I|lr}t?__Z`uQ zGbTL`!5c}MpSt>5RA+nhO-}c=frNn60lpw0GA#`7PtAk#SO1|N-~;@telSAx|IPRx zr+@1I-1+w>z7YuV^&cXEwFmq-zf-?-`XjmriZ`mrLUfP*Ey#Zk`fpDE38QZF16-pF z#m|6P$^9=Q?(Xdgx-zhOEF`Qj-`Ruv$2Y|1%3@#Je5QO-*SZPR_-d3g`i3{oeV?g< z2hsiK$9oY)_X^{B%f}=4_a`?EIg++Vwr-Q|b#-;e$EFgZl9Hks?u+BLNg2VXU2Df# z&|o7n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&(Sfe(#gb44hUjv*Aun)?|HfS3!Qjx+%TNKOF-8DJ0c1t||bJh>A* zIDZ}u{=cmdmj8SvHT5^vAK*U-e;!@gza0KJ{TcuB=-~Wc0Q@cJ>k(bRg)OhiN3K~+ zaT}fzU`J+NQ`F;X!x+xh?7|EUga6|ez5L_rHH`J-T&+x!edP94KyME;#&kvlo$ z4CA4r3Cco)=)oJS{>!pnd4~^?8;U6Y@@HE-b0@bXe^`!Wy$AC@g#rQuktjR=Z)@@p z?tc*zVg5fMDM0^<4*CoG&wBqG!M_9O{zbXi3`f%ad#C=2@0spZU6zN$URBe9z#iwG z1de@atQmlu6| zNU^uM?o>s-2*dbaybpI}bph$c;h~hin zzY0J)+IPNx3Mm+(^-p0-j%fW|AOLO2|AiV<1<-ie2ZOh)Wg;R2l;qXqDrMe;{12Lg BV*CIA literal 0 HcmV?d00001 diff --git a/www/src/components/docs-header-nav.astro b/www/src/components/docs-header-nav.astro index cd9f205c..57bc75a4 100644 --- a/www/src/components/docs-header-nav.astro +++ b/www/src/components/docs-header-nav.astro @@ -1,5 +1,5 @@ --- -import { GitHubLogo } from '@terrazzo/icons'; +import { DiscordLogo, GitHubLogo } from '@terrazzo/icons'; import DocsSearch from './SearchBox.tsx'; import ThemeSwitcher from './ThemeSwitcher.tsx'; --- @@ -21,6 +21,14 @@ import ThemeSwitcher from './ThemeSwitcher.tsx'; +
  • + + + +
  • @@ -79,6 +87,8 @@ import ThemeSwitcher from './ThemeSwitcher.tsx'; svg { height: 1.25rem; + min-height: 1.25rem; + min-width: 1.25rem; width: 1.25rem; } } diff --git a/www/src/components/head-meta.astro b/www/src/components/head-meta.astro index 12fe6cfd..6226ba59 100644 --- a/www/src/components/head-meta.astro +++ b/www/src/components/head-meta.astro @@ -9,7 +9,7 @@ import '../styles/app.css'; const { title, description = 'Design systems for everyone. MIT Licensed tools for developing and managing design systems. Use the W3C design token format to build multi-platform apps quickly and easily.', - socialImage, + socialImage = `${Astro.site}/assets/social-image.png`, } = Astro.props; --- @@ -25,4 +25,18 @@ const { -{socialImage && } + + + + + + + +{ + socialImage && ( + <> + + + + ) +} diff --git a/www/src/components/main-nav.astro b/www/src/components/main-nav.astro index 0c6f8531..abe389f6 100644 --- a/www/src/components/main-nav.astro +++ b/www/src/components/main-nav.astro @@ -1,6 +1,6 @@ --- import fs from 'node:fs'; -import { GitHubLogo } from '@terrazzo/icons'; +import { DiscordLogo, GitHubLogo } from '@terrazzo/icons'; import { ButtonLink } from '@terrazzo/tiles'; import Terrazzo from './terrazzo.astro'; @@ -14,11 +14,11 @@ const { version } = pkgInfo; - +