Skip to content

Commit 4bad1fc

Browse files
committed
hyperlinked license and sitemap in the footer
1 parent ad80519 commit 4bad1fc

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

src/components/Layout/Footer.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ const SocialLinksContainer = styled.div`
152152
const SiteMap = styled.div`
153153
display: ${(props) => (props.mobile ? 'block' : 'none')};
154154
margin-top: 40px;
155+
a {
156+
color: white;
157+
text-decoration: none;
158+
}
155159
156160
@media (min-width: 1280px) {
157161
display: ${(props) => (props.mobile ? 'none' : 'block')};
@@ -211,7 +215,15 @@ const Footer = () => {
211215
<FaGithubAlt />
212216
</a>
213217
</SocialLinksContainer>
214-
<SiteMap>License | Site Map</SiteMap>
218+
<SiteMap>
219+
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noreferrer noopener">
220+
License
221+
</a>
222+
{' '}|{' '}
223+
<a href="/sitemap/sitemap-0.xml" target="_blank">
224+
Site Map
225+
</a>
226+
</SiteMap>
215227
</ExternalLinksContainer>
216228
</AddressContainer>
217229
<NavigationContainer>

0 commit comments

Comments
 (0)