Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add system status link to footer #143

Merged
merged 1 commit into from
Sep 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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