Skip to content

Commit

Permalink
Merge pull request #82 from MichiganDataScienceTeam/summer24
Browse files Browse the repository at this point in the history
update recent project
  • Loading branch information
Weile-Zheng authored Jul 30, 2024
2 parents c2fa401 + 3e01052 commit a306499
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 20 deletions.
21 changes: 17 additions & 4 deletions components/projectCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import Image from "next/image";
import Icon from "@/components/icon";

export default function ProjectCard({ project, basePath }) {
const imagePath = `${basePath}/images/projects/${project.label.toLowerCase().split(" ").join("_")}.jpg`;
const imagePath = `${basePath}/images/projects/${project.label
.toLowerCase()
.split(" ")
.join("_")}.jpg`;
return (
<div className="text-left sm:text-center rounded bg-grey py-2 sm:py-4 px-2 sm:px-8 w-full sm:w-60 flex sm:block gap-8">
<Image
Expand All @@ -14,18 +17,28 @@ export default function ProjectCard({ project, basePath }) {
alt={project.label}
/>
<div className="">
<h3 className="mb-1 text-2xl font-bold tracking-tight">{project.label}</h3>
<h3 className="mb-1 text-2xl font-bold tracking-tight">
{project.label}
</h3>
<ul className="flex sm:justify-center mt-2 sm:mt-4 space-x-4">
{project.github && (
<li>
<Link href={project.github} className="hover:text-gray" aria-label="Github Repo">
<Link
href={project.github}
className="hover:text-gray"
aria-label="Github Repo"
>
<Icon name="github" className="text-3xl" />
</Link>
</li>
)}
{project.googleSlides && (
<li>
<Link href={project.googleSlides} className="hover:text-gray" aria-label="Google Slides">
<Link
href={project.googleSlides}
className="hover:text-gray"
aria-label="Google Slides"
>
<Icon name="file-pdf" className="text-3xl" />
</Link>
</li>
Expand Down
33 changes: 17 additions & 16 deletions config/homepage.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
[
{
"name": "Image Colorization",
"image": "image_colorization.png",
"link": "https://docs.google.com/document/d/19CekIh2sZGKKMoRA5VNFEcjNGHc9GEYt/"
},
{
"name": "Webscraping",
"image": "webscraping.png",
"link": "https://docs.google.com/document/d/1uVD5nvpA0lg9E8tE9khuEQDlwCwHKgrHGqtvzKe2JoA/"
},
{
"name": "Footwear Classification",
"image": "footwear_classification.png",
"link": "https://docs.google.com/presentation/d/1Bb7nCc4o3fmV4OkR-NOeAwzl6i1E_BA_V937Gjoq1wc/"
}
]
{
"name": "LLM Augmentation",
"image": "llm_augmentation.png",
"link": "https://github.com/MichiganDataScienceTeam/W24-llm-augmentation"
},

{
"name": "Image Colorization",
"image": "image_colorization.png",
"link": "https://docs.google.com/document/d/19CekIh2sZGKKMoRA5VNFEcjNGHc9GEYt/"
},
{
"name": "Real Vs Fake Face",
"image": "rvf.png",
"link": "https://github.com/MichiganDataScienceTeam/W24-RvF/tree/main"
}
]
Binary file removed public/images/footwear_classification.png
Binary file not shown.
Binary file added public/images/llm_augmentation.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 public/images/rvf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a306499

Please sign in to comment.