Skip to content

Commit

Permalink
Restore intro posts, fix tertiary link colors
Browse files Browse the repository at this point in the history
  • Loading branch information
wkirby committed Nov 25, 2024
1 parent 8a18eb8 commit b66a292
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ const now = new Date();
export const Footer = () => (
<footer className={styles.footer}>
<Row>
<div>
<div className="stack gap-md">
<Link href="/" className={styles.footer__logo}>
<LogoType size={18} className={styles.footer__logotype} />
</Link>

<small>
<ul role="list" className="inline_list">
<ul role="list" className={styles.footer__nav}>
<li>Copyright {now.getFullYear()} Apsis Labs, LLP</li>

<li>
Expand Down Expand Up @@ -44,7 +44,7 @@ export const Footer = () => (
</small>

<small>
<ul role="list" className="inline_list">
<ul role="list" className={styles.footer__nav}>
<li>
<Link className="link" href="/privacy">
Privacy Policy
Expand Down
7 changes: 5 additions & 2 deletions src/components/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const Hero = () => {
<div className={styles.hero}>
<div className={styles.hero__headline}>
<h3 className={styles.hero__title}>
Your app &mdash;
Your <span className="text-primary">app</span> &mdash;
<br />
built by{" "}
<TypeEffect
Expand All @@ -36,7 +36,10 @@ export const Hero = () => {
</div>

<div className={styles.hero__actions}>
<Button href="mailto:[email protected]?subject=Apsis Project Inquiry" EndIcon={ChevronRight}>
<Button
href="mailto:[email protected]?subject=Apsis Project Inquiry"
EndIcon={ChevronRight}
>
Let's get to work
</Button>

Expand Down
19 changes: 18 additions & 1 deletion src/styles/components/Button.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,33 @@
outline: none;
box-shadow: none;

@media screen and (prefers-color-scheme: dark) {
color: var(--white);
}

&:hover {
text-decoration: underline;
}

&:hover,
&:focus {
outline: none;
box-shadow: none;
color: var(--apsis_dark);
text-decoration: underline;

@media screen and (prefers-color-scheme: dark) {
color: var(--white);
opacity: 0.9;
}
}

&:active {
color: var(--apsis_gray);

@media screen and (prefers-color-scheme: dark) {
color: var(--white);
opacity: 0.5;
}
}
}
}
14 changes: 14 additions & 0 deletions src/styles/components/Footer.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,18 @@
font-size: var(--font_size_h6);
}
}

&__nav {
display: flex;
flex-direction: column;
gap: var(--spacing_xs);
padding: 0;
margin: 0;

@media (min-width: vars.$mobile) {
align-items: center;
flex-direction: row;
gap: var(--spacing);
}
}
}

0 comments on commit b66a292

Please sign in to comment.