Skip to content

Commit 33570e2

Browse files
committed
Fix footer alignment
1 parent 6226fd8 commit 33570e2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/Footer/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import React from "react"
22
import Link from "../Link"
33

44
interface LinkItem {
5-
text:string,
6-
href:string
5+
text: string
6+
href: string
77
}
88

99
interface FooterLinks {
10-
text:string,
11-
href?:string,
10+
text: string
11+
href?: string
1212
subsections: LinkItem[]
1313
}
1414

@@ -60,6 +60,7 @@ const getLinks = (sourcePath: string): FooterLinks[] => [
6060
},
6161
{
6262
text: "GraphQL Foundation",
63+
href: "/foundation/",
6364
subsections: [
6465
{ text: "About", href: "/foundation/" },
6566
{ text: "Join", href: "/foundation/join/" },
@@ -71,7 +72,7 @@ const getLinks = (sourcePath: string): FooterLinks[] => [
7172
},
7273
]
7374

74-
const Footer = ({sourcePath}: { sourcePath: string }) => {
75+
const Footer = ({ sourcePath }: { sourcePath: string }) => {
7576
return (
7677
<div>
7778
<footer>
@@ -107,7 +108,6 @@ const Footer = ({sourcePath}: { sourcePath: string }) => {
107108
and <a href="http://www.linuxfoundation.org/terms">Terms of Use</a>.
108109
</section>
109110
</footer>
110-
111111
</div>
112112
)
113113
}

0 commit comments

Comments
 (0)