File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,13 @@ export interface Props {
42
42
const { ignoreHome = false } = Astro .props ;
43
43
---
44
44
45
- <footer class =" relative flex h-64 items-center justify-center" >
45
+ <footer class =" relative flex h-64 items-center justify-center " >
46
46
<ul
47
- class =`relative grid grid-cols-4 -ml-${ignoreHome ? 5 : 0 } sm:ml-0 gap-2 sm:gap-3 sm:grid-cols-${ignoreHome ? 5 : 6 }`
47
+ class ={ [
48
+ " relative grid -ml-" + (ignoreHome ? " 5" : " 0" ) + " gap-2 sm:gap-3" ,
49
+ ignoreHome ? " grid-cols-4 sm:grid-cols-4" : " grid-cols-4 sm:grid-cols-6" ,
50
+ " sm:ml-0"
51
+ ].join (" " )}
48
52
>
49
53
{
50
54
links .slice (ignoreHome ? 2 : 0 ).map ((link ) => (
@@ -61,3 +65,4 @@ const { ignoreHome = false } = Astro.props;
61
65
}
62
66
</ul >
63
67
</footer >
68
+
You can’t perform that action at this time.
0 commit comments