Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
govinda777 committed Jan 2, 2025
1 parent e338b3d commit a12c8e9
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 0 deletions.
Binary file added public/home/logo-ia-do-empreendedor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 63 additions & 0 deletions src/pages/Home/IaDoEmpreendedor.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
// Home/IaDoEmpreendedor.tsx
import React from 'react';

interface IaDoEmpreendedorProps {
logoSrc: string;
title: string;
subtitle: string;
description: string;
highlightPart1: string;
highlightPart2: string;
buttonText: string;
logoAlt?: string;
}

const IaDoEmpreendedor: React.FC<IaDoEmpreendedorProps> = ({
logoSrc,
title,
subtitle,
description,
highlightPart1,
highlightPart2,
buttonText,
logoAlt = "IA do Empreendedor Logo",
}) => {
return (
<div className="w-full bg-black min-h-screen relative overflow-hidden">
<div className="absolute top-0 left-0 w-64 h-64 rounded-full bg-[#3D2A20] -translate-x-1/4 -translate-y-1/4" />
<div className="absolute bottom-0 left-0 w-96 h-96 rounded-full bg-[#2A2F1E] translate-x-1/4 translate-y-1/4" />
<div className="absolute bottom-0 right-0 w-96 h-96 rounded-full bg-[#3D2A20] translate-x-1/4 translate-y-1/4" />

<div className="relative max-w-6xl mx-auto px-4 py-24 flex flex-col items-center text-center">
<div className="flex items-center justify-center gap-6 mb-4">
<img
src={logoSrc}
alt={logoAlt}
className="w-20 h-20 object-contain"
/>
<h2 className="text-white text-6xl font-normal">
{title}
</h2>
</div>

<p className="text-white text-3xl font-light italic mb-16">
{subtitle}
</p>

<p className="text-white text-2xl max-w-4xl mx-auto mb-12 leading-relaxed">
{description}
</p>

<p className="text-white text-3xl font-normal mb-12">
{highlightPart1} <span className="font-bold">{highlightPart2}</span>
</p>

<button className="bg-[#E85D04] text-white text-xl font-normal px-12 py-4 rounded-full hover:bg-opacity-90 transition-colors">
{buttonText}
</button>
</div>
</div>
);
};

export default IaDoEmpreendedor;
11 changes: 11 additions & 0 deletions src/pages/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
import React from 'react';
import Hero from '../../components/Hero';
import Solutions from './Solutions';
import IaDoEmpreendedor from './IaDoEmpreendedor';

const Home: React.FC = () => {
const heroImage = new URL('/public/home/hero.png', import.meta.url).href;
const solutionsImage = new URL('/public/home/solutions.png', import.meta.url).href;
const iaLogo = new URL('/public/home/logo-ia-do-empreendedor.png', import.meta.url).href;

return (
<>
Expand All @@ -26,6 +28,15 @@ const Home: React.FC = () => {
linkText="Conheça todas as soluções"
solutionsImageSrc={solutionsImage}
/>
<IaDoEmpreendedor
logoSrc={iaLogo}
title="IA do Empreendedor"
subtitle="chatbot Xperience"
description="Nossa nova ferramenta, IA do Empreendedor, permite que você faça uma avaliação rápida e personalizada do seu comércio e descubra oportunidades de melhoria em minutos."
highlightPart1="TUDO DE FORMA"
highlightPart2="GRATUITA!"
buttonText="Explore a IA"
/>
</>
);
};
Expand Down

0 comments on commit a12c8e9

Please sign in to comment.