Skip to content

Commit

Permalink
make join component mobile friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
Kandles11 committed Jun 9, 2024
1 parent b5ea2ef commit 9715bac
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/components/join.astro
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,24 @@ if (theme === 'dark') {
borderStyle = 'solid'
}
---
<style>
@media (max-width: 480px) {
.join-content {
flex-direction: column;
}
}
</style>

<div style={{ backgroundColor: bgColor, color: txtColor, padding: '30px' }}>
<div style={{ maxWidth: '100em', margin: 'auto' }}>
<h2>Join</h2>
<h2 style="font-family: Mashine, sans-serif; color: var(--primary);">Join</h2>
<span>
To become a member, come to a meeting and talk to a project manager or
officer about how you can join a team. Our general meetings are on <strong
>Mondays at 7pm</strong
> at the <strong>UTDesign Makerspace.</strong>
</span>
<div style={{ display: 'flex', padding: '15px' }}>
<div class="join-content" style={{ display: 'flex', padding: '15px' }}>
<a
href={discordInvite}
target="_blank"
Expand Down

0 comments on commit 9715bac

Please sign in to comment.