Skip to content

Commit

Permalink
feat: Add system status link to footer (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
evadecker authored Sep 7, 2024
1 parent efd5335 commit 3c132aa
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
13 changes: 10 additions & 3 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ const linkGroups: LinkGroup[] = [
{ href: "/brand-assets", label: "Brand Assets" },
],
},
{
title: "Resources",
links: [
{ href: "/chat", label: "Chat" },
{ href: "/status", label: "System Status" },
],
},
];
---

Expand Down Expand Up @@ -67,7 +74,7 @@ const linkGroups: LinkGroup[] = [
{
Object.values(socialLinks).map(({ href, Icon, text }) => (
<a {href} title={text}>
<Icon size={24} />
<Icon size={28} />
</a>
))
}
Expand Down Expand Up @@ -110,7 +117,7 @@ const linkGroups: LinkGroup[] = [
gap: var(--space-xl);

+ .content {
margin-block-start: var(--space-l);
margin-block-start: var(--space-xl);
}

&.end {
Expand All @@ -119,7 +126,7 @@ const linkGroups: LinkGroup[] = [

@media (width < 760px) {
flex-direction: column;
gap: var(--space-l);
gap: var(--space-xl);

.linkGroup {
width: unset;
Expand Down
6 changes: 6 additions & 0 deletions src/pages/status.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
// Server-render page to avoid temporary flash of "redirecting..." plain text page
export const prerender = false;
return Astro.redirect("https://status.namesake.fyi", 308);
---
4 changes: 2 additions & 2 deletions src/styles/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
minTypeScale: 1.2,
maxTypeScale: 1.25,
positiveSteps: 7,
nevativeSteps: 1
negativeSteps: 1,
});

@utopia spaceScale({
minSize: 8,
maxSize: 12,
positiveSteps: [1.5, 2, 3, 4, 6],
negativeSteps: [0.75, 0.5],
})
});

/* Line heights */
--line-height-single: 1;
Expand Down

0 comments on commit 3c132aa

Please sign in to comment.