Add image to project page

This commit is contained in:
Henry Hiles 2023-06-04 15:28:57 -04:00
parent 40722ab109
commit 0b79a849e7
3 changed files with 13 additions and 1 deletions

View file

@ -18,7 +18,14 @@ if (project == null) return
<Layout page={project.name} description={project.description}>
<section id={styles.jumbo}>
<h1 class={styles.title}>{project.name}</h1>
<img
id={styles.thumb}
src={`/images/${project.thumbImage}`}
alt={project.name}
/>
<h1 class={styles.title}>
{project.name}
</h1>
<Divider />
<p class={styles.overview}>{project.overview}</p>
</section>

View file

@ -30,6 +30,7 @@ svg {
img {
max-width: 100%;
max-height: 100%;
}
main {

View file

@ -5,6 +5,10 @@
max-width: 40rem;
}
#thumb {
height: 10rem;
}
.overview {
width: 100%;
padding: 20px;