www: responsive grid, removed from whoami

This commit is contained in:
Philippe Loctaux 2023-05-19 14:19:11 +02:00
parent 8ad1551948
commit e0413f82fe
3 changed files with 127 additions and 107 deletions

View file

@ -1,7 +1,3 @@
---
import Www from "./www.astro";
---
<div class="md:flex md:flex-row-reverse items-center">
<div class="md:w-1/2 mb-4 md:mb-0">
<img
@ -15,11 +11,7 @@ import Www from "./www.astro";
<h1 class="text-4xl font-bold mb-4">About Phil</h1>
<h2 class="text-2xl font-semibold mb-4">Developer of all sorts</h2>
<div class="my-6">
<Www />
</div>
<div class="text-lg text-justify mb-8 space-y-6">
<div class="text-lg text-justify space-y-6">
<p>
I got into computer science by creating websites, learning about
the Linux kernel and administrating servers.

View file

@ -1,116 +1,140 @@
<div>
<!-- Twitter -->
<a
href="https://twitter.com/philippeloctaux"
class="inline-flex bg-sky-900 hover:bg-sky-700 text-white font-bold py-2 px-4 rounded-xl items-center"
>
<div class="inline-flex items-center">
<svg
class="w-6 h-6 fill-current mr-0 sm:mr-2"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path
d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"
></path></svg
<div class="grid grid-cols-3 lg:grid-cols-6 gap-4 place-content-center">
<div class="w-full h-auto md:w-auto">
<div class="text-center">
<!-- Twitter -->
<a
href="https://twitter.com/philippeloctaux"
class="inline-flex bg-sky-900 hover:bg-sky-700 text-white font-bold py-2 px-4 rounded-xl items-center"
>
<span class="hidden sm:inline">Twitter</span>
<div class="inline-flex items-center">
<svg
class="w-6 h-6 fill-current mr-0 sm:mr-2"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path
d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"
></path></svg
>
<span class="hidden sm:inline">Twitter</span>
</div>
</a>
</div>
</a>
</div>
<!-- Telegram -->
<a
href="https://t.me/philippeloctaux"
class="inline-flex bg-sky-900 hover:bg-sky-700 text-white font-bold py-2 px-4 rounded-xl items-center"
>
<div class="inline-flex items-center">
<svg
class="w-6 h-6 fill-current mr-0 sm:mr-2"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path
d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"
></path></svg
<div class="w-full h-auto md:w-auto">
<div class="text-center">
<!-- Telegram -->
<a
href="https://t.me/philippeloctaux"
class="inline-flex bg-sky-900 hover:bg-sky-700 text-white font-bold py-2 px-4 rounded-xl items-center"
>
<span class="hidden sm:inline">Telegram</span>
<div class="inline-flex items-center">
<svg
class="w-6 h-6 fill-current mr-0 sm:mr-2"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path
d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"
></path></svg
>
<span class="hidden sm:inline">Telegram</span>
</div>
</a>
</div>
</a>
</div>
<!-- Mastodon -->
<a
rel="me"
href="https://mastodon.social/@philt3r"
class="inline-flex bg-sky-900 hover:bg-sky-700 text-white font-bold py-2 px-4 rounded-xl items-center"
>
<div class="inline-flex items-center">
<svg
class="w-6 h-6 fill-current mr-0 sm:mr-2"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path
d="M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z"
></path></svg
<div class="w-full h-auto md:w-auto">
<div class="text-center">
<!-- Mastodon -->
<a
rel="me"
href="https://mastodon.social/@philt3r"
class="inline-flex bg-sky-900 hover:bg-sky-700 text-white font-bold py-2 px-4 rounded-xl items-center"
>
<span class="hidden sm:inline">Mastodon</span>
<div class="inline-flex items-center">
<svg
class="w-6 h-6 fill-current mr-0 sm:mr-2"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path
d="M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z"
></path></svg
>
<span class="hidden sm:inline">Mastodon</span>
</div>
</a>
</div>
</a>
</div>
<!-- GitHub -->
<a
href="https://github.com/x4m3"
class="inline-flex bg-sky-900 hover:bg-sky-700 text-white font-bold py-2 px-4 rounded-xl items-center"
>
<div class="inline-flex items-center">
<svg
class="w-6 h-6 fill-current mr-0 sm:mr-2"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path
d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"
></path></svg
<div class="w-full h-auto md:w-auto">
<div class="text-center">
<!-- GitHub -->
<a
href="https://github.com/x4m3"
class="inline-flex bg-sky-900 hover:bg-sky-700 text-white font-bold py-2 px-4 rounded-xl items-center"
>
<span class="hidden sm:inline">GitHub</span>
<div class="inline-flex items-center">
<svg
class="w-6 h-6 fill-current mr-0 sm:mr-2"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path
d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"
></path></svg
>
<span class="hidden sm:inline">GitHub</span>
</div>
</a>
</div>
</a>
</div>
<!-- LinkedIn -->
<a
href="https://linkedin.com/in/philippeloctaux"
class="inline-flex bg-sky-900 hover:bg-sky-700 text-white font-bold py-2 px-4 rounded-xl items-center"
>
<div class="inline-flex items-center">
<svg
class="w-6 h-6 fill-current mr-0 sm:mr-2"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path
d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"
></path></svg
<div class="w-full h-auto md:w-auto">
<div class="text-center">
<!-- LinkedIn -->
<a
href="https://linkedin.com/in/philippeloctaux"
class="inline-flex bg-sky-900 hover:bg-sky-700 text-white font-bold py-2 px-4 rounded-xl items-center"
>
<span class="hidden sm:inline">LinkedIn</span>
<div class="inline-flex items-center">
<svg
class="w-6 h-6 fill-current mr-0 sm:mr-2"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path
d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"
></path></svg
>
<span class="hidden sm:inline">LinkedIn</span>
</div>
</a>
</div>
</a>
</div>
<!-- Email -->
<a
href="/email"
class="inline-flex bg-sky-900 hover:bg-sky-700 text-white font-bold py-2 px-4 rounded-xl items-center"
>
<div class="inline-flex items-center">
<svg
class="w-6 h-6 mr-0 sm:mr-2"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
<div class="w-full h-auto md:w-auto">
<div class="text-center">
<!-- Email -->
<a
href="/email"
class="inline-flex bg-sky-900 hover:bg-sky-700 text-white font-bold py-2 px-4 rounded-xl items-center"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"
></path>
</svg>
<span class="hidden sm:inline">Email</span>
<div class="inline-flex items-center">
<svg
class="w-6 h-6 mr-0 sm:mr-2"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"
></path>
</svg>
<span class="hidden sm:inline">Email</span>
</div>
</a>
</div>
</a>
</div>
</div>

View file

@ -2,6 +2,7 @@
import Footer from "../components/footer.astro";
import Hero from "../components/hero.astro";
import Whoami from "../components/whoami.astro";
import Www from "../components/www.astro";
---
<html lang="en">
@ -15,6 +16,9 @@ import Whoami from "../components/whoami.astro";
<Hero />
<main class="container mx-auto px-4 py-16">
<Whoami />
<div class="my-16">
<Www />
</div>
</main>
<Footer />
</body>