-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a54cc85
commit ed83e4b
Showing
7 changed files
with
47 additions
and
139 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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import FormInput from './FormInput'; | ||
import SearchBarCity from './SearchBarCity'; | ||
|
||
export { SearchBarCity }; | ||
export default FormInput; |
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,4 @@ | ||
.root { | ||
margin-top: 3.5rem; | ||
min-height: calc(100vh - 11rem); | ||
} |
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 |
---|---|---|
@@ -1,118 +1,23 @@ | ||
/* eslint-disable react/jsx-curly-newline */ | ||
/* eslint-disable jsx-a11y/control-has-associated-label */ | ||
import React from 'react'; | ||
|
||
// import crossifyImg from 'assets/logos/logo_final.png'; | ||
import Container from 'react-bulma-companion/lib/Container'; | ||
import Content from 'react-bulma-companion/lib/Content'; | ||
import Footer from 'react-bulma-companion/lib/Footer'; | ||
|
||
import styles from './styles.module.css'; | ||
|
||
export default function FooterComponent() { | ||
const year = new Date().getFullYear(); | ||
|
||
export default function Footer() { | ||
return ( | ||
<footer className=" bg-gray-300 pt-8 pb-6"> | ||
<div | ||
className="bottom-auto top-0 left-0 right-0 w-full absolute pointer-events-none overflow-hidden -mt-20 h-20" | ||
style={{ transform: 'translateZ(0)' }} | ||
> | ||
<svg | ||
className="absolute bottom-0 overflow-hidden" | ||
xmlns="http://www.w3.org/2000/svg" | ||
preserveAspectRatio="none" | ||
version="1.1" | ||
viewBox="0 0 2560 100" | ||
x="0" | ||
y="0" | ||
> | ||
<polygon | ||
className="text-gray-300 fill-current" | ||
points="2560 0 2560 100 0 100" | ||
/> | ||
</svg> | ||
</div> | ||
<div className="container mx-auto px-4"> | ||
<div className="flex flex-wrap text-center lg:text-left"> | ||
<div className="w-full lg:w-6/12 px-4 "> | ||
<img | ||
alt="brandphoto" | ||
// TODO : Add brand icon | ||
src="" | ||
className="mr-2 inline-block" | ||
style={{ height: 30 }} | ||
/> | ||
<h4 className="text-3xl font-semibold inline-block pb-2"> | ||
Crossify | ||
</h4> | ||
<h5 className="text-lg mt-0 mb-2 text-gray-700"> | ||
Find your next favourite movie | ||
</h5> | ||
</div> | ||
<div className="w-full lg:w-6/12 px-4"> | ||
<div className="flex flex-wrap items-top mb-6"> | ||
<div className="w-full lg:w-6/12 px-4 ml-auto"> | ||
<div className="mt-6 lg:mb-0 mb-6"> | ||
<button | ||
className="bg-white text-blue-400 shadow-lg font-normal h-10 w-10 items-center justify-center | ||
align-center rounded-full outline-none focus:outline-none mr-2" | ||
type="button" | ||
onClick={() => { | ||
window.open( | ||
' https://twitter.com/moviebookbyalphaq', | ||
'_blank', | ||
); | ||
}} | ||
> | ||
<i className="fab fa-twitter" /> | ||
</button> | ||
<button | ||
className="bg-white text-blue-600 shadow-lg font-normal h-10 w-10 items-center justify-center | ||
align-center rounded-full outline-none focus:outline-none mr-2" | ||
type="button" | ||
onClick={() => | ||
window.open( | ||
'https://www.facebook.com/groups/510718810086566', | ||
'_blank', | ||
) | ||
} | ||
> | ||
<i className="fab fa-facebook-square" /> | ||
</button> | ||
<button | ||
className="bg-white text-blue-600 shadow-lg font-normal h-10 w-10 items-center justify-center | ||
align-center rounded-full outline-none focus:outline-none mr-2" | ||
type="button" | ||
onClick={() => { | ||
window.open( | ||
'https://www.linkedin.com/groups/9049763/', | ||
'_blank', | ||
); | ||
}} | ||
> | ||
<i className="fab fa-linkedin" /> | ||
</button> | ||
<button | ||
className="bg-white text-gray-900 shadow-lg font-normal h-10 w-10 items-center justify-center | ||
align-center rounded-full outline-none focus:outline-none mr-2" | ||
type="button" | ||
onClick={() => { | ||
window.open( | ||
'https://www.github.com/dhruvilshah191999/Crossify', | ||
'_blank', | ||
); | ||
}} | ||
> | ||
<i className="fab fa-github" /> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<hr className="my-6 border-gray-400" /> | ||
<div className="flex flex-wrap items-center md:justify-between justify-center"> | ||
<div className="w-full md:w-4/12 px-4 mx-auto text-center"> | ||
<div className="text-sm text-gray-600 font-semibold py-1 "> | ||
MovieBook by AlphaQ | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
<Footer className={styles.root}> | ||
<Container> | ||
<Content className={styles.content} textAlign="center"> | ||
<p> | ||
{`Copyright Ⓒ ${year} MERN Boilerplate. All Rights Reserved.`} | ||
</p> | ||
</Content> | ||
</Container> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.root { | ||
background-color: #c5c5c5; | ||
padding: 3rem 1.5rem; | ||
|
||
} | ||
|
||
.content a:visited { | ||
color: #000; | ||
} |
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