Skip to content

Commit

Permalink
update project cards to include a feature list
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtificialLegacy committed Jan 14, 2024
1 parent 70b93cc commit 5dd3487
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 2 deletions.
Binary file modified public/portfolio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 16 additions & 2 deletions src/data/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ const blubify: Project = {
name: 'Blubify',
thumbnail: 'blubify.png',
thumbnailAlt: 'Thumbnail image showing a screenshot of the blubify web interface',
description: `Blubify is a self-hostable solution designed for music streaming and management within your private network. This is a passion project that is actively developed and maintained.`,
description: `Blubify is a self-hostable service designed for music streaming and management within your private network.`,
featureList: [
'Downloading audio from the YouTube API.',
'Node.js backend with Express.',
'Communicates with a MariaDB database using Kysely.',
'Music streaming using a chunked HTTP response.',
],
links: [
{
from: 'github',
Expand All @@ -21,6 +27,10 @@ const upscaleCli: Project = {
thumbnailAlt: 'Thumbnail image showing a screenshot of the upscale-cli tool',
description:
'Upscale-CLI is a commandline interface tool designed for running and batching tasks using Real-ESRGAN, and allows for downloading and managing the models.',
featureList: [
'Downloads the REAL-ESRGAN models and extracts them automatically.',
'Allows for batching an entire folder of images to upscale in order.',
],
links: [
{
from: 'github',
Expand All @@ -36,7 +46,11 @@ const portfolio: Project = {
thumbnail: 'portfolio.png',
thumbnailAlt: 'Thumbnail image showing a screenshot of this portfolio website',
description:
'Besides being used as a portfolio, it is a playground for experimenting with different simulations and animations for the banner. Automated deployment using GitHub Actions to GitHub Pages.',
'Besides being used as a portfolio, it is a playground for experimenting with different simulations and animations for the banner.',
featureList: [
'Automated deployment using GitHub Actions to GitHub Pages.',
'Includes animations and simulations of math and systems that I find interesting.',
],
links: [
{
from: 'github',
Expand Down
5 changes: 5 additions & 0 deletions src/modules/project_card/components/ProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ function ProjectCard(props: ProjectCardProps) {

<section className="project-card-details">
<p className="project-card-description">{props.project.description}</p>
<ul className="project-card-features">
{props.project.featureList.map((feature, index) => {
return <li key={index}>{feature}</li>
})}
</ul>
<div className="project-card-badges">
<div className="project-card-links">
{!props.disabled &&
Expand Down
27 changes: 27 additions & 0 deletions src/modules/project_card/styles/project_card.css
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,25 @@
}
}

.project-card-features {
width: 100%;

& li {
color: var(--text);
display: list-item;
margin-left: 1.5em;

&::before {
content: "-";
color: var(--text);
font-weight: bold;
display: inline-block;
width: 1em;
margin-left: -1em;
}
}
}

@media screen and (min-width: 950px) {
.project-card {
aspect-ratio: 3/2;
Expand Down Expand Up @@ -181,6 +200,14 @@
height: 70px;
}
}

.project-card-features {
width: 100%;

& li {
font-size: 1.7rem;
}
}
}

@media screen and (max-width: 949px) {
Expand Down
1 change: 1 addition & 0 deletions src/modules/project_card/types/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ type Project = {
thumbnail: string
thumbnailAlt: string
description: string
featureList: string[]
links: ProjectLink[]
technologies: ProjectTechnology[]
}
Expand Down

0 comments on commit 5dd3487

Please sign in to comment.