Skip to content

Commit

Permalink
fix(*): removed additional nav and footer
Browse files Browse the repository at this point in the history
  • Loading branch information
HoseaCodes committed Nov 30, 2021
1 parent c2bd1e8 commit 3702310
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 30 deletions.
4 changes: 0 additions & 4 deletions src/Pages/Articles/Article/Article.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import { GlobalState } from '../../../GlobalState';
import '../Articles.css'
import PermIdentityIcon from '@material-ui/icons/PermIdentity';
import EventNoteIcon from '@material-ui/icons/EventNote';
import NavBar from '../../../Components/NavBar/NavBar';
import Footer from '../../../Components/Footer/Footer';
import marked from 'marked';
import moment from 'moment-timezone'

Expand All @@ -31,7 +29,6 @@ const ArticleItem = () => {

return (
<>
<NavBar/>
<main className="blog-content">
<article className='blog-main'>
<h2 style={{ marginTop: '5rem', fontSize: '3rem', fontWeight: '600' }}>{subtitle}</h2>
Expand Down Expand Up @@ -71,7 +68,6 @@ const ArticleItem = () => {
</article>
</main>
<hr style={{ background: 'rgb(235,183,65)', width: '100%' }} />
<Footer/>
</>
)
}
Expand Down
4 changes: 0 additions & 4 deletions src/Pages/Articles/CreateArticle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { GlobalState } from '../../GlobalState';
import Loading from '../../Loading';
import { useHistory, useParams } from 'react-router-dom';
import axios from 'axios';
import NavBar from '../../Components/NavBar/NavBar';
import Footer from '../../Components/Footer/Footer';
import './CreateArticle.css';
import marked from 'marked';

Expand Down Expand Up @@ -111,7 +109,6 @@ function CreatArticle() {

return (
<>
<NavBar />
<div className="create_article" >
<div className="container fluid col-md-12">
<div id="signupbox" >
Expand Down Expand Up @@ -250,7 +247,6 @@ function CreatArticle() {
</div>
</div>
<hr style={{ background: 'rgb(235,183,65)', width: '100%' }} />
<Footer />
</>
)
}
Expand Down
2 changes: 0 additions & 2 deletions src/Pages/Auth/login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import axios from "axios";
import { Link } from "react-router-dom";

import { GlobalState } from '../../GlobalState';
import Footer from "../../Components/Footer/Footer";
import "./login.css";

const Login = () => {
Expand Down Expand Up @@ -67,7 +66,6 @@ const Login = () => {
</div>
</form>
</div>
<Footer />
</div>
);
};
Expand Down
3 changes: 0 additions & 3 deletions src/Pages/Auth/register.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import React, { useState } from "react";
import axios from "axios";
import { Link } from "react-router-dom";

import Footer from "../../Components/Footer/Footer";

import "./login.css";

const Register = () => {
Expand Down Expand Up @@ -81,7 +79,6 @@ const Register = () => {
</div>
</form>
</div>
<Footer />
</div>
);
};
Expand Down
4 changes: 0 additions & 4 deletions src/Pages/Client/Client.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import React from "react";
import NavBar from "../../Components/NavBar/NavBar";
import Footer from "../../Components/Footer/Footer"
import SocialRing from "../../Components/Clients/SocialRing";
import './Client.css';
import bootstrap from '../../Assets/Images/Bootstrap-min.png';

const Client = () => {
return (<>
<NavBar />
<div className='client-header'>
<div className='client-logo' id='client-logo'>
<h1 className='heading-client'>
Expand Down Expand Up @@ -166,7 +163,6 @@ const Client = () => {
</div>

<hr className="header-hr"/>
<Footer />
</>
)
}
Expand Down
6 changes: 1 addition & 5 deletions src/Pages/Home/Home.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import React from 'react';
import '../Home/Home.css';
import NavBar from '../../Components/NavBar/NavBar';
import SocialMedia from '../../Components/SocialMedia/SocialMedia';
import PersonalBrand from '../../Components/PersonalBrand/PersonalBrandOriginal';
import Footer from '../../Components/Footer/Footer';
import Testimonial from '../../Components/Testimonials/testimonial';
import Tech from '../../Components/Technologies/Tech';
import EmailIcon from '@material-ui/icons/Email';
Expand All @@ -17,8 +15,7 @@ class Home extends React.Component {
return (
<>
<main className='home-page'>
<NavBar id='top' />
<Hero Home username={{firstName: 'Hosea', lastName: 'Codes'}}/>
<Hero id='top' Home username={{firstName: 'Hosea', lastName: 'Codes'}}/>
<StyledHr Primary/>
<PersonalBrand />
<StyledHr Primary/>
Expand Down Expand Up @@ -78,7 +75,6 @@ class Home extends React.Component {
</StyledButtonATag>
</div>
</div>
<Footer />
</main>
</>
)
Expand Down
4 changes: 0 additions & 4 deletions src/Pages/Projects/Project/Project.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import React from 'react';
import { useParams } from 'react-router-dom';
import NavBar from '../../../Components/NavBar/NavBar';
import {StyledHr} from '../../../Layout/Hr/styledHr';
import Footer from '../../../Components/Footer/Footer';
import {projectData} from '../ProjectsData'
import './Project.css';

Expand Down Expand Up @@ -42,7 +40,6 @@ const ProjectItem = () => {

return (
<>
<NavBar/>
<div id="single-work" className="project-group">
<div style={{backgroundImage: `url(${headerImg})`}} id="top" className="hero-single-work">
<div className="hero-single-work-content">
Expand Down Expand Up @@ -294,7 +291,6 @@ const ProjectItem = () => {
</main>
</div>
<StyledHr Primary/>
<Footer/>
</>
)
}
Expand Down
4 changes: 0 additions & 4 deletions src/Pages/Projects/Projects.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,14 @@

import React from 'react';
import './Projects.css';
import NavBar from '../../Components/NavBar/NavBar';
import {projectData} from './ProjectsData';
import ProjectCard from '../../Components/Cards/projectCard';
import Footer from '../../Components/Footer/Footer';
import { StyledHr } from '../../Layout/Hr/styledHr';

const Projects = () => {

return (
<div>
<NavBar />
<div className='header2'>
<div className='header-logo'>
</div>
Expand All @@ -104,7 +101,6 @@ const Projects = () => {
</>
)
})}
<Footer/>
</div>
)

Expand Down

0 comments on commit 3702310

Please sign in to comment.