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
3 changes: 0 additions & 3 deletions src/components/Prose.astro → src/components/Article.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
---

---
<article class="prose">
<slot/>
</article>
21 changes: 19 additions & 2 deletions src/components/Hero.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
<div class="hero min-h-screen">
---
interface Props {
graphicSrc: string;
}

const { graphicSrc } = Astro.props;
---
<div class="hero">
<div class="hero-content flex-col lg:flex-row-reverse">
<slot/>
<!-- Graphics side. -->
<div class="basis-2/5 self-stretch">
<div class="h-dvh sticky top-0 border flex justify-center items-center">
<p class="p-8">{graphicSrc}</p>
</div>
</div>

<!-- Content side. -->
<div class="basis-1/2">
<slot/>
</div>
</div>
</div>
209 changes: 0 additions & 209 deletions src/components/Welcome.astro

This file was deleted.

2 changes: 1 addition & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
---
<!doctype html>
<html lang="en">
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
Expand Down
Loading
Loading