Skip to content

Commit

Permalink
Merge pull request #166 from Front-znad-zatoki/frontend/#162-style-fo…
Browse files Browse the repository at this point in the history
…oter

Frontend/#162 style footer
  • Loading branch information
vieraboschkova authored Apr 13, 2021
2 parents 4a1d398 + ab3a5b3 commit 94ba9b0
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 5 deletions.
3 changes: 3 additions & 0 deletions client/src/components/App/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ a:visited {
color: #fff;
}

a:-webkit-any-link {
color: #fff;
}
ul {
list-style: none;
}
Expand Down
16 changes: 13 additions & 3 deletions client/src/components/Footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,25 @@ import { CinemaContext } from '../../context/Cinema';

export default function Footer() {
const { currentCinema } = useContext(CinemaContext);
console.log(currentCinema);
return (
<footer className="footer">
<ul className="footer__list">
<a href="https://coderscamp.edu.pl/" className="footer__item-detail">
<h5 className="footer__header">CODERSCAMP 2020</h5>
</a>
<li className="footer__item">
<h4 className="footer__item-header">Address</h4>
<h6 className="footer__item-header">Address</h6>
<p className="footer__item-detail">
{currentCinema.country}, {currentCinema.city}
</p>
<p className="footer__item-detail">{currentCinema.street}</p>
<p className="footer__item-detail">
{`${currentCinema.hours.open}:00 - ${currentCinema.hours.close}:00`}
</p>
</li>
<li className="footer__item">
<h4 className="footer__item-header">Contact</h4>
<h6 className="footer__item-header">Contact</h6>
<a
href={`mailto:${currentCinema.email}`}
className="footer__item-detail"
Expand All @@ -30,20 +37,23 @@ export default function Footer() {
</a>
</li>
<li className="footer__item">
<h4 className="footer__item-header">Authors</h4>
<h6 className="footer__item-header">Authors</h6>
<a href="https://github.com/synowa" className="footer__item-detail">
<span className="fab fa-github" />
Ola
</a>
<a
href="https://github.com/paula0403"
className="footer__item-detail"
>
<span className="fab fa-github" />
Paulina
</a>
<a
href="https://github.com/vieraboschkova"
className="footer__item-detail"
>
<span className="fab fa-github" />
Weronika
</a>
</li>
Expand Down
25 changes: 23 additions & 2 deletions client/src/components/Footer/style.scss
Original file line number Diff line number Diff line change
@@ -1,28 +1,49 @@
@import '../../styles/variables';
.footer {
&__header {
text-align: center;
letter-spacing: 10px;
font-size: $font-size-secondary;
text-transform: uppercase;
&:hover {
cursor: pointer;
}
}
&__list {
display: flex;
justify-content: space-around;
justify-content: space-between;
align-items: flex-start;
list-style-type: none;
text-align: center;
margin: 0 32px;
padding: 16px 0;
font-size: 14px;
}
&__item {
display: flex;
flex-direction: column;
align-items: baseline;
line-height: 1.5;
&-detail {
display: block;
padding: 0;
text-transform: lowercase;
font-weight: 100;
&:hover {
transition: none;
}
& span {
padding-right: 8px;
}
}
&-header {
font-size: $font-size-secondary;
text-transform: uppercase;
letter-spacing: 5px;
}
}
font-family: $font-primary;
font-size: $font-size-secondary;
padding: 16px 0;
background-color: #000;
color: #f1f1f1;
letter-spacing: 2px;
Expand Down
2 changes: 2 additions & 0 deletions client/src/components/Ticket/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
&__heading {
text-align: center;
}
width: 432px;
border: 2px #6e093a solid;
border-radius: 4px;
background: $color-primary;
Expand All @@ -29,6 +30,7 @@
display: flex;
position: relative;
flex-wrap: wrap;
justify-content: space-around;
}
}
& input[type='radio'] {
Expand Down
5 changes: 5 additions & 0 deletions client/src/domain/User/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
&-details {
display: block;
margin: 8px;
& .ticket {
width: 100%;
margin: 0;
margin-bottom: 16px;
}
&__item {
padding: 8px 0;
font-weight: 700;
Expand Down

0 comments on commit 94ba9b0

Please sign in to comment.