Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9029d726ab | |||
| e1c27f7df6 | |||
| bd5c1c520a | |||
| f5d43b118a | |||
| fef3aefc85 |
191
src/app/page.tsx
191
src/app/page.tsx
@@ -10,6 +10,7 @@ import HeroLogoBillboardSplit from '@/components/sections/hero/HeroLogoBillboard
|
|||||||
import MediaAbout from '@/components/sections/about/MediaAbout';
|
import MediaAbout from '@/components/sections/about/MediaAbout';
|
||||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||||
import { Lightbulb, Monitor, PenTool, ShieldCheck, Zap } from "lucide-react";
|
import { Lightbulb, Monitor, PenTool, ShieldCheck, Zap } from "lucide-react";
|
||||||
|
import CardStack from '@/components/cardStack/CardStack';
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
return (
|
return (
|
||||||
@@ -26,98 +27,116 @@ export default function LandingPage() {
|
|||||||
headingFontWeight="semibold"
|
headingFontWeight="semibold"
|
||||||
>
|
>
|
||||||
<ReactLenis root>
|
<ReactLenis root>
|
||||||
<div id="nav" data-section="nav">
|
<div id="nav" data-section="nav">
|
||||||
<NavbarStyleFullscreen
|
<NavbarStyleFullscreen
|
||||||
navItems={[
|
navItems={[
|
||||||
{ name: "Accueil", id: "hero" },
|
{ name: "Accueil", id: "hero" },
|
||||||
{ name: "Fonctionnalités", id: "features" },
|
{ name: "Chat", id: "chat" },
|
||||||
{ name: "FAQ", id: "faq" },
|
{ name: "Fonctionnalités", id: "features" },
|
||||||
{ name: "Contact", id: "contact" },
|
{ name: "FAQ", id: "faq" },
|
||||||
]}
|
{ name: "Contact", id: "contact" },
|
||||||
brandName="MathIA Grok"
|
]}
|
||||||
/>
|
brandName="MathIA Grok"
|
||||||
</div>
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="hero" data-section="hero">
|
<div id="hero" data-section="hero">
|
||||||
<HeroLogoBillboardSplit
|
<HeroLogoBillboardSplit
|
||||||
background={{ variant: "plain" }}
|
background={{ variant: "plain" }}
|
||||||
logoText="MathIA x Grok"
|
logoText="MathIA x Grok"
|
||||||
description="Une interface de chat avancée combinant le raisonnement de Grok avec un espace de travail visuel. Posez vos questions, recevez des explications illustrées instantanément."
|
description="Une interface de chat avancée combinant le raisonnement de Grok avec un espace de travail visuel. Posez vos questions, recevez des explications illustrées instantanément."
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Essayer la démo", href: "#contact" },
|
{ text: "Essayer la démo", href: "#contact" },
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
layoutOrder="default"
|
layoutOrder="default"
|
||||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BiavO3dCn02likxwS7upWoCIlU/a-highly-sophisticated-digital-classroom-1775133772930-0a6d301f.png"
|
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BiavO3dCn02likxwS7upWoCIlU/a-highly-sophisticated-digital-classroom-1775133772930-0a6d301f.png"
|
||||||
mediaAnimation="blur-reveal"
|
mediaAnimation="blur-reveal"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="about" data-section="about">
|
<div id="chat" data-section="chat">
|
||||||
<MediaAbout
|
<CardStack
|
||||||
useInvertedBackground={false}
|
title="Grok Chat Interface"
|
||||||
title="Réflexion augmentée"
|
description="Une interface de discussion ultra-minimaliste inspirée par l'esthétique xAI. Dialogue direct, clair et sans distraction pour vos besoins analytiques."
|
||||||
description="MathIA utilise les capacités de raisonnement de Grok pour analyser des problèmes complexes et générer des solutions étape par étape sur un tableau blanc numérique, créant une expérience de chat interactive et visuelle."
|
textboxLayout="split"
|
||||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BiavO3dCn02likxwS7upWoCIlU/an-ai-powered-math-teacher-character-int-1775133776116-85c101a8.png"
|
animationType="blur-reveal"
|
||||||
imageAlt="Interface de chat et tableau blanc"
|
ariaLabel="Chat interface"
|
||||||
/>
|
className="bg-black text-white"
|
||||||
</div>
|
>
|
||||||
|
<div className="flex flex-col gap-4 p-8 border border-neutral-800 rounded-lg">
|
||||||
|
<div className="text-sm text-neutral-400">Grok: Comment puis-je vous aider aujourd'hui ?</div>
|
||||||
|
<div className="h-px w-full bg-neutral-800 my-2" />
|
||||||
|
<div className="text-white font-medium">User: Explique-moi le calcul intégral.</div>
|
||||||
|
</div>
|
||||||
|
</CardStack>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="features" data-section="features">
|
<div id="about" data-section="about">
|
||||||
<FeatureBorderGlow
|
<MediaAbout
|
||||||
textboxLayout="split"
|
useInvertedBackground={false}
|
||||||
useInvertedBackground={false}
|
title="Réflexion augmentée"
|
||||||
animationType="slide-up"
|
description="MathIA utilise les capacités de raisonnement de Grok pour analyser des problèmes complexes et générer des solutions étape par étape sur un tableau blanc numérique, créant une expérience de chat interactive et visuelle."
|
||||||
features={[
|
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BiavO3dCn02likxwS7upWoCIlU/an-ai-powered-math-teacher-character-int-1775133776116-85c101a8.png"
|
||||||
{ icon: Lightbulb, title: "Chat Grok IA", description: "Interaction naturelle avec un modèle de langage performant." },
|
imageAlt="Interface de chat et tableau blanc"
|
||||||
{ icon: PenTool, title: "Visualisation", description: "Conversion automatique des concepts mathématiques en schémas." },
|
/>
|
||||||
{ icon: Monitor, title: "Interface épurée", description: "Design noir et blanc minimaliste pour se concentrer sur l'essentiel." },
|
</div>
|
||||||
{ icon: Zap, title: "Réponses rapides", description: "Latence ultra-faible pour un apprentissage fluide." },
|
|
||||||
{ icon: ShieldCheck, title: "Confidentialité", description: "Gestion sécurisée de vos clés API en local." },
|
|
||||||
]}
|
|
||||||
title="La puissance du visuel"
|
|
||||||
description="Une interface pensée pour la clarté et l'efficacité."
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="faq" data-section="faq">
|
<div id="features" data-section="features">
|
||||||
<FaqSplitMedia
|
<FeatureBorderGlow
|
||||||
textboxLayout="split"
|
textboxLayout="split"
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
faqs={[
|
animationType="slide-up"
|
||||||
{ id: "1", title: "Qu'est-ce que MathIA ?", content: "C'est une plateforme qui associe Grok AI à un canevas numérique interactif." },
|
features={[
|
||||||
{ id: "2", title: "Besoin d'une clé API ?", content: "Oui, vous utilisez votre propre clé pour une confidentialité totale." },
|
{ icon: Lightbulb, title: "Chat Grok IA", description: "Interaction naturelle avec un modèle de langage performant." },
|
||||||
]}
|
{ icon: PenTool, title: "Visualisation", description: "Conversion automatique des concepts mathématiques en schémas." },
|
||||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BiavO3dCn02likxwS7upWoCIlU/clean-interface-showing-interactive-math-1775133774387-5fe1858a.png"
|
{ icon: Monitor, title: "Interface épurée", description: "Design noir et blanc minimaliste pour se concentrer sur l'essentiel." },
|
||||||
title="Questions Fréquentes"
|
{ icon: Zap, title: "Réponses rapides", description: "Latence ultra-faible pour un apprentissage fluide." },
|
||||||
description="Plus d'informations sur MathIA."
|
{ icon: ShieldCheck, title: "Confidentialité", description: "Gestion sécurisée de vos clés API en local." },
|
||||||
faqsAnimation="slide-up"
|
]}
|
||||||
mediaAnimation="slide-up"
|
title="La puissance du visuel"
|
||||||
/>
|
description="Une interface pensée pour la clarté et l'efficacité."
|
||||||
</div>
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="contact" data-section="contact">
|
<div id="faq" data-section="faq">
|
||||||
<ContactSplitForm
|
<FaqSplitMedia
|
||||||
useInvertedBackground={false}
|
textboxLayout="split"
|
||||||
title="Accès au système"
|
useInvertedBackground={false}
|
||||||
description="Configurez votre environnement."
|
faqs={[
|
||||||
inputs={[
|
{ id: "1", title: "Qu'est-ce que MathIA ?", content: "C'est une plateforme qui associe Grok AI à un canevas numérique interactif." },
|
||||||
{ name: "name", type: "text", placeholder: "Nom", required: true },
|
{ id: "2", title: "Besoin d'une clé API ?", content: "Oui, vous utilisez votre propre clé pour une confidentialité totale." },
|
||||||
{ name: "email", type: "email", placeholder: "Email", required: true },
|
]}
|
||||||
{ name: "apiKey", type: "password", placeholder: "Clé API Grok", required: true },
|
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BiavO3dCn02likxwS7upWoCIlU/clean-interface-showing-interactive-math-1775133774387-5fe1858a.png"
|
||||||
]}
|
title="Questions Fréquentes"
|
||||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BiavO3dCn02likxwS7upWoCIlU/futuristic-digital-aesthetic-background--1775133773550-69c25a60.png"
|
description="Plus d'informations sur MathIA."
|
||||||
mediaAnimation="blur-reveal"
|
faqsAnimation="slide-up"
|
||||||
/>
|
mediaAnimation="slide-up"
|
||||||
</div>
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="footer" data-section="footer">
|
<div id="contact" data-section="contact">
|
||||||
<FooterLogoReveal
|
<ContactSplitForm
|
||||||
logoText="MathIA"
|
useInvertedBackground={false}
|
||||||
leftLink={{ text: "Confidentialité", href: "#" }}
|
title="Accès au système"
|
||||||
rightLink={{ text: "Contact", href: "#contact" }}
|
description="Configurez votre environnement."
|
||||||
/>
|
inputs={[
|
||||||
</div>
|
{ name: "name", type: "text", placeholder: "Nom", required: true },
|
||||||
|
{ name: "email", type: "email", placeholder: "Email", required: true },
|
||||||
|
{ name: "apiKey", type: "password", placeholder: "Clé API Grok", required: true },
|
||||||
|
]}
|
||||||
|
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BiavO3dCn02likxwS7upWoCIlU/futuristic-digital-aesthetic-background--1775133773550-69c25a60.png"
|
||||||
|
mediaAnimation="blur-reveal"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="footer" data-section="footer">
|
||||||
|
<FooterLogoReveal
|
||||||
|
logoText="MathIA"
|
||||||
|
leftLink={{ text: "Confidentialité", href: "#" }}
|
||||||
|
rightLink={{ text: "Contact", href: "#contact" }}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -10,15 +10,15 @@
|
|||||||
--accent: #ffffff;
|
--accent: #ffffff;
|
||||||
--background-accent: #ffffff; */
|
--background-accent: #ffffff; */
|
||||||
|
|
||||||
--background: #0a0a0a;
|
--background: #000000;
|
||||||
--card: #1a1a1a;
|
--card: #0a0a0a;
|
||||||
--foreground: #ffffff;
|
--foreground: #ffffff;
|
||||||
--primary-cta: #ffffff;
|
--primary-cta: #ffffff;
|
||||||
--primary-cta-text: #0a0a0a;
|
--primary-cta-text: #0a0a0a;
|
||||||
--secondary-cta: #1a1a1a;
|
--secondary-cta: #1a1a1a;
|
||||||
--secondary-cta-text: #ffffff;
|
--secondary-cta-text: #ffffff;
|
||||||
--accent: #737373;
|
--accent: #333333;
|
||||||
--background-accent: #737373;
|
--background-accent: #222222;
|
||||||
|
|
||||||
/* text sizing - set by ThemeProvider */
|
/* text sizing - set by ThemeProvider */
|
||||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||||
|
|||||||
Reference in New Issue
Block a user