Skip to content

Commit

Permalink
Adcionando a nova imagem da HeroSection
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusV-Silva committed Aug 28, 2024
1 parent bd6ae38 commit 19aedc3
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
3 changes: 0 additions & 3 deletions components/projects-components/HeroSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ export default function HeroSection(props) {
{props.subtitle}
</h2>
</div>
<div className={styles.imgContainer}>
<img alt={"Projeto explodido do cubesat zensat mostrando cada uma de suas placase os paineis laterais"} src={`/images/Projetos/${path}`} />
</div>

</div>
);
Expand Down
5 changes: 5 additions & 0 deletions locales/pt/projetos.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
"title": "Nossos projetos",
"subtitle": "Integração de diversos campos da Engenharia no setor aeroespacial"
},
"projetoArray": {
"title": "O que fazemos?",
"subtitle": "Atuamos com ",
"array": ["Sondas Aeroespaciais", "CubeSats", "Software", "Hardware", "Educação"]
},
"picker": ["Sondas aeroespaciais", "CubeSats", "Software", "Hardware", "Educacional"],
"atualmente": "Atualmente",
"voltar": "Voltar para página de projetos",
Expand Down
11 changes: 6 additions & 5 deletions pages/projetos/index.jsx
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
import React from 'react';
import NavBar from 'components/navbar-components/NavBar';
import useTranslation from 'next-translate/useTranslation';
import HeroSection from 'components/projects-components/HeroSection';
import HeroSection from 'components/general/HeroSection';
import ProjectTab from 'components/projects-components/ProjectTab';
import Footer from 'components/Footer';
import HeadTags from 'components/general/HeadTags';
import ProjectsTabNew from 'components/projects-components/projectsv2/ProjectsTabNew';

function Projetos() {
const { t } = useTranslation();
const title = t('projetos:projetosHero.title');
const subtitle = t('projetos:projetosHero.subtitle');
const title = t('projetos:projetoArray.title');
const subtitle = t('projetos:projetoArray.subtitle');
const array = t('projetos:projetoArray.array', { count: -1 }, { returnObjects: true });
const metaTags = t('projetos:metaTags', { count: -1 }, { returnObjects: true });
return (
<>
<HeadTags pageName={metaTags.pageName} title={metaTags.title} description={metaTags.description} pageTitle={metaTags.pageTitle} lang={metaTags.lang}/>
<NavBar />
<HeroSection
backgroundColor="#000000"
backgroundImage="url(../../../../images/Projetos/Hero/GarateaE2018.webp)"
title={title}
subtitle={subtitle}
path={"Hero/render.webp"}
array={array}
/>
<ProjectsTabNew />
{/* <ProjectTab /> */}
Expand Down
Binary file added public/images/Projetos/Hero/GarateaE2018.webp
Binary file not shown.
Binary file not shown.

0 comments on commit 19aedc3

Please sign in to comment.