feat: Add a portfolio to the website
This commit is contained in:
parent
e1ee5f3fa5
commit
4f347285bb
3 changed files with 201 additions and 2 deletions
|
@ -45,9 +45,12 @@ const optimizedBackgroundLQ = await getImage({
|
|||
</div>
|
||||
</div>
|
||||
<Partition>
|
||||
<a href="/" class="nav-btn">Home</a> |
|
||||
<p class="text-center">
|
||||
| <a href="/" class="nav-btn">Home</a> |
|
||||
<a href="/blog" class="nav-btn">Blog</a> |
|
||||
<a href="/about" class="nav-btn">About</a> |
|
||||
<a href="/friends" class="nav-btn">Friends</a> |
|
||||
<a href="/other buttons" class="nav-btn">Moar 88x31</a>
|
||||
<a href="/other buttons" class="nav-btn">Moar 88x31</a> |
|
||||
<a href="/portfolio" class="nav-btn">Portfolio</a> |
|
||||
</p>
|
||||
</Partition>
|
||||
|
|
12
src/components/PortfolioProject.astro
Normal file
12
src/components/PortfolioProject.astro
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
import Partition from "./Partition.astro";
|
||||
|
||||
const { name, date, tags, description, link } = Astro.props;
|
||||
---
|
||||
<Partition>
|
||||
<h2><a class="nav-btn text-2xl" href={link} target="_blank">{name}</a></h2>
|
||||
<p>Date: {date}</p>
|
||||
<p><sub>{tags}</sub></p>
|
||||
<hr/>
|
||||
<p><slot /></p>
|
||||
</Partition>
|
Loading…
Add table
Add a link
Reference in a new issue