Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 73 additions & 39 deletions app/sobre/page.tsx
Original file line number Diff line number Diff line change
@@ -1,56 +1,90 @@
'use client'

import BlueBlocks from '../src/components/atoms/BlueBlocks'
import Title from '../src/components/atoms/Title'
import YellowBlocks from '../src/components/atoms/YellowBlocks'
import { EmblaCarousel } from '../src/components/molecules/Carrosel'
import Footer from '../src/components/molecules/Footer'
import HeroAbout from '../src/components/molecules/HeroAbout'
import NavBar from '../src/components/molecules/NavBar'
import ImageAndDescription from '../src/components/organisms/ImageAndDescription'

const imgs = [

{ name: "ECOP Image 2", img: "/about-gallery/ecop-2.webp" },
{ name: "ECOP Image 3", img: "/about-gallery/ecop-3.webp" },
{ name: "ECOP Image 4", img: "/about-gallery/ecop-4.webp" },
{ name: "ECOP Image 5", img: "/about-gallery/ecop-5.webp" },
{ name: "ECOP Image 6", img: "/about-gallery/ecop-6.webp" },
{ name: "ECOP Image 7", img: "/about-gallery/ecop-7.webp" },
{ name: "ECOP Image 8", img: "/about-gallery/ecop-8.webp" },
{ name: "ECOP Image 9", img: "/about-gallery/ecop-9.webp" },
{ name: "ECOP Image 10", img: "/about-gallery/ecop-10.webp" },
{ name: "ECOP Image 11", img: "/about-gallery/ecop-11.webp" },
{ name: "ECOP Image 12", img: "/about-gallery/ecop-12.webp" },
{ name: "ECOP Image 13", img: "/about-gallery/ecop-13.webp" },
{ name: "ECOP Image 14", img: "/about-gallery/ecop-14.webp" },
{ name: "ECOP Image 15", img: "/about-gallery/ecop-15.webp" },
{ name: "ECOP Image 16", img: "/about-gallery/ecop-16.webp" },
{ name: "ECOP Image 17", img: "/about-gallery/ecop-17.webp" }
];

export default function Sobre() {
return (
<div className='bg-[#EFFBFF] pt-20'>
<NavBar />

<HeroAbout />

<div className='relative'>
<BlueBlocks top='-top-[4rem]' topSm='-top-24' topMd='-top-[2.5rem]' right='right-10' rightMd='right-2' />

<ImageAndDescription
title='MÉDIA DE 600 INSCRIÇÕES POR EDIÇÃO!'
description={
<>
Com palestras, minicursos, mesas redondas, trabalhos científicos e momentos culturais, o evento conta com uma
{' '}
<strong>
ampla aceitação de discentes da UFERSA e de outras instituições da região e de estados vizinhos
</strong>
{' '}
(e.g., escolas municipais, estaduais, institutos federais e de educação profissional, tecnologia e inovação do RN).
</>
}
img='/ecop-01.webp'
/>

<ImageAndDescription
direction='flex-row-reverse'
title='ESTÁGIO E NETWORKING COM EMPRESAS'
description={
<>
O ECOP tem como objetivo {' '} <strong>promover a interação entre estudantes, pesquisadores e mercado de trabalho</strong>, {' '} além de apresentar os cursos da área de computação da UFERSA - Campus Pau dos Ferros para os estudantes da região.
</>
}
img='/ecop-02.webp' />


<YellowBlocks bottom='-bottom-[7.5rem]' bottomMd='-bottom-40' leftMd='left-2'/>

<>
<div className='bg-[#EFFBFF] py-30'>
<NavBar />

<div className='relative'>
<BlueBlocks top='-top-20' topSm='-top-20' topMd='-top-8' right='right-10' rightMd='right-2' />

<ImageAndDescription
title='MÉDIA DE 600 INSCRIÇÕES POR EDIÇÃO!'
description={
<>
Com palestras, minicursos, mesas redondas, trabalhos científicos, olimpíada de programação, hackathon, salão empresarial, momentos culturais e jogos interativos, etc., tendo uma
{' '}
<strong>
ampla aceitação de discentes da UFERSA e de outras instituições da região e de estados vizinhos
</strong>
{' '}
(e.g., escolas municipais, estaduais, institutos federais e de educação profissional, tecnologia e inovação do RN).
</>
}
img='/ecop-01.webp'
/>

<ImageAndDescription
direction='flex-row-reverse'
title='ESTÁGIO E NETWORKING COM EMPRESAS'
description={
<>
O ECOP tem como objetivo {' '} <strong>promover a interação entre estudantes, pesquisadores e mercado de trabalho</strong>, {' '} além de apresentar os cursos da área de computação da UFERSA - Campus Pau dos Ferros para os estudantes da região.
</>
}
img='/ecop-02.webp' />


<YellowBlocks bottom='-bottom-[6rem]' bottomMd='-bottom-40' leftMd='left-2'/>

</div>


</div>

{/* GALLERY */}
<div className='bg-[#CDF4FE] flex flex-col justify-center items-center w-full -mt-[7.2rem] py-20'>
<div className="flex flex-col w-[60%] justify-center items-center gap-6">
<Title text="CONFIRA MOMENTOS DAS EDIÇÕES ANTERIORES" showHr />
<p className="text-center"><strong>Em 2026, será realizada a sua VIII edição presencial</strong>. O evento contou também com duas edições remotas, totalizando 10 edições, contrastando com a idade do Campus Pau dos Ferros (13 anos).</p>
</div>

<EmblaCarousel images={imgs} showArrows />
</div>


<Footer />
</div>
</>
)
}

31 changes: 22 additions & 9 deletions app/src/components/molecules/Carrosel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Link from 'next/link'

interface TypeImages {
name: string,
link: string,
link?: string,
img: string
}

Expand Down Expand Up @@ -84,22 +84,35 @@ export function EmblaCarousel({ images, showArrows = false }: EmblaCarouselProps
key={index}
className="flex-[0_0_60.333%] sm:flex-[0_0_56.333%] md:flex-[0_0_53.333%] lg:flex-[0_0_30.333%] mr-10 gap-10 flex justify-center"
>
<Link
href={src.link}
target="_blank"
rel="noopener noreferrer"
>
{src.link ? (
<a
href={src.link}
target="_blank"
rel="noopener noreferrer"
>
<Image
src={src.img}
alt={`Slide ${index + 1}`}
width={800}
height={288}
className="h-50 sm:h-60 w-full rounded-[10px] object-contain"
priority={index === 0}
quality={65}
unoptimized
/>
</a>
) : (
<Image
src={src.img}
alt={`Slide ${index + 1}`}
width={800}
height={288}
className={`h-50 sm:h-60 w-full rounded-[10px] object-contain`}
priority={index == 0}
className="h-50 sm:h-60 w-full rounded-[10px] object-contain"
priority={index === 0}
quality={65}
unoptimized
/>
</Link>
)}
</div>
))}
</div>
Expand Down
Binary file added public/about-gallery/ecop-1.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/about-gallery/ecop-10.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/about-gallery/ecop-11.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/about-gallery/ecop-12.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/about-gallery/ecop-13.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/about-gallery/ecop-14.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/about-gallery/ecop-15.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/about-gallery/ecop-16.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/about-gallery/ecop-17.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/about-gallery/ecop-2.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/about-gallery/ecop-3.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/about-gallery/ecop-4.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/about-gallery/ecop-5.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/about-gallery/ecop-6.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/about-gallery/ecop-7.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/about-gallery/ecop-8.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/about-gallery/ecop-9.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.