Skip to content

Commit

Permalink
Updated design slightly.
Browse files Browse the repository at this point in the history
  • Loading branch information
DwainAnderson committed Jul 29, 2024
1 parent d1b4b66 commit d28d206
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 91 deletions.
20 changes: 0 additions & 20 deletions .devcontainer/icon.svg

This file was deleted.

2 changes: 1 addition & 1 deletion components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function Header() {
const backgroundImage = '/images/winter-1.jpg';
return (
<header style={{backgroundImage: `url(${backgroundImage})`}}>
<h1>Dwain Anderson: Computer Science </h1>
<h1>Dwain Anderson::Computer Science </h1>
<Menu />
</header>
);
Expand Down
48 changes: 19 additions & 29 deletions components/PortfolioDeckOfCards.js
Original file line number Diff line number Diff line change
@@ -1,72 +1,62 @@
const placeholder = '/images/question-mark.png';
const projects = {
1: {
projectTitle: 'Cornell University: Prelim Planner',
projectDescription: 'A Python Django web app for students to find and add their exams to Google Calendar.',
const projects = [
{
projectTitle: 'CourseSphere',
projectDescription: 'A Retrieval Augmented Generation system designed to provide tailored course recommendations to students based on their course history and preferences',
projectImageUrl: placeholder,
hasProjectLink: true,
projectLink: 'project1link'
projectLink: 'https://github.com/LambdaAK/CourseSphere'
},
2: {
projectTitle: 'Sound Waves Analysis with Fourier Transforms',
projectDescription: 'Web app enabling users to upload audio files, apply filters, and view plots. Built with React, Next.js, Flask, SciPy, and NumPy.',
projectImageUrl: placeholder,
hasProjectLink: false,
projectLink: ''
},
3: {
{
projectTitle: 'Image Selection Processor',
projectDescription: 'Java Swing app for image selection with Dijkstra’s algorithm, min-heaps, and multi-threading. GUI features live wire contouring and edge detection.',
projectImageUrl: placeholder,
hasProjectLink: false,
projectLink: ''
},
4: {
{
projectTitle: 'Cornell AppDev Hackathon: Bookkeeper',
projectDescription: 'SQL database with user login/logout, password hashing, and sessions. Implemented K-Nearest Neighbors recommendation algorithm. Developed RESTful API with Flask.',
projectImageUrl: placeholder,
hasProjectLink: false,
projectLink: ''
},
5: {
{
projectTitle: 'Connect-N',
projectDescription: 'Python game using MVC pattern and PyGame for GUI. AI player logic with iterative backtracking algorithms and memoization approaches.',
projectImageUrl: placeholder,
hasProjectLink: false,
projectLink: ''
},
6: {
{
projectTitle: 'Spreadsheet Formula Evaluation',
projectDescription: 'Java batch app to evaluate CSV spreadsheets with interactive calculator and formula evaluator. Utilized tree data structures.',
projectImageUrl: placeholder,
hasProjectLink: false,
projectLink: ''
},
7: {
{
projectTitle: 'Merging Spreadsheets',
projectDescription: 'Java batch app to perform Left Inner Join on CSV files. Implemented linked-list data structure and binary search tree.',
projectImageUrl: placeholder,
hasProjectLink: false,
projectLink: ''
}
};
];


function PortfolioDeckOfCards() {
return (
<>
{Object.keys(projects).map((key) => {
const project = projects[parseInt(key, 10)];
return (
<div className="project-card" key={key}>
<img className="project-image" src={project.projectImageUrl} alt={project.projectTitle} />
<ul className="project-gallery">
{projects.map((project,index) => (
<li className="project-item" key={index}>
<a href={project.hasProjectLink && project.projectLink ? project.projectLink : "#"} target="_blank" rel="noopener noreferrer">
<h3 className="project-title">{project.projectTitle}</h3>
<p className="project-desc">{project.projectDescription}</p>
{project.hasProjectLink && project.projectLink && <a href={project.projectLink}>Link to Repo</a>}
</div>
);
})}
</>
</a>
</li>
))}
</ul>
);
}

Expand Down
65 changes: 24 additions & 41 deletions global.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,75 +135,58 @@ main {
background-size: cover;
overflow: hidden;
}

.portfolio-h2 {
margin-bottom: 20px;
border: 1px solid #ddd;
color: rgb(0, 0, 0);
text-align: center;
border-radius: 5px;
padding: 10px; /* Adjust padding */
box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
background-color: rgba(255, 255, 255, 0.7);
transition: transform 0.3s ease;
}


/* Project Card */
/* Project List */
.project-gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(375px, 1fr));
gap: 20px;
display: block;
margin: 20px 0;
padding: 20px;
}

.project-card {
border: 1px solid #ddd;
border-radius: 5px;
padding: 20px;
box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
background-color: rgba(255, 255, 255, 0.8);
transition: transform 0.3s ease;
text-align: center;
padding: 0;
list-style-type: none;
}

.project-card:hover {
transform: translateY(-10px);
.project-item {
border-bottom: 1px solid #ddd;
padding: 20px; /* Added padding to the text content */
margin-bottom: 0; /* Removed spacing between items */
background-color: rgba(255, 255, 255, 0.9); /* Light background color with slight transparency */
cursor: pointer; /* Make entire item clickable */
transition: background-color 0.3s ease, transform 0.3s ease;
}

.project-image {
max-width: 100%;
height: auto;
border-bottom: 1px solid #ddd;
margin-bottom: 15px;
.project-item:hover {
background-color: rgba(255, 255, 255, 1); /* Change background on hover */
transform: translateY(-2px); /* Slight lift effect on hover */
}

.project-title {
margin: 15px 0 10px 0;
font-size: 1.5em;
font-size: 1.2em;
color: #333;
margin: 0;
}

.project-desc {
margin: 10px 0;
font-size: 1em;
color: black;
margin: 10px 0 0 0; /* Added margin to text content */
}

.project-card a {
display: inline-block;
margin-top: 10px;
padding: 10px 15px;
background-color: lightskyblue;
color: white;
.project-item a {
display: block;
text-decoration: none;
border-radius: 3px;
color: inherit; /* Inherit text color */
}

.project-card a:hover {
background-color: blue;
.project-item a:hover {
color: inherit; /* Maintain text color on hover */
}


.coursework-section {
padding: 20px;
background-size: cover;
Expand Down

0 comments on commit d28d206

Please sign in to comment.