Skip to content

Commit

Permalink
Add images to card and customize
Browse files Browse the repository at this point in the history
  • Loading branch information
WDaven committed Nov 10, 2022
1 parent 4f0f6d7 commit 3535b40
Show file tree
Hide file tree
Showing 14 changed files with 1,388 additions and 2,422 deletions.
2 changes: 1 addition & 1 deletion components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const Footer = () => {
<Link href="https://github.com/hashirshoaeb/portfolio/blob/main/LICENSE">
<a>MIT</a>
</Link>
{" "} License
{" "} License, modified by Wesley Davenport
</small>
</div>
</footer>
Expand Down
100 changes: 82 additions & 18 deletions components/Work.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import React from 'react';
import {React, useState} from 'react';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import Link from 'next/link'
import Modal from 'react-bootstrap/Modal';
import Carousel from 'react-bootstrap/Carousel';

export const Skills = ({ title, cards }) => {
return (
Expand Down Expand Up @@ -32,8 +34,11 @@ export const Projects = ({ title, cards }) => {
key={index}
title={value.title}
description={value.description}
icons={value.icons} />
icons={value.icons}
images = {value.images}
/>
))}

</div>
{/* <div className="text-center">
<button type="button" className="btn btn-outline-light">See More</button>
Expand All @@ -43,20 +48,79 @@ export const Projects = ({ title, cards }) => {
);
}

export const Card = ({ title, description, icons }) => {
return (
<div className="card py-3 px-3 mx-sm-4 my-4 card-work" style={{ width: "20rem" }}>
<h4 className="text-primary">{title}</h4>
<p className="text-dark">{description}</p>
<div className="text-end">
{icons && icons.map((value, index) => (
<Link key={index} href={value.link}>
<a target="_blank" rel="noreferrer">
<FontAwesomeIcon className="icon-style mx-1" icon={value.icon} size="2x" />
</a>
</Link>
))}
export const Card = ({ title, description, icons, images }) => {
const [show, setShow] = useState(false);
const handleClose = () => setShow(false);
const handleShow = () => setShow(true);
const [index, setIndex] = useState(0);
const handleSelect = (selectedIndex, e) => {
setIndex(selectedIndex);
};
console.log(images)
if (typeof images !== 'undefined') {
return (
<div className="card py-3 px-3 mx-sm-4 my-4 card-work" style={{width: "20rem"}}>
<h4 className="text-primary">{title}</h4>

<img
className="card-img-top" style ={{width:'auto', maxwidth:'100%', height:'auto', maxHeight:'250px', objectFit: 'cover', objectPosition:'50% 0%'}}
src={images[0]}
alt="Project image"
onClick={() => setShow(true)}

/>

<Modal show={show} onHide={handleClose} style={{maxHeight:'100vh'}}>
<Modal.Header closeButton>
<Modal.Title>{title}</Modal.Title>
</Modal.Header>
<Modal.Body>
<Carousel activeIndex={index} onSelect={handleSelect} >
{images.map((value, index) => (
<Carousel.Item key={index}>
<img
className="d-block w-100 rounded-4"
src={value}
alt="First slide"
/>
</Carousel.Item>
))}
</Carousel>

</Modal.Body>

</Modal>


<p className="text-dark">{description}</p>
<div className="text-end">
{icons && icons.map((value, index) => (
<Link key={index} href={value.link}>
<a target="_blank" rel="noreferrer">
<FontAwesomeIcon className="icon-style mx-1" icon={value.icon} size="2x"/>
</a>
</Link>
))}
</div>
</div>
</div>
);
}
);
} else {
return (
<div className="card py-3 px-3 mx-sm-4 my-4 card-work" style={{width: "20rem"}}>
<h4 className="text-primary">{title}</h4>
<p className="text-dark">{description}</p>
<div className="text-end">
{icons && icons.map((value, index) => (
<Link key={index} href={value.link}>
<a target="_blank" rel="noreferrer">
<FontAwesomeIcon className="icon-style mx-1" icon={value.icon} size="2x"/>
</a>
</Link>
))}
</div>
</div>
);
}
}


118 changes: 68 additions & 50 deletions config/config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@

import profile from './profile.png';
import { faAppStore, faGithub, faGooglePlay } from '@fortawesome/free-brands-svg-icons';
import dormguide1 from './dormguide1.png';
import dormguide2 from './dormguide2.png';
import dormguide3 from './dormguide3.png';
import dormguide4 from './dormguide4.png';
import dormguide5 from './dormguide5.png';
import dormguide6 from './dormguide6.png';

import { faAppStore, faGithub, faGooglePlay, faChrome } from '@fortawesome/free-brands-svg-icons';
import { } from '@fortawesome/free-solid-svg-icons';

export const navigation = {
name: "Test2",
name: "Wesley",
links: [
{
title: "About",
Expand All @@ -25,8 +32,8 @@ export const navigation = {
],
}
export const intro = {
title: "Hey, I'm Hashir",
description: "A Computer Engineer creating mobile apps and static websites.",
title: "Hey, I'm Wesley",
description: "A Computer Science senior at Georgia Institute of Technology",
image: profile.src,
buttons: [
{
Expand All @@ -36,7 +43,7 @@ export const intro = {
},
{
title: "Resume",
link: "https://docs.google.com/document/d/13_PWdhThMr6roxb-UFiJj4YAFOj8e_bv3Vx9UHQdyBQ/edit?usp=sharing",
link: "https://drive.google.com/file/d/1fmZelIvGI2SS8oAYQYTAXd44vl2vjPdy/view?usp=sharing",
isPrimary: false,
},
],
Expand All @@ -45,9 +52,9 @@ export const intro = {
export const about = {
title: "Who I am",
description: [
"I graduated from National University of Sciences and Technology (NUST) in 2020 with a degree in Computer Engineering. I kick started my professional career as a mobile application developer working remotely for a UK based startup — Lessgo.",
"The tech industry is ever-evolving and I love being able to grow with it, while continually solidifying the fundamentals. I opensource my code from a place of empathy - for future developers, teammates, users, and with accessibility in mind. I also love joining communities, helping and mentoring new developers, and supporting organizations to promote diversity in tech. I’m sharing my programming journey on instagram, helping people who are just getting into the space of programming.",
"When I’m not programming, I focus on my hobbies which are: diary writing, doodling, meeting people and growing my network.",
"I am a senior at Georgia Institute of Technology graduating Fall 2022 with a degree in Computer Science with specialties in people and information networks. I have been heavily investing my time learning new skills in front end development these past two years",
"I have worked hard this past year on three major projects: HipHop2020, dormguide, and MusicEditor",
"The tech industry is quickly evolving which is why I am proud to have spent years developing skills in Java, algorithms, data structures, and design that have allowed me to bring that knowledge to every team I am a part of. I believe in the power of open-source and collaboration as the only way to beat the ever increasing complexity of development is with help. I love the challenge of learning new skills so I welcome the opportunity to visit an unfamiliar tech stack.",
],
}

Expand All @@ -56,110 +63,121 @@ export const work = {
cards: [
{
title: "Mobile App Development",
description: "I create pixel perfect iOS and Andriod apps using Flutter.",
description: "I create pixel perfect iOS and Android apps using React Native.",
icons: null,
},
{
title: "Web Development",
description: "I create responsive static websites using Reactjs.",
description: "I have lead an institute funded team since 2021 in replacing outdated interfaces.",
icons: null,
},
{
title: "Java Development",
description: "I have been using Java for school and work for over 6 years.",
icons: null,
}

],
}

export const projects = {
title: "Projects",
cards: [
{
title: "StarBook",
description: "A digital diary and mood tracking app that helps you in keeping track of your mood and productivity throughout the month/year.",
title: "Working Dogs Endurance",
description: "Collaboration between Georgia Institute of Technology and University of Pennsylvania measuring working dogs endurance levels with heart rate deflection point algorithms.",
icons: [
]
},
{
title: "Dungeon Crawler",
description: "A JavaFX dungeon crawler game. Featuring randomly generated levels, potions, items, and weapons.",
icons: [
{
icon: faAppStore,
link: "https://apps.apple.com/us/app/starbook-journal-ai-diary/id1552418289",
},
{
icon: faGithub,
link: "https://github.com/hashirshoaeb/star_book",
link: "https://github.com/WDaven/dungeon-game",
},
]
},
{
title: "QuranTalk",
description: "An emotional well being and mental health app. The app helps people to navigate their emotions in the light of the Quran.",
title: "Hiphop2020",
description: "Virtual reality HipHop pedagogical archive. Headed by Dr. Jocelyn Wilson as a part of FourFourBeatProject. ",
icons: [
{
icon: faAppStore,
link: "https://apps.apple.com/us/app/qurantalk/id1563425149",
icon: faChrome,
link: "https://www.fourfourbeatproject.org/",
},
{
icon: faGooglePlay,
link: "https://play.google.com/store/apps/details?id=com.ayahemotion.quran_talk",
},
]
],
},
{
title: "Portfolio",
description: "A portfolio website template that helps you showcase your work, projects and skills as a software developer or freelancer.",
title: "dormguide",
description: "A react native app allowing Georgia Tech students to find the best dorms on campus.",
icons: [
{
icon: faGithub,
link: "https://github.com/hashirshoaeb/portfolio",
link: "https://github.com/WDaven/public-dormguide",
},
]
{
icon: faAppStore,
link: "https://apps.apple.com/us/app/dormguide/id6443801396",
},
{
icon: faGooglePlay,
link: "https://play.google.com/store/apps/details?id=dorm.finder&hl=en_US&gl=US",
},
],
images: [
dormguide1.src,
dormguide2.src,
dormguide3.src,
dormguide4.src,
dormguide5.src,
dormguide6.src,
],
},
],
}

export const contact = {
title: "Get in touch",
description: "Coffee Chat! Please do not hesitate to schedule a meeting. Alternatively, feel free to reach out directly by email at hashirshoaeb@gmail.com.",
description: "Please do not hesitate to reach out directly by email at daven.wesley@gmail.com.",
buttons: [
{
title: "Email Me",
link: "mailto:hashirshoaeb@gmail.com",
link: "mailto:daven.wesley@gmail.com",
isPrimary: true,
},
{
title: "Schedule Meeting",
link: "",
isPrimary: false,
},
]
}

// SEARCH ENGINE
export const SEO = {
// 50 - 60 char
title: "Hashir Shoaib | Computer Engineer | Flutter | Reactjs developer",
description: "I create mobile apps and static websites. I graduated from National University of Sciences and Technology (NUST) in 2020 with a degree in Computer Engineering.",
title: "Wesley Davenport | Computer Science | React Native | Java developer",
description: "I create mobile apps, websites, and Java applications. I graduated from Georgia Institute of Technology (GT) in 2022 with a degree in Computer Science.",
image: profile.src,
}

export const links = {
image: profile.src,
title: "@hashirshoaeb",
description: "Computer Engineer | Flutter | Reactjs Developer",
title: "@Wesley Davenport",
description: "Software Developer | React Native | Java | React.js",
cards: [
{
title: "My website",
link: "https://hashirshoaeb.com/",
},
{
title: "QuranTalk App",
link: "https://www.qurantalk.app/",
link: "https://wesleydavenport.dev/",
},
{
title: "StarBook App",
link: "https://starbook.dev/",
title: "dormguide",
link: "https://apps.apple.com/us/app/dormguide/id6443801396",
},
{
title: "My GitHub",
link: "https://github.com/hashirshoaeb/",
link: "https://github.com/WDaven/",
},
{
title: "My LinkedIn",
link: "https://www.linkedin.com/in/hashirshoaeb/",
link: "https://www.linkedin.com/in/wesley-davenport-94768a149/",
},
]
}
Binary file added config/dormguide1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added config/dormguide2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added config/dormguide3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added config/dormguide4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added config/dormguide5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added config/dormguide6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified config/profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3535b40

Please sign in to comment.