diff --git a/components/layout/NavLinks.tsx b/components/layout/NavLinks.tsx index a11295c..5a03970 100644 --- a/components/layout/NavLinks.tsx +++ b/components/layout/NavLinks.tsx @@ -28,6 +28,7 @@ export function NavLinks() { {item.icon} {item.label} diff --git a/components/layout/Sidebar.tsx b/components/layout/Sidebar.tsx index 343d474..f185e78 100644 --- a/components/layout/Sidebar.tsx +++ b/components/layout/Sidebar.tsx @@ -47,7 +47,7 @@ export async function Sidebar() {
{socialLinks.map(({ icon, url }) => ( - + {gitCommitHash.slice(0, 7)} diff --git a/components/ui/ExternalLink.tsx b/components/ui/ExternalLink.tsx index b46e2f7..e5e29b6 100644 --- a/components/ui/ExternalLink.tsx +++ b/components/ui/ExternalLink.tsx @@ -6,13 +6,14 @@ type ExternalLinkProps = Omit< 'href' | 'rel' | 'target' > & { href: string + skipIcon?: boolean } -export function ExternalLink({ children, ...props }: ExternalLinkProps) { +export function ExternalLink({ children, skipIcon, ...props }: ExternalLinkProps) { return ( {children} - + {!skipIcon && } ) }