Skip to content

Commit e9491ac

Browse files
authored
Merge pull request #2 from DBOMproject/update/footer
update/footer - add footer text
2 parents 19f2f22 + 3b25dea commit e9491ac

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

src/components/FooterElement.js

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
import * as React from "react"
2-
import { Box, Image } from "@chakra-ui/react"
2+
import { Box, Image, Text } from "@chakra-ui/react"
33
import tlfLogo from "../images/linux-foundation-vert-white.svg"
44
import { Link } from "gatsby"
55

66
const FooterElement = () => (
77
<>
88
<Box
99
w={"100%"}
10-
h={"8.75rem"}
10+
h={{ base: "14rem", md: "10rem" }}
1111
bg={"brand.500"}
1212
display={"flex"}
1313
alignItems={"center"}
1414
justifyContent={"center"}
15+
flexDir={"column"}
1516
>
1617
<Link
1718
href={"https://www.linuxfoundation.org/"}
@@ -20,6 +21,24 @@ const FooterElement = () => (
2021
>
2122
<Image src={tlfLogo} alt="the-linux-foundation-logo"></Image>
2223
</Link>
24+
<Box
25+
pt="2rem"
26+
display={"flex"}
27+
alignItems={"center"}
28+
justifyContent={"center"}
29+
flexDir={"column"}
30+
>
31+
<Text color={"white"} fontSize="xs" textAlign={"center"}>
32+
{`Copyright © DBOM Technical Project a Series of LF Projects, LLC`}
33+
</Text>
34+
<Text color={"white"} fontSize="xs" textAlign={"center"}>
35+
{`For website terms of use, trademark policy and other project policies
36+
please see `}
37+
<Link href="https://lfprojects.org">
38+
<Text as="u">{`https://lfprojects.org`}</Text>
39+
</Link>
40+
</Text>
41+
</Box>
2342
</Box>
2443
</>
2544
)

0 commit comments

Comments
 (0)