-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated smaller footer #138
Open
perdi8
wants to merge
6
commits into
Lemoncode:master
Choose a base branch
from
perdi8:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+132
−139
Open
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
9b59c59
updated smaller footer
1040048
update-small-footer
cfc5ed3
update static footer screen
2f6f360
Add-download-text-button and bug-ci-github
3fe6735
update bug ci and download text button
124a7f3
Merge pull request #2 from perdi8/Add-download-text-button
perdi8 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -9,38 +9,37 @@ import LanguageIcon from '@material-ui/icons/Language'; | |
export const FooterComponent: React.FC = () => { | ||
const { | ||
footerContainer, | ||
topContainerCenter, | ||
logoContainer, | ||
lemoncodeIcon, | ||
bottomContainer, | ||
iconContainer, | ||
iconListItem, | ||
icon, | ||
githubIcon, | ||
copyright, | ||
} = classes; | ||
return ( | ||
<footer className={footerContainer}> | ||
<div className={topContainerCenter}> | ||
<div className={logoContainer}> | ||
<LemoncodeLogo className={lemoncodeIcon} /> | ||
</div> | ||
<div className={bottomContainer}> | ||
<ul className={iconContainer}> | ||
<li className={iconListItem}> | ||
<li> | ||
<a href="https://github.com/Lemoncode" target="_blank"> | ||
<GithubIcon className={githubIcon} /> | ||
</a> | ||
</li> | ||
<li className={iconListItem}> | ||
<li> | ||
<a href="https://twitter.com/lemoncoders" target="_blank"> | ||
<TwitterIcon className={icon} /> | ||
</a> | ||
</li> | ||
<li className={iconListItem}> | ||
<li> | ||
<a href="https://lemoncode.net/" target="_blank"> | ||
<LanguageIcon className={icon} /> | ||
</a> | ||
</li> | ||
<li className={iconListItem}> | ||
<li> | ||
<a href="mailto:[email protected]" target="_blank"> | ||
<EmailRoundedIcon className={icon} /> | ||
</a> | ||
|
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
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 |
---|---|---|
|
@@ -118,3 +118,4 @@ export const undoIcon = css` | |
display: initial; | ||
} | ||
`; | ||
|
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 |
---|---|---|
|
@@ -568,61 +568,39 @@ form textarea { | |
.footer { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
height: 30rem; | ||
padding: 2rem 10rem; | ||
justify-content: space-around; | ||
background-color: var(--color-dark); | ||
} | ||
|
||
@media only screen and (max-width: 728px) { | ||
.footer { | ||
padding: 2rem 4rem 3rem 4rem; | ||
} | ||
} | ||
|
||
@media only screen and (max-width: 380px) { | ||
.footer { | ||
height: 35rem; | ||
} | ||
.footer-container { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
padding: 0 10rem; | ||
} | ||
|
||
.footer__top-container { | ||
padding: 0 2rem; | ||
.footer__bottom-container { | ||
display: flex; | ||
justify-content: space-between; | ||
height: 19.5rem; | ||
align-items: center; | ||
border-top: 1px solid #d9d900; | ||
padding: 1.5rem 0 3.5rem 0; | ||
} | ||
|
||
@media only screen and (max-width: 380px) { | ||
.footer__top-container { | ||
flex-direction: column-reverse; | ||
align-items: center; | ||
.footer__bottom-container { | ||
flex-direction: column; | ||
justify-content: center; | ||
height: 22rem; | ||
align-items: center; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the same |
||
} | ||
|
||
.footer__logo { | ||
height: 10rem; | ||
width: 11.2rem; | ||
} | ||
|
||
.footer__list { | ||
padding: 0; | ||
margin: 0; | ||
font-size: 1.5rem; | ||
list-style: none; | ||
} | ||
|
||
@media only screen and (max-width: 380px) { | ||
.footer__list { | ||
text-align: center; | ||
margin-top: 2.4rem; | ||
} | ||
padding-top: 4rem; | ||
} | ||
|
||
.footer__list__item { | ||
margin-top: 0.5rem; | ||
margin-top: 1.5rem; | ||
} | ||
|
||
.footer__list__item a { | ||
|
@@ -636,47 +614,33 @@ form textarea { | |
color: var(--color-primary-main); | ||
} | ||
|
||
.footer__bottom-container { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
border-top: 1px solid #d9d900; | ||
padding-top: 1rem; | ||
} | ||
|
||
@media only screen and (max-width: 380px) { | ||
.footer__bottom-container { | ||
flex-direction: column; | ||
align-items: center; | ||
.footer__list { | ||
text-align: center; | ||
margin-top: 2.4rem; | ||
} | ||
} | ||
|
||
.footer--logo-lemon-container:hover .footer--logo-lemon { | ||
fill: var(--color-secondary-main); | ||
} | ||
|
||
.footer--logo-lemon { | ||
position: absolute; | ||
top: 0.8rem; | ||
right: 1.6rem; | ||
fill: var(--color-light); | ||
height: 10rem; | ||
width: 10rem; | ||
.footer__logo { | ||
display: flex; | ||
justify-content: right; | ||
align-items: center; | ||
max-width: 100px; | ||
padding: 0.5rem 0; | ||
} | ||
|
||
.footer__icon-list { | ||
display: flex; | ||
align-items: center; | ||
padding: 0; | ||
margin: 0; | ||
list-style: none; | ||
padding: 0 5rem; | ||
} | ||
|
||
.footer__icon-list-item { | ||
margin-right: 1.2rem; | ||
margin-right: 1.5rem; | ||
fill: var(--color-grey-light); | ||
} | ||
.footer__icon-list-item:last-of-type { | ||
margin-right: 0; | ||
|
||
.footer__list__item a:hover { | ||
color: var(--color-primary-main); | ||
} | ||
|
||
.footer__icon { | ||
|
@@ -687,25 +651,14 @@ form textarea { | |
|
||
.footer__icon:hover { | ||
fill: var(--color-primary-main); | ||
} | ||
|
||
.footer__icon-twitter { | ||
height: 3.5rem; | ||
width: 3.5rem; | ||
margin-top: 0.2rem; | ||
margin-right: -0.6rem; | ||
margin-left: -0.6rem; | ||
fill: var(--color-grey-light); | ||
} | ||
|
||
.footer__icon-twitter:hover { | ||
fill: var(--color-primary-main); | ||
cursor: pointer; | ||
} | ||
|
||
.footer__copyright { | ||
font-weight: 400; | ||
font-size: 1.5rem; | ||
padding: 0 5rem; | ||
color: var(--color-grey-light); | ||
font-weight: 300; | ||
font-size: 1.4rem; | ||
} | ||
|
||
@media only screen and (max-width: 578px) { | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think isn't necessary because the top menu is fixed