File tree 1 file changed +28
-9
lines changed
1 file changed +28
-9
lines changed Original file line number Diff line number Diff line change @@ -30,19 +30,38 @@ const Footer = () => {
30
30
< Heading size = 'lg' className = { `mb-12` } >
31
31
Build whatever with Celestia underneath
32
32
</ Heading >
33
+ < div className = 'flex flex-row lg:justify-start gap-4 mb-8' >
34
+ { columns [ columns . length - 1 ] . links . map ( ( link , linkIndex ) => {
35
+ const isInternal = isInternalLink ( link . url ) ;
36
+ return (
37
+ < Link
38
+ key = { linkIndex }
39
+ href = { link . url }
40
+ target = { isInternal ? "_self" : "_blank" }
41
+ rel = { isInternal ? "" : "noopener noreferrer" }
42
+ className = { `flex items-center group` }
43
+ >
44
+ { link . icon && (
45
+ < Icon
46
+ Icon = { < link . icon dark /> }
47
+ hover
48
+ HoverIcon = { < link . icon dark className = 'opacity-50' /> }
49
+ size = 'sm'
50
+ border = { false }
51
+ transparentBg
52
+ direction = 'up'
53
+ />
54
+ ) }
55
+ </ Link >
56
+ ) ;
57
+ } ) }
58
+ </ div >
33
59
{ /* <Newsletter /> */ }
34
60
</ div >
35
61
< div className = { `flex flex-wrap lg:flex-nowrap w-full lg:1/2 lg:gap-6 lg:justify-end ml-auto mr-0` } >
36
- { columns . map ( ( column , index ) => {
62
+ { columns . slice ( 0 , - 1 ) . map ( ( column , index ) => {
37
63
return (
38
- < ul
39
- key = { index }
40
- className = { `block ${
41
- index === columns . length - 1
42
- ? "w-full flex flex-row justify-center lg:justify-end gap-4 order-last lg:order-none lg:flex-col lg:w-auto"
43
- : "w-1/2 lg:w-1/5"
44
- } ${ index === columns . length - 1 ? "" : "mb-10 lg:mb-0" } `}
45
- >
64
+ < ul key = { index } className = { `block w-1/2 lg:w-1/5 mb-10 lg:mb-0` } >
46
65
{ column . links . map ( ( link , linkIndex ) => {
47
66
const isInternal = isInternalLink ( link . url ) ;
48
67
return (
You can’t perform that action at this time.
0 commit comments