Skip to content

Commit

Permalink
Merge pull request WeMakeDevs#5 from commclassroom/title
Browse files Browse the repository at this point in the history
[FIX] <Change App Name>
  • Loading branch information
SuperAayush authored Oct 14, 2022
2 parents 88c4151 + 6b0524e commit 4ab92b1
Show file tree
Hide file tree
Showing 7 changed files with 170 additions and 3 deletions.
3 changes: 2 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
name="description"
content="Web site created using create-react-app"
/>
<link href="https://api.fontshare.com/v2/css?f[]=general-sans@2&display=swap" rel="stylesheet">
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
Expand All @@ -24,7 +25,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>Community Classroom</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
11 changes: 11 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.root{
font-family: 'General Sans Variable';
}
body{
line-height: 1.5;
}
*{
margin:0;
padding:0;
box-sizing: border-box;
}
4 changes: 3 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import React from 'react'
import './App.css'
import Footer from './components/Footer.js'

const App = () => {
return (
<div>App</div>
<div className="main"><Footer /></div>
)
}

Expand Down
Binary file added src/assests/community-classroom-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 61 additions & 0 deletions src/components/Footer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
import React from 'react'
import '../styles/Footer.css'
import CC from '../assests/community-classroom-logo.png'

const Footer = () => {
return (
<div className="footer">
<div class="container">
<div class="row">
<div class="footer-col1">
<img src={CC} alt="" />
<ul>
<li><br/></li>
<li><br/></li>
<li><br/></li>
<li><br/></li>
<li><br/></li>
<li><br/></li>
<li><br/></li>
<li><br/></li>
<li>© 2022 Community Classroom · All rights reserved.</li>
</ul>
</div>
<div class="footer-col">
<h4>Sitemap</h4>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Courses</a></li>
<li><a href="#">Roadmaps</a></li>
<li><a href="#">Events</a></li>
</ul>
</div>
<div class="footer-col">
<h4>Community</h4>
<ul>
<li><a href="#">YouTube</a></li>
<li><a href="#">Discord</a></li>
<li><a href="#">Telegram</a></li>
<li><a href="#">Twitter</a></li>
<li><a href="#">Instagram</a></li>
<li><a href="#">GitHub</a></li>
</ul>
</div>
<div class="footer-col">
<h4>Company</h4>
<ul>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Terms Of Use</a></li>
<li><a href="#">Contact Us</a></li>
<li><a href="#">Legal</a></li>
</ul>
</div>
</div>
</div>
</div>
)
}

export default Footer
1 change: 0 additions & 1 deletion src/index.css

This file was deleted.

93 changes: 93 additions & 0 deletions src/styles/Footer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
.container{
max-width: 1170px;
margin:auto;
}
.row{
display: flex;
flex-wrap: wrap;
}
ul{
list-style: none;
color: #5F7086;
}
.footer{
padding: 70px 0;
}
.footer-col1{
margin-right: 250px;
font-size: 18px;
}
.footer-col{
width: 15%;
padding: 0 15px;
}
.footer-col h4{
font-size: 18px;
text-transform: capitalize;
margin-bottom: 35px;
font-weight: 500;
position: relative;
}
.footer-col h4::before{
content: '';
position: absolute;
left:0;
bottom: -10px;
background-color: #4094EC;
height: 2px;
box-sizing: border-box;
width: 50px;
}
.footer-col ul li:not(:last-child){
margin-bottom: 10px;
}
.footer-col ul li a{
font-size: 20px;
text-transform: capitalize;
text-decoration: none;
font-weight: 300;
color: #5F7086;
display: block;
transition: all 0.3s ease;
}
.footer-col ul li a:hover{
color: #000000;
padding-left: 8px;
}
.footer-col .social-links a{
display: inline-block;
height: 40px;
width: 40px;
background-color: rgba(255,255,255,0.2);
margin:0 10px 10px 0;
text-align: center;
line-height: 40px;
border-radius: 50%;
transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
color: #24262b;
background-color: #ffffff;
}

/*responsive*/
@media(max-width: 767px){
.footer-col1{
width: 50%;
margin-bottom: 30px;
}
.footer-col{
width: 50%;
margin-bottom: 30px;
}
}
@media(max-width: 574px){
.footer-col{
width: 100%;
}
}





0 comments on commit 4ab92b1

Please sign in to comment.