mirror of
https://github.com/apricote/ein-pfeil-am-rechten-fleck.de.git
synced 2026-02-07 18:27:01 +00:00
feat: simplify site & improve design, add initial character images
This commit is contained in:
parent
677604ae90
commit
d64bc021f2
13 changed files with 101 additions and 94 deletions
|
|
@ -3,6 +3,7 @@
|
|||
export let role: string;
|
||||
</script>
|
||||
|
||||
<div>
|
||||
<span>{role}</span> - <span>{actor}</span>
|
||||
</div>
|
||||
<tr>
|
||||
<td class="font-vinque">{role}</td>
|
||||
<td>{actor}</td>
|
||||
</tr>
|
||||
|
|
@ -6,12 +6,12 @@
|
|||
</script>
|
||||
|
||||
<div
|
||||
class={`flex flex-col md:flex-row ${mirrored && "md:flex-row-reverse"} m-8`}
|
||||
class={`flex flex-col md:flex-row ${mirrored && "md:flex-row-reverse"} m-8 items-center`}
|
||||
>
|
||||
<img src={image} alt={`Grafik vom Charakter ${name}`} class="p-4" />
|
||||
<img src={image} alt={`Grafik vom Charakter ${name}`} class="w-48 rounded-full" />
|
||||
|
||||
<div>
|
||||
<h3 class="text-4xl pb-4 font-vinque">{name}</h3>
|
||||
<div class="p-4 text-center md:text-left {!mirrored && "md:text-right"}">
|
||||
<h3 class="text-4xl mb-4 font-vinque">{name}</h3>
|
||||
|
||||
<p>
|
||||
{description}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
<script lang="ts">
|
||||
export let href: string;
|
||||
export let text: string;
|
||||
</script>
|
||||
|
||||
<li class="block">
|
||||
<a
|
||||
class="text-amber-500 hover:text-dark-burgundy-100 focus:text-dark-burgundy-100 text-xl focus:outline-none transition"
|
||||
{href}
|
||||
>
|
||||
{text}
|
||||
</a>
|
||||
</li>
|
||||
1
src/lib/section-heading.svelte
Normal file
1
src/lib/section-heading.svelte
Normal file
|
|
@ -0,0 +1 @@
|
|||
<h2 class="text-4xl font-vinque mb-4 text-center"><slot /></h2>
|
||||
Loading…
Add table
Add a link
Reference in a new issue