Skip to content

Commit c8ea4f0

Browse files
committed
Small changes
1 parent 287e5b6 commit c8ea4f0

6 files changed

Lines changed: 43 additions & 25 deletions

File tree

src/app/equipe/page.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import Button from "@/components/Button/Button";
12
import type { Metadata } from "next";
23
import Image from "next/image";
34
import Link from "next/link";
@@ -34,9 +35,7 @@ export default function Equipe() {
3435
</a>.
3536
<br/>Ou alors...
3637
<Link className="block mt-6" href="/contact">
37-
<button className="bg-gradient-to-r from-blue-500 to-purple-600 hover:from-blue-600 hover:to-purple-700 text-white px-8 py-3 rounded-lg font-semibold transition-all duration-300 transform hover:scale-105 shadow-lg">
38-
Contactez-moi !
39-
</button>
38+
<Button>Contactez-moi !</Button>
4039
</Link>
4140
</p>
4241
</article>

src/app/realisations/page.tsx

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import Button from "@/components/Button/Button";
12
import Carousel from "@/components/Global/Carousel/component";
23
import Link from "next/link";
34

@@ -24,13 +25,22 @@ const discoStarImages = [
2425

2526
export default function Realisations() {
2627
return (
27-
<section className="flex flex-col items-center justify-center bg-white dark:bg-black text-gray-900 dark:text-white p-6 min-h-screen">
28+
<section className="flex flex-col items-center justify-center p-6">
2829
<div className="max-w-3xl w-full">
2930
<h1 className="text-4xl md:text-5xl font-bold mb-6 text-center">Nos réalisations</h1>
3031
<p className="text-lg max-w-xl text-center mb-16 mx-auto leading-relaxed">
3132
Découvrez nos projets récents et comment nous avons aidé nos clients à atteindre leurs objectifs grâce à des solutions informatiques sur mesure.
3233
</p>
3334

35+
<div className="mb-16">
36+
<div className="text-center mb-8">
37+
<h2 className="text-3xl font-bold mb-4 text-blue-600 dark:text-blue-400">Client confidentiel</h2>
38+
<p className="text-lg max-w-md mx-auto mb-6 text-gray-700 dark:text-gray-300">
39+
Après avoir passé un accord de confidentialité, nous avons réalisé un cadrage de projet composé de schémas UML et d&apos;un cahier des charges techniques.
40+
</p>
41+
</div>
42+
</div>
43+
3444
{/* Disco Star Project */}
3545
<div className="mb-16">
3646
<div className="text-center mb-8">
@@ -46,9 +56,7 @@ export default function Realisations() {
4656
/>
4757

4858
<a className="block mt-6" href="https://discostar.game" target="_blank" rel="noopener noreferrer">
49-
<button className="bg-gradient-to-r from-blue-500 to-purple-600 hover:from-blue-600 hover:to-purple-700 text-white px-8 py-3 rounded-lg font-semibold transition-all duration-300 transform hover:scale-105 shadow-lg">
50-
Visiter le site
51-
</button>
59+
<Button>Visiter le site</Button>
5260
</a>
5361
</div>
5462
</div>
@@ -65,9 +73,7 @@ export default function Realisations() {
6573
<p className="text-gray-600 dark:text-gray-400">
6674
Plus de réalisations à venir... <br/>Peut-être avec vous ?
6775
<Link className="block mt-6" href="/contact">
68-
<button className="bg-gradient-to-r from-blue-500 to-purple-600 hover:from-blue-600 hover:to-purple-700 text-white px-8 py-3 rounded-lg font-semibold transition-all duration-300 transform hover:scale-105 shadow-lg">
69-
Contactez-nous !
70-
</button>
76+
<Button>Contactez-nous !</Button>
7177
</Link>
7278
</p>
7379
</div>

src/components/AnimatedTitleVariableMorphing.tsx

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -345,19 +345,16 @@ export default function AnimatedTitleVariableMorphing() {
345345
<div className="w-full relative flex flex-col items-center">
346346
{/* Container avec le filtre SVG */}
347347
<div
348-
className="relative w-full"
348+
className="relative flex justify-center items-center w-full"
349349
style={{
350-
filter: 'url(#threshold) blur(0.6px)',
351-
minHeight: '120px',
352-
display: 'flex',
353-
alignItems: 'center',
354-
justifyContent: 'center'
350+
filter: 'url(#threshold) blur(0.6px)',
351+
minHeight: '120px',
355352
}}
356353
>
357354
{/* Premier texte */}
358355
<span
359356
ref={text1Ref}
360-
className="absolute text-6xl md:text-8xl font-bold text-black dark:text-white tracking-tight select-none"
357+
className="absolute text-3xl sm:text-4xl md:text-5xl lg:text-6xl xl:text-8xl font-bold text-black dark:text-white tracking-tight select-none"
361358
style={{
362359
fontFamily: `"${currentFont.name}", sans-serif`,
363360
width: '100%',
@@ -375,7 +372,7 @@ export default function AnimatedTitleVariableMorphing() {
375372
{/* Deuxième texte */}
376373
<span
377374
ref={text2Ref}
378-
className="absolute text-6xl md:text-8xl font-bold text-black dark:text-white tracking-tight select-none"
375+
className="absolute text-3xl sm:text-4xl md:text-5xl lg:text-6xl xl:text-8xl font-bold text-black dark:text-white tracking-tight select-none"
379376
style={{
380377
fontFamily: `"${nextFont.name}", sans-serif`,
381378
width: '100%',

src/components/Button/Button.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
3+
4+
export default function Button(
5+
{ children, className, ...props }
6+
: React.ButtonHTMLAttributes<HTMLButtonElement>
7+
) {
8+
return (
9+
<button
10+
className={`bg-gradient-to-r from-blue-500 to-purple-600 hover:from-blue-600 hover:to-purple-700 text-white px-8 py-3 rounded-lg font-semibold transition-all duration-300 transform hover:scale-105 shadow-lg ${className}`}
11+
{...props}
12+
>
13+
{children}
14+
</button>
15+
);
16+
}

src/components/Global/Header/styles.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
@apply text-lg font-bold text-gray-900 dark:text-white hover:text-blue-950 dark:hover:text-blue-100 transition-colors;
2020

2121
&.active {
22-
background: linear-gradient(to right, hsl(0, 100%, 30%), hsl(60, 100%, 30%), hsl(120, 100%, 30%), hsl(180, 100%, 30%), hsl(240, 100%, 30%), hsl(300, 100%, 30%), hsl(0, 100%, 30%), hsl(60, 100%, 30%), hsl(120, 100%, 30%), hsl(180, 100%, 30%)) 0 0 / 1000%;
22+
background: linear-gradient(to right, hsl(300, 100%, 30%), hsl(0, 100%, 30%), hsl(60, 100%, 30%), hsl(120, 100%, 30%), hsl(180, 100%, 30%), hsl(240, 100%, 30%), hsl(300, 100%, 30%), hsl(0, 100%, 30%), hsl(60, 100%, 30%)) 0 0 / 1000%;
2323
color: transparent;
2424
-webkit-background-clip: text;
2525
background-clip: text;
26-
animation: shimmer 5s linear infinite;
26+
animation: shimmer 5s linear infinite alternate;
2727
}
2828
}
2929
@media (prefers-color-scheme: dark) {
3030
.header .link.active {
31-
background: linear-gradient(to right, hsl(0, 100%, 70%), hsl(60, 100%, 70%), hsl(120, 100%, 70%), hsl(180, 100%, 70%), hsl(240, 100%, 70%), hsl(300, 100%, 70%), hsl(0, 100%, 70%), hsl(60, 100%, 70%), hsl(120, 100%, 70%), hsl(180, 100%, 70%)) 0 0 / 1000%;
31+
background: linear-gradient(to right, hsl(300, 100%, 70%), hsl(0, 100%, 70%), hsl(60, 100%, 70%), hsl(120, 100%, 70%), hsl(180, 100%, 70%), hsl(240, 100%, 70%), hsl(300, 100%, 70%), hsl(0, 100%, 70%), hsl(60, 100%, 70%)) 0 0 / 1000%;
3232
-webkit-background-clip: text;
3333
background-clip: text;
3434
}

src/components/PageSpecific/Home/Sections/Hero.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ import AnimatedTitleVariableMorphing from "@/components/AnimatedTitleVariableMor
33

44
export default function Hero() {
55
return (
6-
<section className="flex items-center justify-center h-full px-4">
7-
<div className="flex flex-col items-center w-full max-w-10xl mx-auto text-center space-y-10">
6+
<section className="flex items-center justify-center h-full w-full px-4">
7+
<div className="flex flex-col items-center w-full mx-auto text-center space-y-10">
88
{/* Hero Title */}
99
<AnimatedTitleVariableMorphing/>
1010

1111
{/* Subtitle */}
1212
<p className="text-xl md:text-2xl text-gray-600 dark:text-gray-400 font-medium">
1313
Parce que coder est un sacerdoce.
1414
</p>
15-
<p className="text-sm md:text-md text-gray-600 dark:text-gray-400 font-medium max-w-md">
16-
Sacerdoce (nom masculin), sens figuré : Fonction qui présente un caractère quasi religieux en raison du dévouement qu&apos;elle exige.
15+
<p className="text-sm md:text-md text-gray-600 dark:text-gray-400 font-medium max-w-lg">
16+
Sacerdoce (nom masculin), sens figuré : Activité qui présente un caractère quasi religieux en raison du dévouement qu&apos;elle exige.
1717
</p>
1818

1919
{/* Email Input Section */}

0 commit comments

Comments
 (0)