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

Created Footer #14

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
53 changes: 52 additions & 1 deletion components/commons/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,60 @@
import { FC } from "react";
import Image from "next/image";
import { FooterProps as Props } from "./Footer.types";
import Squirrel from "./assets/Squirrel.png";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Write correct spelling

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling of image name corrected.

import { AiOutlineTwitter } from "react-icons/ai";
import { FaLinkedinIn } from "react-icons/fa";
import { FiGithub } from "react-icons/fi";
import styles from "./styles/Footer.module.scss";

const Footer: FC<Props> = ({}) => {
return <div>Footer here</div>;
return (
<>
<div className={styles.container}>
<div>
<ul>
<li>
<Image src={Squirrel} alt="" />
<span className={styles.main_styling}>Squeryll</span>
</li>
</ul>
<ul>
<li>Product</li>
<li>Feature</li>
<li>Performance</li>
<li>Pricing</li>
</ul>
<ul>
<li className={styles.bold_styling}> About </li>
<li>Privacy Policy</li>
<li>Security Information</li>
</ul>
<ul>
<li className={styles.bold_styling}>Support</li>
<li>Contact Us</li>
<li>Developers and API</li>
<li>Blog</li>
<li>Forum</li>
</ul>
<ul>
<li className={styles.bold_styling}>Social</li>
<li>
<FiGithub className={styles.icon} /> GitHub
</li>
<li>
<FaLinkedinIn className={styles.icon} /> LinkedIn
</li>
<li>
<AiOutlineTwitter className={styles.icon} /> Twitter
</li>
</ul>
</div>
<div>
<p>© 2023 Squeryll</p>
</div>
</div>
</>
);
};

export default Footer;
Binary file added components/commons/Footer/assets/Squirrel.png
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Write correct spelling

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling of image name corrected.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions components/commons/Footer/styles/Footer.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap");

$bg-color: rgba(17, 17, 17, 1);
$primary-color: #f5f4dc;

.container {
height: 507px;
font-family: "Inter", sans-serif;
background-color: $bg-color;
color: $primary-color;

div:first-child {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: normal;

ul {
list-style: none;
margin: 5rem;
margin-right: 2rem;

li {
margin: 15px;
padding-bottom: 15px;
list-style: none;
font-weight: 400;
font-size: 18px;
line-height: 22px;
span {
font-weight: 700;
font-size: 29.8802px;
line-height: 36px;
}
.icon {
height: 25px;
width: 25px;
color: #101010;
background-color: $primary-color;
margin-right: 3px;
margin-bottom: 0;
padding: 3px;
border-radius: 50%;
}
}
.bold_styling {
font-weight: 600;
font-size: 18px;
line-height: 22px;
}
}
}
div:last-child {
display: flex;
justify-content: center;
}
}
10 changes: 8 additions & 2 deletions next.config.js
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert it back to original. No need to write this.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

next.config.js modified.

Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
/** @type {import('next').NextConfig} */

const path = require("path");

const nextConfig = {
reactStrictMode: true,
}
sassOptions: {
includePaths: [path.join(__dirname, "styles")],
},
};

module.exports = nextConfig
module.exports = nextConfig;
Loading