first commit
This commit is contained in:
commit
fa58768553
57 changed files with 4134 additions and 0 deletions
23
src/components/Portfolio.astro
Normal file
23
src/components/Portfolio.astro
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
import projects from "../projects.json"
|
||||
import styles from "../styles/Portfolio.module.css"
|
||||
import Divider from "./Divider.astro"
|
||||
---
|
||||
|
||||
<section id="portfolio">
|
||||
<h2>My Projects</h2>
|
||||
<Divider />
|
||||
<article class={styles.portfolioItems}>
|
||||
{
|
||||
projects.map((project, index) => (
|
||||
<a href={`/projects/${index}#`}>
|
||||
<img
|
||||
src={`/images/${project.thumbImage}`}
|
||||
alt={project.name}
|
||||
/>
|
||||
<h3 class={styles.projectName}>{project.name}</h3>
|
||||
</a>
|
||||
))
|
||||
}
|
||||
</article>
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue