Skip to content

Commit

Permalink
fix(home): added repsonsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
HoseaCodes committed Dec 15, 2021
1 parent 5037dc2 commit f6342d6
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 445 deletions.
4 changes: 4 additions & 0 deletions src/Components/Footer/Footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,7 @@ footer p {
margin: 0%;
}
}

.twitter-footer {
overflow: hidden;
}
6 changes: 3 additions & 3 deletions src/Components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Footer = () => {
<footer className="footer">
<div className="container bottom_border">
<div className="row">
<div className=" col-sm-4 col-md col-sm-4 col-12 col">
<div className=" col-sm-4 col-md col-12 col">
<h5 className="footer_h5 col_white_amrc pt2">Find Me</h5>
<p className="mb10">HoseaCodes’ mission statement is to build the future while empowering every person and every organization on the planet to achieve more. </p>
<p><i className="fa fa-location-arrow"></i> Houston, TX </p>
Expand Down Expand Up @@ -39,7 +39,7 @@ const Footer = () => {
<li><a href="http://webenlance.com">Image Cropping</a></li>
</ul>
</div>
<div className=" col-sm-4 col-md col-12 col">
<div className=" col-sm-4 col-md col-12 col twitter-footer">
<h5 className="footer_h5 col_white_amrc pt2">Follow Me On</h5>
{/* Twitter Profile Tweets */}
<ul className="footer_ul2_amrc">
Expand All @@ -50,7 +50,7 @@ const Footer = () => {
</div>
</div>
</div>
<div className="container">
<div className="container col-md ">
<ul className="foote_bottom_ul_amrc">
<li><a href="/">Home</a></li>
<li><a href="/about">About</a></li>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/NavBar/NavBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const NavBar = () => {
const [user] = state.userAPI.user
const [isActive, toggle] = useReducer(
(isActive) => !isActive,
false
true
);

return (
Expand Down
8 changes: 7 additions & 1 deletion src/Components/PersonalBrand/PersonalBrand.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@
color: #fff;
}

.personal-btn-wrapper {
display: flex;
justify-content: space-around;
}

@keyframes peronal-btn {
0% {
left: 250%;
Expand Down Expand Up @@ -185,9 +190,10 @@
height: 50vh;
margin: auto;
}
.personal-card-info {
.personal-btn-wrapper {
display: none;
}

.bio-info {
margin-top: 3rem;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Components/PersonalBrand/PersonalBrandOriginal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ const PersonalBrand = () => {
that believe in growth and innovation. I have worked progressively with major
companies since the beginning of my career and I am excited for the opportunity
to continue this journey with another industry leader.</p>
<div style={{ display: "flex", justifyContent: 'space-around' }}>
<div className="personal-btn-wrapper" >
<StyledButton onClick={handleClick}>More about Dominique</StyledButton>
<StyledButton onClick={handleDownload}>Download my Resume</StyledButton>
<StyledButton className="download-btn" onClick={handleDownload}>Download my Resume</StyledButton>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Project/projectHighlight.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import ProjectCard from '../Cards/projectCard';
import ProjectCard from '../Cards/project';
import {projectData} from '../../Pages/Projects/ProjectsData';
import AOS from 'aos';
import 'aos/dist/aos.css';
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Technologies/Technologies.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@

@media only screen and (min-device-width: 375px) and (max-device-width: 768px) {
.tech-title {
/* font-size: 1.5rem; */
font-size: 3rem;
}
}

Expand Down
3 changes: 1 addition & 2 deletions src/Layout/Button/styledButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,9 @@ export const StyledButtonATag = styled.a`
transition: 0.5s color ease;
}
@media only screen and (min-device-width: 375px) and (max-device-width: 1180px) {
width: 20%;
width: fit-content;
margin: auto;
bottom: 0 !important;
width: 40%;
}
`}
`;
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Articles/Articles.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

import React, { useState, useContext, useEffect } from 'react';
import React, { useState, useContext } from 'react';
import './Articles.css'
import Subscribe from '../../Components/Subscribe/Subscribe'
// import { articleData, categoryTags } from './ArticleData';
Expand Down
4 changes: 1 addition & 3 deletions src/Pages/Articles/BtnRender.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ function BtnRender({ article, deleteArticle }) {
<div className="row_btn">
<Link id="btn_buy" to="#!" onClick={() => deleteArticle(article._id, article.images.public_id)}> Delete</Link>
<Link id="btn_view" to={`/edit_article/${article._id}`}> Edit</Link>


</div>
)
}

export default BtnRender;
export default BtnRender;
Loading

0 comments on commit f6342d6

Please sign in to comment.