Skip to content

Commit

Permalink
wip content
Browse files Browse the repository at this point in the history
  • Loading branch information
math-pixel committed Sep 6, 2024
1 parent 55a0e1e commit 4c426ac
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 17 deletions.
Binary file added public/images/masarus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/Arrow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
controls={false}
renderer='svg'
background='transparent'
height={500}
width={500}
height={300}
width={300}
/>
<!-- controlsLayout={[
"previousFrame",
Expand Down
6 changes: 3 additions & 3 deletions src/components/Card.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ export let techno :PropsComponent['techno'];

<a href={href} class="relative w-[40%] h-[40%] bg-[#D6ECFF] overflow-visible rounded-[20px]">

<img src={thumbnail} alt="" class=" absolute bottom-[12px] left-[12px] h-[105%] rounded-[10px]">
<img src={thumbnail} alt="" class=" absolute bottom-[12px] left-[12px] h-[105%] max-w-[35%] rounded-[10px]">

<h2 class="absolute top-[10%] left-[40%] font-semibold text-4xl">{title}</h2>
<p class="absolute top-[20%] left-[40%] font-normal text-lg ">{description}</p>
<p class="absolute top-[25%] left-[40%] font-normal text-lg ">{description}</p>

<div class=" absolute -bottom-[5%] right-[5%] w-[40%] h-[20%] flex justify-around items-center overflow-visible">
{#each techno as currentTechno, index}
{#if index < 3}
<img alt="image" src={currentTechno.img} class="w-[35%]"/>
<img alt="image" src={currentTechno.img} class="w-[25%]"/>
{/if}
{/each}
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ interface Props {
const { href, title } = Astro.props;
---

<ul class=" sticky inset-x-0 top-4 z-50 global-color flex justify-around w-1/4 rounded-full mx-auto my-5 font-semibold text-2xl drop-shadow-lg">
<ul class=" sticky inset-x-0 top-4 z-50 global-color flex justify-around w-1/4 rounded-full mx-auto my-5 font-semibold text-2xl drop-shadow-sm">
{title.map((item, index) => (
<a href={href[index]} class=" m-4">{item}</a>
<a href={href[index]} class=" m-4">{item}</a>
))}
</ul>

28 changes: 18 additions & 10 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,28 @@ import Card from '../components/Card.svelte';
import Arrow from '../components/Arrow.svelte'
const cards = [
{ title: "3D Printer", body: "yay" ,href: "", thumbnail : "/images/toto.png",
{ title: "Arcania", body: "Dans Arcania transformer votre telephone en veritable baguette magique et combattez vos amies dans l'arene" ,href: "https://github.com/math-pixel/ARCANIA", thumbnail : "/images/masarus.png",
techno: [
{"img" : "https://skillicons.dev/icons?i=p5js"},
{"img" : "https://skillicons.dev/icons?i=nodejs"},
{"img" : "https://skillicons.dev/icons?i=html"}
]
},
{ title: "Masaru's Adventure", body: "Aidez Masarus à retrouver le shamizen sacré pour sauvez l'île de Kyushu. " ,href: "https://github.com/math-pixel/Masarus-Adventure", thumbnail : "/images/masarus.png",
techno: [
{"img" : "/images/profile.png"},
{"img" : "/images/profile.png"}
]
},
{ title: "3D Printer", body: "yay" ,href: "", thumbnail : "/images/toto.png",
{ title: "Imprimante 3D", body: "En quêtes de savoir, j'ai voulue construire moi meme une imprimante 3D pour connaitre les moindres details de ces machines" ,href: "", thumbnail : "/images/toto.png",
techno: [
{"img" : "/images/profile.png"},
{"img" : "/images/profile.png"},
{"img" : "/images/profile.png"},
{"img" : "/images/profile.png"}
]
},
{ title: "3D Printer", body: "yay" ,href: "", thumbnail : "/images/toto.png",
{ title: "Reveil Intelligent", body: "Allo Jarvis ? Reveil 8H demain ! Un reveil fabriquer en python booster a l'ia et structure grace a de la POO " ,href: "", thumbnail : "/images/toto.png",
techno: [
{"img" : "/images/profile.png"},
{"img" : "/images/profile.png"},
Expand All @@ -39,25 +46,26 @@ const cards = [
<Header title={["Accueil", "Projets", "Contact"]} href={["/", "/#projectHighlight", "/#contact"]}></Header>
<div id="home" class=" flex w-full h-screen typo-rubik">

<div class=" absolute left-[10%] top-[30%] flex flex-col">
<div class=" absolute left-[5%] top-[30%] flex flex-col overflow-visible">
<h1 class="text-7xl font-semibold ">Mathieu Chavanel</h1>
<h2 class="text-5xl font-light">Developpeur Creatif</h2>
<p class="text-2xl font-thin mt-8 max-w-[60%]">
Salut ! Je suis un développeur passionné et curieux sur le monde qui m'entoure. J'adore me lancer des nouveaux défis & apprendre de nouvelle compétences !
Et quand je ne code pas, vous me trouverez probablement en train de faire du sport ou de bricoler sur un projet.
<p class="text-2xl font-thin mt-8 max-w-[76%]">
Salut ! Je suis un développeur passionné et surtout curieux sur le monde qui nous entoure.
<br>J'adore me lancer des nouveaux défis et apprendre de nouvelle compétences !
<br>Et quand je ne code pas, vous me trouverez probablement en train de faire du sport, de bricoler ou de jouer au dernier jeu vidéo !
<br>
<br>
Pour me résumer en 3 mots : Curieux, Manuel, Persévérant
Pour me résumer en 3 mots : <mark class=" bg-[#FFF8D6] px-[10px] py-[4px] rounded-lg "><b>Curieux</b></mark> <mark class=" bg-[#E3FFD6] px-[10px] py-[4px] rounded-lg "><b>Manuel</b></mark> <mark class=" bg-[#F4D6FF] px-[10px] py-[4px] rounded-lg "><b>Persévérant</b></mark>
</p>
</div>


<!-- <a href="" class=" absolute bottom-[10%] left-1/2">arrow</a> -->
<div class="absolute right-[10%] top-[20%] overflow-visible">

<img src="/images/avatar.png" alt="image profile" class="">
<img src="/images/avatar.png" alt="image profile" class=" w-[450px]">

<div class="bg-[#BCFFF7] absolute -left-[10%] top-[85%] rounded-[10px] -rotate-[7deg]">
<div class="bg-[#BCFFF7] absolute left-[5%] top-[80%] rounded-[10px] -rotate-[7deg] ">
<p class="font-normal text-[30px] py-[8px] px-[16px] whitespace-nowrap">A la recherche d'une alternance</p>
</div>
</div>
Expand Down

0 comments on commit 4c426ac

Please sign in to comment.