Skip to content

Commit 3f52557

Browse files
alan-w-uThatNerdSquared
authored andcommitted
chore: update code and styling
1 parent 66fddf1 commit 3f52557

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

src/pages/contact-us.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ import { Content as FaqContent } from '../content/faq.md'
5858

5959
h2 {
6060
font-family: var(--open-sans);
61-
font-size: 2rem;
61+
font-size: clamp(1.25rem, 2vw, 2rem);
6262
font-weight: normal;
63-
margin-block: 1rem;
63+
margin: 1rem 0;
6464
}
6565
}
6666

6767
.faq {
68-
padding-block: 0 5rem;
68+
padding-bottom: 5rem;
6969

7070
h2 {
7171
font-size: 2.25rem;
@@ -78,7 +78,7 @@ import { Content as FaqContent } from '../content/faq.md'
7878
font-family: var(--open-sans);
7979
font-size: 1.4rem;
8080
padding: 0 var(--page-inline-inset);
81-
margin-block: 0 2rem;
81+
margin-bottom: 2rem;
8282
}
8383
}
8484
</style>

src/pages/our-team.astro

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ const subteamKeys = Object.keys(team) as (keyof typeof team)[]
2525
</p>
2626
{
2727
subteamKeys.map(subteamKey => {
28-
const subteam = team[subteamKey]
29-
const title = subteam.title
30-
const colorToken = subteam.colorToken
31-
const members = subteam.members
28+
const { title, colorToken, members } = team[subteamKey]
3229

3330
return (
3431
<section id={subteamKey}>

0 commit comments

Comments
 (0)