Skip to content
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

added footer #67

Open
wants to merge 2 commits into
base: development-gatsby
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 100 additions & 0 deletions src/components/footer/footer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
footer {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: azure;
background-color: #111;
height: auto;
padding-bottom: 10px;
}

.main {
background-color: #222;
display: flex;
align-items: center;
height: min-content;
justify-content: space-evenly;
padding: 10px;
}

.links {
display: flex;
justify-content: space-between;
gap: 20px;
}

.icons {
background-color: #76cef4;
width: min-content;
padding: 4px;
border-radius: 50%;
}

.icons img {
width: 20px;
position: relative;
margin-bottom: 1px;
}

.icons a {
display: flex;
align-items: center;
justify-content: center;
}

.icons a:hover {
color: azure;
filter: invert(100%);
transition: 1s;
}

.text {
line-height: 100%;
font-size: 20px;
text-align: center;
}

.more {
display: flex;
justify-content: space-evenly;
height: auto;
background-color: #111;
text-align: justify;
}

.tab {
width: 300px;
padding: 10px;
}

.tab img {
height: 40px;
}

.tab p {
font-size: 12px;
line-height: 15px;
}

#second.tab {
width: 180px;
}

.tab h5 {
padding: 10px 0 0 0;
margin: 0px;
}

.tab a {
font-size: 12px;
line-height: 20px;
}

.tab a:hover {
color: azure;
transition: 0.5s;
}

.copyright {
height: 15px;
font-size: 12px;
text-align: center;
}
70 changes: 68 additions & 2 deletions src/components/footer/footer.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,71 @@
import React from 'react'
import React from 'react';
import './footer.css';
import github from '../../images/github.svg';
import logo from '../../images/fabricjs-logo.png';

export default function Footer() {
return <footer>Copyright text and sitelinks here</footer>
return (
<footer>
<div class="main">
<div class="text">
Thank you for visiting our website! Check out more:
</div>
<div class="links">
<div class="icons">
<a href="https://github.com/fabricjs/fabric.js/" class="link">
<img alt="github icon" src={github} />
</a>
</div>
<div class="icons">
<a href="https://github.com/fabricjs/fabric.js/" class="link">
<img alt="github icon" src={github} />
</a>
</div>
<div class="icons">
<a href="https://github.com/fabricjs/fabric.js/" class="link">
<img alt="github icon" src={github} />
</a>
</div>
</div>
</div>
<div class="more">
<div class="tab">
<img alt="FabricJS logo" src={logo} /> <br></br>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat.
</p>
</div>
<div class="tab" id="second">
<h5>Useful Links</h5>
<p>
<a href="">Lorem</a>
<br></br>
<a href="">Ipsum</a>
<br></br>
<a href="">Dolor</a>
<br></br>
<a href="">Sit</a>
<br></br>
<a href="">Amet</a>
<br></br>
</p>
</div>
<div class="tab">
<h5>Contacts</h5>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat.
</p>
</div>
</div>
<div class="copyright">
<p>&copy; Copyright YEAR, FabricJS</p>
</div>
</footer>
);
}
1 change: 1 addition & 0 deletions src/images/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading