-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathBottomLinks.astro
More file actions
36 lines (31 loc) · 868 Bytes
/
BottomLinks.astro
File metadata and controls
36 lines (31 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
export interface Props {
previousLink: string;
previousLinkText: string;
nextLink: string;
nextLinkText: string;
}
const { previousLink, previousLinkText, nextLink, nextLinkText } = Astro.props;
---
<div
class="border-t-2 border-blue-light border-solid flex flex-wrap mt-24 w-full"
>
<a
class="border-r-2 border-blue-light border-solid flex-1 font-bold p-4 lg:p-12 w-1/2 hover:bg-blue-light focus:bg-blue-light"
href={previousLink}
>
<span class="text-navy text-sm lg:text-xl"> Previous</span>
<h3 class="text-xl lg:text-4xl">
{previousLinkText}
</h3>
</a>
<a
class="flex-1 font-bold p-4 lg:p-12 w-1/2 hover:bg-blue-light focus:bg-blue-light"
href={nextLink}
>
<span class="text-navy text-sm lg:text-xl">Next Up</span>
<h3 class="text-xl lg:text-4xl">
{nextLinkText}
</h3>
</a>
</div>