Skip to content

Commit

Permalink
Call for maps: add mobile support
Browse files Browse the repository at this point in the history
  • Loading branch information
nobohan committed Sep 25, 2023
1 parent 4409c16 commit 6705da8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/components/Hero.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Image from 'next/image'

import { Button } from '@/components/Button'
import { Container } from '@/components/Container'
import Logo from '@/images/logos/SOTM_Blue_full_logo_black.png'

Expand Down Expand Up @@ -43,6 +43,9 @@ export function Hero({ id }) {
</div>
))}
</dl>
<div className="mt-20 text-center lg:hidden">
<Button href="/call-for-maps">Submit your maps</Button>
</div>
</div>
</Container>
</div>
Expand Down
8 changes: 7 additions & 1 deletion src/components/Menu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function Menu() {
<Button href={ticketURL} target="_blank">
Get your tickets
</Button>
<Button href="/call-for-maps">Submit your maps</Button>
<Button className="hidden lg:block" href="/call-for-maps">Submit your maps</Button>
</div>
<div className="flex lg:hidden">
<button
Expand Down Expand Up @@ -110,6 +110,12 @@ export function Menu() {
>
Get your tickets
</Link>
<Link
href="/call-for-maps"
className="-mx-3 block rounded-lg px-3 py-2.5 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
>
Submit your maps
</Link>
</div>
</div>
</div>
Expand Down

0 comments on commit 6705da8

Please sign in to comment.