Skip to content

Commit

Permalink
update footer image and description
Browse files Browse the repository at this point in the history
  • Loading branch information
SaravShah committed Nov 9, 2018
1 parent bfa9a5b commit 4a9b9e8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion __tests__/components/Footer.test.js
Expand Up @@ -5,7 +5,7 @@ import Footer from '../../src/components/Footer'
describe('<Footer />', () => {
const wrapper = shallow(<Footer />)
it ('renders the creative common license image', () => {
expect(wrapper.find("img[alt='Creative Commons License'][src^='https://i.creativecommons.org']")).toBeDefined()
expect(wrapper.find("img[alt='CC0'][src^='https://i.creativecommons.org']")).toBeDefined()
})
it ('contains the ld4p link', () => {
expect(wrapper.find('a[href="http://www.ld4p.org"]')).toBeDefined()
Expand Down
12 changes: 6 additions & 6 deletions src/components/Footer.jsx
Expand Up @@ -2,16 +2,16 @@ import React from 'react'

const Footer = () => (
<div id="footer" className="row">
<div id="footer-image" className="col-xs-2">
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/">
<img alt="Creative Commons License" src="https://i.creativecommons.org/l/by/4.0/88x31.png" />
<div id="footer-image" className="col-xs-6 col-sm-1">
<a className='footer-image' rel="license" href="http://creativecommons.org/publicdomain/zero/1.0/" target="_blank">
<img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/88x31.png" />
</a>
</div>
<div id="footer-text" className="col-xs-10">
<div id="footer-text" className="col-xs-6 col-sm-10">
<p>
<small>
Sinopia is a project of <a href="http://www.ld4p.org">Linked Data for Production 2 (LD4P2)</a>, generously funded by the Andrew W. Mellon Foundation.
All content in Sinopia is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
Sinopia is a project of <a rel="grant" href="http://www.ld4p.org" target="_blank"> Linked Data for Production 2 (LD4P2)</a>, generously funded by the Andrew W. Mellon Foundation.
All metadata available on Sinopia are published free of restrictions, under the terms of the <a rel="license" href="https://creativecommons.org/publicdomain/zero/1.0/" target="_blank">Creative Commons CC0 1.0 Universal Public Domain Dedication</a>.
</small>
</p>
</div>
Expand Down
3 changes: 3 additions & 0 deletions src/styles/main.css
Expand Up @@ -59,4 +59,7 @@ body {
.arrow-icon{
color: white;
font-size: 1.2em;
}
#footer-image{
padding-right: 10%;
}

0 comments on commit 4a9b9e8

Please sign in to comment.