Skip to content

Commit 817e0fd

Browse files
committed
feat: adiciona nova seção
1 parent 29f0bd1 commit 817e0fd

File tree

5 files changed

+46
-106
lines changed

5 files changed

+46
-106
lines changed

public/img/iniciativa-devops.svg

Lines changed: 0 additions & 106 deletions
This file was deleted.

public/img/rh-academy-logo.png

56.2 KB
Loading

src/components/layout/Section.astro

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
import Container from './Container.astro';
3+
4+
interface Props {
5+
title: string;
6+
}
7+
8+
const { title } = Astro.props as Props;
9+
---
10+
11+
<section class="mb-8">
12+
<Container>
13+
<h2 class="font-bold text-3xl mb-4">{title}</h2>
14+
<slot />
15+
</Container>
16+
</section>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
import Section from "../../layout/Section.astro";
3+
---
4+
5+
<Section title="Como funciona?">
6+
<div class="flex flex-row justify-between">
7+
<div class="flex flex-col gap-4 max-w-[70ch]">
8+
<p class="text-xl">
9+
Os alunos participantes recebem acesso à plataforma de aprendizado
10+
online
11+
<b>RedHat Academy</b>, com uma <b>trilha de cursos pré-selecionada</b>,
12+
contando ainda com certificações.
13+
</p>
14+
<p class="text-xl">
15+
Uma vez concluída a etapa de capacitação, o aluno participará no
16+
desenvolvimento de <b>mini-projetos</b> e <b>atividades práticas</b> junto
17+
ao time de Guardians.
18+
</p>
19+
</div>
20+
<div class="flex flex-col justify-center items-center max-w-96 w-full">
21+
<img
22+
src="/iniciativa-devops/img/rh-academy-logo.png"
23+
alt=""
24+
class="w-full"
25+
/>
26+
</div>
27+
</div>
28+
</Section>

src/pages/index.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
22
import Landing from "../components/pages/Landing.astro";
33
import Layout from "../layouts/Layout.astro";
4+
import HowItWorks from "../components/pages/home/HowItWorks.astro";
45
---
56

67
<Layout title="Iniciativa DevOps - Home">
78
<Landing />
9+
<HowItWorks />
810
</Layout>

0 commit comments

Comments
 (0)