Apply patch
This commit is contained in:
parent
c013c7a298
commit
88e4b92b8d
9 changed files with 41 additions and 35 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@firq/fgosite",
|
"name": "@firq/fgosite",
|
||||||
"version": "0.2.0-pre.73",
|
"version": "0.2.0-pre.75",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@firq/fgosite",
|
"name": "@firq/fgosite",
|
||||||
"version": "0.2.0-pre.73",
|
"version": "0.2.0-pre.75",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astro-community/astro-embed-youtube": "^0.5.6",
|
"@astro-community/astro-embed-youtube": "^0.5.6",
|
||||||
"@astrojs/check": "^0.9.4",
|
"@astrojs/check": "^0.9.4",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@firq/fgosite",
|
"name": "@firq/fgosite",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.2.0-pre.74",
|
"version": "0.2.0-pre.75",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
|
|
16
src/components/placeholder.astro
Normal file
16
src/components/placeholder.astro
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
---
|
||||||
|
export interface Props {
|
||||||
|
height?: string
|
||||||
|
}
|
||||||
|
const { height } = Astro.props
|
||||||
|
const ph_height = height || "5rem"
|
||||||
|
---
|
||||||
|
<div class="placeholder"></div>
|
||||||
|
|
||||||
|
<style define:vars={{ph_height}}>
|
||||||
|
.placeholder {
|
||||||
|
visibility: hidden;
|
||||||
|
width: 100%;
|
||||||
|
height: var(--ph_height);
|
||||||
|
}
|
||||||
|
</style>
|
|
@ -7,6 +7,7 @@ import CustomFooter from '@layouts/customFooter.astro'
|
||||||
import TechnologyCard from '@components/cards/technologyCard.astro'
|
import TechnologyCard from '@components/cards/technologyCard.astro'
|
||||||
import technologydata from '@datafiles/technologydata.json'
|
import technologydata from '@datafiles/technologydata.json'
|
||||||
import SmallTitle from '@components/titles/smallTitle.astro'
|
import SmallTitle from '@components/titles/smallTitle.astro'
|
||||||
|
import Placeholder from '@components/placeholder.astro'
|
||||||
|
|
||||||
const description =
|
const description =
|
||||||
"A summary of the technologies used as well as my contact information. You'll also find disclaimers and thank you notes for the people that helped me."
|
"A summary of the technologies used as well as my contact information. You'll also find disclaimers and thank you notes for the people that helped me."
|
||||||
|
@ -26,6 +27,7 @@ const subtext =
|
||||||
<ContactSection title="Disclaimers">
|
<ContactSection title="Disclaimers">
|
||||||
<CustomFooter />
|
<CustomFooter />
|
||||||
</ContactSection>
|
</ContactSection>
|
||||||
|
<Placeholder height="1.5rem"/>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
<style></style>
|
<style></style>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
import FavouriteCard from '@components/cards/favouriteCard.astro'
|
import FavouriteCard from '@components/cards/favouriteCard.astro'
|
||||||
import ProjectCard from '@components/cards/projectCard.astro'
|
import ProjectCard from '@components/cards/projectCard.astro'
|
||||||
|
import Placeholder from '@components/placeholder.astro'
|
||||||
import SmallTitle from '@components/titles/smallTitle.astro'
|
import SmallTitle from '@components/titles/smallTitle.astro'
|
||||||
import favouritesdata from '@datafiles/favouritesdata.json'
|
import favouritesdata from '@datafiles/favouritesdata.json'
|
||||||
import BaseSection from '@layouts/baseSection.astro'
|
import BaseSection from '@layouts/baseSection.astro'
|
||||||
|
@ -39,16 +40,11 @@ data.map((item) => { item.origin = "First 120 on NA" })
|
||||||
<BaseSection title="Highlights">
|
<BaseSection title="Highlights">
|
||||||
{data.map((item) => <FavouriteCard {...item} />)}
|
{data.map((item) => <FavouriteCard {...item} />)}
|
||||||
</BaseSection>
|
</BaseSection>
|
||||||
<div class="placeholder"></div>
|
<Placeholder height="1.5rem"/>
|
||||||
<BaseSection title="Infos" titleHidden={true}>
|
<BaseSection title="Infos" titleHidden={true}>
|
||||||
{projects.map((item) => <ProjectCard {...item} />)}
|
{projects.map((item) => <ProjectCard {...item} />)}
|
||||||
</BaseSection>
|
</BaseSection>
|
||||||
|
<Placeholder height="1.5rem"/>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
<style>
|
<style></style>
|
||||||
.placeholder {
|
|
||||||
visibility: hidden;
|
|
||||||
width: 100%;
|
|
||||||
height: 1.5rem;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
import AboutText from '@components/aboutText.astro'
|
import AboutText from '@components/aboutText.astro'
|
||||||
import FavouriteCard from '@components/cards/favouriteCard.astro'
|
import FavouriteCard from '@components/cards/favouriteCard.astro'
|
||||||
|
import Placeholder from '@components/placeholder.astro'
|
||||||
import Hi from '@components/titles/title.astro'
|
import Hi from '@components/titles/title.astro'
|
||||||
import favouritesdata from '@datafiles/favouritesdata.json'
|
import favouritesdata from '@datafiles/favouritesdata.json'
|
||||||
import Layout from '@layouts/Layout.astro'
|
import Layout from '@layouts/Layout.astro'
|
||||||
|
@ -22,6 +23,7 @@ const description =
|
||||||
<BaseSection title="Favourites">
|
<BaseSection title="Favourites">
|
||||||
{favouritesdata.map((item) => <FavouriteCard {...item} />)}
|
{favouritesdata.map((item) => <FavouriteCard {...item} />)}
|
||||||
</BaseSection>
|
</BaseSection>
|
||||||
|
<Placeholder height="1.5rem"/>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
<style></style>
|
<style></style>
|
||||||
|
|
|
@ -4,6 +4,7 @@ import ProjectCard from '@components/cards/projectCard.astro'
|
||||||
import projects from '@datafiles/projectdata.json'
|
import projects from '@datafiles/projectdata.json'
|
||||||
import SmallTitle from '@components/titles/smallTitle.astro'
|
import SmallTitle from '@components/titles/smallTitle.astro'
|
||||||
import BaseSection from '@layouts/baseSection.astro'
|
import BaseSection from '@layouts/baseSection.astro'
|
||||||
|
import Placeholder from '@components/placeholder.astro'
|
||||||
|
|
||||||
const description =
|
const description =
|
||||||
"My personal projects I am currently working on. Some of them are born from necessity, while others are for uni or similar."
|
"My personal projects I am currently working on. Some of them are born from necessity, while others are for uni or similar."
|
||||||
|
@ -21,6 +22,7 @@ const subtext =
|
||||||
<BaseSection title="Projects" titleHidden={true}>
|
<BaseSection title="Projects" titleHidden={true}>
|
||||||
{projects.map((item) => <ProjectCard {...item} />)}
|
{projects.map((item) => <ProjectCard {...item} />)}
|
||||||
</BaseSection>
|
</BaseSection>
|
||||||
|
<Placeholder height="1.5rem"/>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
<style></style>
|
<style></style>
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
---
|
---
|
||||||
|
import CeCard from '@components/cards/ceCard.astro'
|
||||||
|
import ServantCard from '@components/cards/servantCard.astro'
|
||||||
|
import Placeholder from '@components/placeholder.astro'
|
||||||
|
import SmallTitle from '@components/titles/smallTitle.astro'
|
||||||
|
import cedata from '@datafiles/cedata.json'
|
||||||
|
import servantdata from '@datafiles/servantdata.json'
|
||||||
import Layout from '@layouts/Layout.astro'
|
import Layout from '@layouts/Layout.astro'
|
||||||
import ServantSection from '@layouts/servantSection.astro'
|
import ServantSection from '@layouts/servantSection.astro'
|
||||||
|
|
||||||
import ServantCard from '@components/cards/servantCard.astro'
|
|
||||||
import servantdata from '@datafiles/servantdata.json'
|
|
||||||
|
|
||||||
import CeCard from '@components/cards/ceCard.astro'
|
|
||||||
import cedata from '@datafiles/cedata.json'
|
|
||||||
import SmallTitle from '@components/titles/smallTitle.astro'
|
|
||||||
|
|
||||||
const description =
|
const description =
|
||||||
'A list of all the servants and ces that Firq can offer up on support for TA.'
|
'A list of all the servants and ces that Firq can offer up on support for TA.'
|
||||||
---
|
---
|
||||||
|
@ -22,17 +21,11 @@ const description =
|
||||||
<ServantSection title="Servants">
|
<ServantSection title="Servants">
|
||||||
{servantdata.map((item, index) => <ServantCard {...item} index={index} />)}
|
{servantdata.map((item, index) => <ServantCard {...item} index={index} />)}
|
||||||
</ServantSection>
|
</ServantSection>
|
||||||
<div class="placeholder"></div>
|
<Placeholder height="2.5rem"/>
|
||||||
<ServantSection title="CEs">
|
<ServantSection title="CEs">
|
||||||
{cedata.map((item) => <CeCard {...item} />)}
|
{cedata.map((item) => <CeCard {...item} />)}
|
||||||
</ServantSection>
|
</ServantSection>
|
||||||
<div class="placeholder"></div>
|
<Placeholder height="2.5rem"/>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
<style>
|
<style></style>
|
||||||
.placeholder {
|
|
||||||
visibility: hidden;
|
|
||||||
width: 100%;
|
|
||||||
height: 2.5rem;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
|
@ -12,6 +12,7 @@ import TaCard from '@components/cards/taCard.astro'
|
||||||
import tadata from '@datafiles/tadata.json'
|
import tadata from '@datafiles/tadata.json'
|
||||||
import featured_data from '@datafiles/featureddata.json'
|
import featured_data from '@datafiles/featureddata.json'
|
||||||
import FgotaHero from '@components/fgotaHero.astro'
|
import FgotaHero from '@components/fgotaHero.astro'
|
||||||
|
import Placeholder from '@components/placeholder.astro'
|
||||||
import SmallTitle from '@components/titles/smallTitle.astro'
|
import SmallTitle from '@components/titles/smallTitle.astro'
|
||||||
|
|
||||||
const important_data = tadata.filter(function (el) {
|
const important_data = tadata.filter(function (el) {
|
||||||
|
@ -52,13 +53,7 @@ const description = 'A collection of TAs previously completed be Firq.'
|
||||||
>
|
>
|
||||||
{featured_data.map((item) => <TaCard {...item} />)}
|
{featured_data.map((item) => <TaCard {...item} />)}
|
||||||
</TaSection>
|
</TaSection>
|
||||||
<div class="placeholder"></div>
|
<Placeholder height="5rem"/>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
<style>
|
<style></style>
|
||||||
.placeholder {
|
|
||||||
visibility: hidden;
|
|
||||||
width: 100%;
|
|
||||||
height: 5rem;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue