-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- ensure there is a mobile resposive footer layout - ensure there is a desktop footer layout [Finishes #167697967]
- Loading branch information
Showing
19 changed files
with
209 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ ratings: | |
exclude_paths: | ||
- "**/*_test.go" | ||
- "**/*spec.js" | ||
- "**/src/assets/**" | ||
- "*_test.go" | ||
- "vendor/" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import YoutubeIcon from './youtube.svg'; | ||
import FacebookIcon from './facebook.svg'; | ||
import LinkedInIcon from './linkedin.svg'; | ||
import InstagramIcon from './instagram.svg'; | ||
import TwitterIcon from './twitter.svg'; | ||
|
||
export { YoutubeIcon, FacebookIcon, LinkedInIcon, InstagramIcon, TwitterIcon }; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900|Roboto&display=swap'); | ||
|
||
|
||
.footer { | ||
font-family: 'Poppins', sans-serif; | ||
position: fixed; | ||
left: 0px; | ||
bottom: 0px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import React from 'react'; | ||
import './Footer.css'; | ||
|
||
import { | ||
YoutubeIcon, | ||
FacebookIcon, | ||
LinkedInIcon, | ||
InstagramIcon, | ||
TwitterIcon | ||
} from '../../assets/icons'; | ||
|
||
const Footer = () => { | ||
return ( | ||
<footer className="footer flex flex-wrap w-full justify-center px-5"> | ||
<div className="sm:w-1/2 h-8"> | ||
<p className=" flex justify-start">Designed by Kifaru Team</p> | ||
</div> | ||
<div className="sm:w-1/2 h-8"> | ||
<ul className="flex justify-end items-center"> | ||
<li className="mx-1 px-2 py-1 cursor-pointer"> | ||
<TwitterIcon /> | ||
</li> | ||
<li className="mx-1 px-2 py-1 cursor-pointer"> | ||
<FacebookIcon /> | ||
</li> | ||
<li className="mx-1 px-2 py-1 cursor-pointer"> | ||
<InstagramIcon /> | ||
</li> | ||
<li className="mx-1 px-2 py-1 cursor-pointer"> | ||
<YoutubeIcon /> | ||
</li> | ||
<li className="mx-1 px-2 py-1 cursor-pointer"> | ||
<LinkedInIcon /> | ||
</li> | ||
</ul> | ||
</div> | ||
</footer> | ||
); | ||
}; | ||
|
||
export default Footer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react'; | ||
import toJson from 'enzyme-to-json'; | ||
import { shallow } from './enzyme'; | ||
import Footer from '../src/components/Footer/Footer'; | ||
|
||
describe('Footer layout', () => { | ||
it('should render without crashing', () => { | ||
const wrapper = shallow(<Footer />); | ||
|
||
expect(toJson(wrapper)).toMatchSnapshot(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Footer layout should render without crashing 1`] = ` | ||
<footer | ||
className="footer flex flex-wrap w-full justify-center px-5" | ||
> | ||
<div | ||
className="sm:w-1/2 h-8" | ||
> | ||
<p | ||
className=" flex justify-start" | ||
> | ||
Designed by Kifaru Team | ||
</p> | ||
</div> | ||
<div | ||
className="sm:w-1/2 h-8" | ||
> | ||
<ul | ||
className="flex justify-end items-center" | ||
> | ||
<li | ||
className="mx-1 px-2 py-1 cursor-pointer" | ||
> | ||
<[object Object] /> | ||
</li> | ||
<li | ||
className="mx-1 px-2 py-1 cursor-pointer" | ||
> | ||
<[object Object] /> | ||
</li> | ||
<li | ||
className="mx-1 px-2 py-1 cursor-pointer" | ||
> | ||
<[object Object] /> | ||
</li> | ||
<li | ||
className="mx-1 px-2 py-1 cursor-pointer" | ||
> | ||
<[object Object] /> | ||
</li> | ||
<li | ||
className="mx-1 px-2 py-1 cursor-pointer" | ||
> | ||
<[object Object] /> | ||
</li> | ||
</ul> | ||
</div> | ||
</footer> | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters