Skip to content

Commit

Permalink
fix(*): adj home screen
Browse files Browse the repository at this point in the history
  • Loading branch information
HoseaCodes committed Feb 25, 2024
1 parent d57246f commit d88b6b1
Show file tree
Hide file tree
Showing 9 changed files with 110 additions and 49 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"react-scripts": "4.0.3",
"react-spring": "^8.0.27",
"react-sticky-state": "^2.1.9",
"react-twitter-widgets": "^1.10.0",
"react-twitter-widgets": "^1.11.0",
"serve-favicon": "^2.5.0",
"slug": "^5.1.0",
"slugify": "^1.6.0",
Expand Down
18 changes: 18 additions & 0 deletions src/Components/Footer/Footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ footer p {
color: #ccc;
padding-bottom: 0px;
margin-bottom: 8px;
display: flex;
gap: 4%;
align-items: center;
}

.mb10 {
Expand Down Expand Up @@ -49,6 +52,11 @@ footer p {
text-decoration: none;
}

.copyright {
display: flex;
justify-content: center;
}

.fleft {
float: left;
}
Expand All @@ -63,6 +71,11 @@ footer p {
padding: 0px;
}

.footer_ul2_amrc li {
display: flex;
align-items: baseline;
}

.footer_ul2_amrc li p {
display: table;
}
Expand All @@ -78,6 +91,11 @@ footer p {
.bottom_border {
border-bottom: 1px solid #323f45;
padding-bottom: 20px;
width: 100%;
}

.social_footer_ul li a {
display: flex;
}

.foote_bottom_ul_amrc {
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const Footer = (props) => {
</li>
</ul>
{/* <!--foote_bottom_ul_amrc ends here--> */}
<p className="text-center">
<p className="copyright">
All Rights Reserved, &copy; {year} Hosea Codes
</p>
<SocialMediaTags />
Expand Down
1 change: 0 additions & 1 deletion src/Components/SocialMedia/SocialMedia.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import TweeterTimeline from '../Twitter/Timeline';
const SocialMedia = () => {
return (<div style={{ background: '#1A1E23', margin: '0' }}>
<TweeterTimeline />
{/* <Github login='hoseacodes' /> */}
</div>
)

Expand Down
68 changes: 44 additions & 24 deletions src/Components/Technologies/Tech.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,33 +30,53 @@ class Tech extends Component {
const imgSlide = {"AWS": AWS, "azure": Azure, "Architecture": Arch,
"firebase": Firebase, "github": Github, "gitlab": GitLab, "splunk": Splunk, "npm": NPM,
"springboot": SpringBoot, "terraform": Terraform, "react": Reactt, "tailwind": Tailwind,
"DevOps": DevOps, "bootstrap": Bootstrap, "javascript": JS, "Django": Django, "mongodb": MongoDB, "nodejs": Node, "postgresql": postgresql, "python": Py,
"swift": Swift,"jquery": JQuery, "java": 'https://i.imgur.com/wiEM1zo.png',"solidity": 'https://i.imgur.com/NhpXJN2.png'};
"DevOps": DevOps, "bootstrap": Bootstrap, "javascript": JS, "Django": Django, "mongodb": MongoDB,
"nodejs": Node, "postgresql": postgresql, "python": Py,
"swift": Swift,"jquery": JQuery, "java": 'https://i.imgur.com/wiEM1zo.png',"solidity": 'https://i.imgur.com/NhpXJN2.png'
};
function getRandomObjectKeys(obj, count) {
const keys = Object.keys(obj);
const shuffledKeys = keys.sort(() => 0.5 - Math.random());
return shuffledKeys.slice(0, count);
}

const selectedObjects = getRandomObjectKeys(imgSlide, 14);
return (
<>
<div className="tech-container">
<h2
data-aos="fade-down"
data-aos-offset="500"
data-aos-duration="3000"
data-aos-easing="ease-in"
className='tech-title'>Technologies</h2>
<>
<div className="tech-container">
<h2
data-aos="fade-down"
data-aos-offset="500"
data-aos-duration="3000"
data-aos-easing="ease-in"
className="tech-title"
>
Technologies
</h2>

<div className="client-slider">
<div className="client-slide-track">
{Object.keys(imgSlide).map((img) => {
return (
<div className="client-slide" key={img}>
<img style={{width: "auto", height: "-webkit-fill-available"}} src={imgSlide[img]} height="50" width="150" alt={img} />
</div>
)
})}
</div>
</div>
<div className="client-slider">
<div className="client-slide-track">
{selectedObjects.map((img) => {
return (
<div className="client-slide" key={img}>
<img
style={{
width: "auto",
height: "-webkit-fill-available",
}}
src={imgSlide[img]}
height="50"
width="150"
alt={img}
/>
</div>
);
})}
</div>

</>
)
</div>
</div>
</>
);
}
}

Expand Down
33 changes: 20 additions & 13 deletions src/Components/Twitter/Timeline.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
import React from 'react';
import './Timeline.css'
import { Timeline } from 'react-twitter-widgets';
import { Timeline, Tweet } from 'react-twitter-widgets';

const TweeterTimeline = () => {
return (
<div className='twitter'
data-aos="fade-right"
data-aos-offset="600"
data-aos-easing="ease-in"
data-aos-duration="500"
>
<Timeline dataSource={{
sourceType: "profile", screenName: "DominiqueRHosea",
}}
options={{ theme: "dark", width: "600", height: "600" }} />
</div>
)
<div
className="twitter"
data-aos="fade-right"
data-aos-offset="600"
data-aos-easing="ease-in"
data-aos-duration="500"
>
<Timeline
dataSource={{ sourceType: "profile", screenName: "DominiqueRHosea" }}
options={{ theme: "dark", width: "400", height: "600" }}
renderError={(_err) => (
<Tweet
tweetId="1761258186055512516"
options={{ theme: "dark", width: "400", height: "600" }}
/>
)}
/>
</div>
);
}
export default TweeterTimeline;
4 changes: 0 additions & 4 deletions src/Pages/Home/Home.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
background-color: #1a1e23;
}

.socialmedia {
margin-bottom: 15rem;
}

.testimonies-group,
.contact-group {
background-color: rgb(35, 41, 47);
Expand Down
21 changes: 21 additions & 0 deletions src/Pages/Projects/ProjectsData.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
/*
Projects:
WIP - POC - MVP - Dev - Staging - Prod
Pure CSS - https://pure-css-chi.vercel.app/ - Prod
User Management - https://user-management-iota.vercel.app/ - POC
Social Ring - https://www.social-ring.com/ - Prod
Kidvercity - https://www.kidvercity.com/ - MVP
UI Heat - https://uiheat.com - POC
LeadGen - https://acleadgeneration-d6957f321f1b.herokuapp.com/docs - POC
SneakerAPI - https://sneaker-api-htx.herokuapp.com/ - POC
CareerConnect - https://careerconnect-htx.herokuapp.com/ - POC
Analytics - https://analytics-htx.herokuapp.com/ - Dev
AI-Quiz - https://www.npmjs.com/package/ai-quiz - POC
WriteMind - https://www.writemind.io/ - Dev
CareerComposer - https://www.careercomposer.com/ - Dev
- Add Diagrams
- User Flows
- Tech Stacks
- Key Features
- Pictures or Gifs of Key Features
*/
export const projectData = [
{
id: 1,
Expand Down

0 comments on commit d88b6b1

Please sign in to comment.