Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified public/ufh-2025.pdf
Binary file not shown.
3 changes: 2 additions & 1 deletion src/components/Graphics.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const { imageMetadatas, alt } = Astro.props;
imageMetadatas.then((metadatas) => (
<!--suppress HtmlUnknownTag -->
<graphics-element data-image-srcs={JSON.stringify(metadatas.map(({default: {src}}) => src))}>
<img class="max-h-dvh object-contain rounded-xl" src={metadatas[0].default.src} width={metadatas[0].default.width}
<img class="max-h-dvh object-contain rounded-xl" src={metadatas[0].default.src}
width={metadatas[0].default.width}
height={metadatas[0].default.height} alt={alt}/>
</graphics-element>
))
Expand Down
9 changes: 8 additions & 1 deletion src/components/Spacer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,11 @@

---

<div class="h-1/4dvh"/>
<!-- Large screen spacer -->
<div class="hidden lg:block h-1/4dvh"/>

<!-- Small screen spacer. -->
<div class="lg:hidden">
<br/>
<br/>
</div>
18 changes: 18 additions & 0 deletions src/components/TextCardPair.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
import Article from "./Article.astro";
---
<div class="hero">
<div class="hero-content flex-col lg:flex-row w-full pt-0 pb-0">
<!-- Content side. -->
<div class="basis-1/2 self-stretch flex items-center">
<Article>
<slot/>
</Article>
</div>

<!-- Graphics side. -->
<div class="basis-1/2 self-stretch">
<slot name="graphics"/>
</div>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
import Article from "./Article.astro";
---
<div class="hero">
<div class="hero-content flex-col lg:flex-row-reverse w-full p-0">
<!-- Graphics side. -->
<div class="basis-1/2 self-stretch">
<slot name="graphics"/>
</div>

<div class="hero-content flex-col lg:flex-row w-full pt-0 pb-0">
<!-- Content side. -->
<div class="basis-1/2 self-stretch">
<div class="sticky top-1/3">
Expand All @@ -16,5 +11,10 @@ import Article from "./Article.astro";
</Article>
</div>
</div>

<!-- Graphics side. -->
<div class="basis-1/2 self-stretch">
<slot name="graphics"/>
</div>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
---
<div class="hero">
<div class="hero-content flex-col lg:flex-row-reverse w-full p-0">
<div class="hero-content flex-col lg:flex-row-reverse w-full pt-0 pb-0">
<!-- Graphics side. -->
<div class="basis-1/2 self-stretch">
<div class="h-dvh sticky top-0 flex justify-center items-center">
<div class="hidden lg:block basis-1/2 self-stretch">
<div class="lg:h-dvh sticky top-0 flex justify-center items-center">
<slot name="graphics"/>
</div>
</div>

<!-- Content side. -->
<div class="basis-1/2">
<div class="lg:basis-1/2">
<slot/>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const { imageSrcs } = Astro.props;
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="icon" type="image/svg+xml" href="/favicon.ico"/>
<meta name="generator" content={Astro.generator}/>
<title>Pinpoint</title>
Expand Down
Loading