Apply patch
This commit is contained in:
parent
c013c7a298
commit
88e4b92b8d
9 changed files with 41 additions and 35 deletions
src/pages
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
import FavouriteCard from '@components/cards/favouriteCard.astro'
|
||||
import ProjectCard from '@components/cards/projectCard.astro'
|
||||
import Placeholder from '@components/placeholder.astro'
|
||||
import SmallTitle from '@components/titles/smallTitle.astro'
|
||||
import favouritesdata from '@datafiles/favouritesdata.json'
|
||||
import BaseSection from '@layouts/baseSection.astro'
|
||||
|
@ -39,16 +40,11 @@ data.map((item) => { item.origin = "First 120 on NA" })
|
|||
<BaseSection title="Highlights">
|
||||
{data.map((item) => <FavouriteCard {...item} />)}
|
||||
</BaseSection>
|
||||
<div class="placeholder"></div>
|
||||
<Placeholder height="1.5rem"/>
|
||||
<BaseSection title="Infos" titleHidden={true}>
|
||||
{projects.map((item) => <ProjectCard {...item} />)}
|
||||
</BaseSection>
|
||||
<Placeholder height="1.5rem"/>
|
||||
</Layout>
|
||||
|
||||
<style>
|
||||
.placeholder {
|
||||
visibility: hidden;
|
||||
width: 100%;
|
||||
height: 1.5rem;
|
||||
}
|
||||
</style>
|
||||
<style></style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue