File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
export interface Props {
3
- border ? : false | " thick" | " thin" | " none" ;
3
+ separator ? : false | " thick" | " thin" | " none" ;
4
4
}
5
5
6
- const { border = " thick" } = Astro .props ;
6
+ const { separator = " thick" } = Astro .props ;
7
+
8
+ const shouldDisplaySeparator = separator && separator !== " none" ;
7
9
---
8
10
9
11
<footer data-pagefind-ignore >
10
12
<slot />
11
- { border && border !== " none " && <hr data-type = { border } />}
13
+ { shouldDisplaySeparator && <hr data-type = { separator } />}
12
14
<span class =" ff-pixelated"
13
15
>Created with <span class =" heart" >♥</span > by Tanishq Manuja</span
14
16
>
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ const ogImage = {
69
69
)
70
70
}
71
71
</main >
72
- <Footer border =" thin" >
72
+ <Footer separator =" thin" >
73
73
<ProjectTags class =" tags" tags ={ tags } />
74
74
<nav class =" ff-pixelated fs-small | navigation" >
75
75
<a class =" hoverable" href ={ url .prev } aria-disabled ={ ! url .prev } >
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ const description = `Search projects`;
18
18
<main data-pagefind-ignore >
19
19
<PageFindSearch />
20
20
</main >
21
- <Footer border =" thin" />
21
+ <Footer separator =" thin" />
22
22
</Layout >
23
23
24
24
<style >
You can’t perform that action at this time.
0 commit comments