don't justify text (thanks Killian)

This commit is contained in:
Philippe Loctaux 2023-06-10 15:19:06 +02:00
parent 602bc0ded8
commit 05f68ae6d8
6 changed files with 8 additions and 8 deletions

View file

@ -75,7 +75,7 @@ const {
</div> </div>
<p class="text-xl md:text-2xl font-semibold my-4">{title}</p> <p class="text-xl md:text-2xl font-semibold my-4">{title}</p>
</div> </div>
<div class="space-y-2 text-justify"> <div class="space-y-2">
<!-- Description --> <!-- Description -->
<slot /> <slot />

View file

@ -4,7 +4,7 @@ import FriendCard from "./friend-card.astro";
<div> <div>
<h1 class="text-4xl font-bold mb-4">Friends</h1> <h1 class="text-4xl font-bold mb-4">Friends</h1>
<p class="text-lg text-justify"> <p class="text-lg">
Folks I worked with, or I like what they do. Folks I worked with, or I like what they do.
</p> </p>

View file

@ -4,7 +4,7 @@ import TalkCard from "./talk-card.astro";
<div> <div>
<h1 class="text-4xl font-bold mb-4">Talks</h1> <h1 class="text-4xl font-bold mb-4">Talks</h1>
<p class="text-lg text-justify"> <p class="text-lg">
Giving a talk is the opportunity to share what I know, and helps me Giving a talk is the opportunity to share what I know, and helps me
reduce my fear of public speaking. reduce my fear of public speaking.
</p> </p>

View file

@ -11,7 +11,7 @@
<h1 class="text-4xl font-bold mb-4">About Phil</h1> <h1 class="text-4xl font-bold mb-4">About Phil</h1>
<h2 class="text-2xl font-semibold mb-4">Developer of all sorts</h2> <h2 class="text-2xl font-semibold mb-4">Developer of all sorts</h2>
<div class="text-lg text-justify space-y-6"> <div class="text-lg space-y-6">
<p> <p>
I got into computer science by creating websites, learning about I got into computer science by creating websites, learning about
the Linux kernel and administrating servers. the Linux kernel and administrating servers.

View file

@ -6,7 +6,7 @@ import Page from "../layouts/page.astro";
<main class="container mx-auto px-4 py-16"> <main class="container mx-auto px-4 py-16">
<h1 class="text-3xl sm:text-4xl font-bold">404 Not Found</h1> <h1 class="text-3xl sm:text-4xl font-bold">404 Not Found</h1>
<div class="mt-8"> <div class="mt-8">
<p class="text-justify">This page could not be found.</p> <p>This page could not be found.</p>
</div> </div>
</main> </main>
</Page> </Page>

View file

@ -6,7 +6,7 @@ import Page from "../layouts/page.astro";
<main class="container mx-auto px-4 py-16"> <main class="container mx-auto px-4 py-16">
<h1 class="text-3xl sm:text-4xl font-bold">Email</h1> <h1 class="text-3xl sm:text-4xl font-bold">Email</h1>
<div class="mt-8"> <div class="mt-8">
<p class="text-justify"> <p>
Send an email if you want to work with me, propose a project Send an email if you want to work with me, propose a project
idea, or just to say hi! idea, or just to say hi!
</p> </p>
@ -38,13 +38,13 @@ import Page from "../layouts/page.astro";
</a> </a>
</div> </div>
<p class="text-justify mb-2"> <p class="mb-2">
If you want to encrypt your message, I have a <a If you want to encrypt your message, I have a <a
href="/pgp-0x69771CD04BA82EC0.txt" href="/pgp-0x69771CD04BA82EC0.txt"
class="underline">pgp key</a class="underline">pgp key</a
> at your disposal. > at your disposal.
</p> </p>
<p class="text-justify mb-2"> <p class="mb-2">
I also have a <a href="/keybase.txt" class="underline" I also have a <a href="/keybase.txt" class="underline"
>Keybase</a >Keybase</a
> account, but I do not check it often. > account, but I do not check it often.