Improve routes
This commit is contained in:
parent
02112d5395
commit
5b52d01235
4 changed files with 21 additions and 15 deletions
|
@ -9,8 +9,8 @@ import Divider from "./Divider.astro"
|
|||
<Divider />
|
||||
<article class={styles.portfolioItems}>
|
||||
{
|
||||
projects.map((project, index) => (
|
||||
<a href={`/projects/${index}`}>
|
||||
projects.map((project) => (
|
||||
<a href={`/projects/${project.route}`}>
|
||||
<img
|
||||
src={`/images/${project.thumbImage}`}
|
||||
alt={project.name}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue