Skip to content

Commit

Permalink
feat: adiciona nova seção
Browse files Browse the repository at this point in the history
  • Loading branch information
dougdomingos committed Jan 28, 2025
1 parent 29f0bd1 commit 817e0fd
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 106 deletions.
106 changes: 0 additions & 106 deletions public/img/iniciativa-devops.svg

This file was deleted.

Binary file added public/img/rh-academy-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions src/components/layout/Section.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
import Container from './Container.astro';
interface Props {
title: string;
}
const { title } = Astro.props as Props;
---

<section class="mb-8">
<Container>
<h2 class="font-bold text-3xl mb-4">{title}</h2>
<slot />
</Container>
</section>
28 changes: 28 additions & 0 deletions src/components/pages/home/HowItWorks.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
import Section from "../../layout/Section.astro";
---

<Section title="Como funciona?">
<div class="flex flex-row justify-between">
<div class="flex flex-col gap-4 max-w-[70ch]">
<p class="text-xl">
Os alunos participantes recebem acesso à plataforma de aprendizado
online
<b>RedHat Academy</b>, com uma <b>trilha de cursos pré-selecionada</b>,
contando ainda com certificações.
</p>
<p class="text-xl">
Uma vez concluída a etapa de capacitação, o aluno participará no
desenvolvimento de <b>mini-projetos</b> e <b>atividades práticas</b> junto
ao time de Guardians.
</p>
</div>
<div class="flex flex-col justify-center items-center max-w-96 w-full">
<img
src="/iniciativa-devops/img/rh-academy-logo.png"
alt=""
class="w-full"
/>
</div>
</div>
</Section>
2 changes: 2 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
import Landing from "../components/pages/Landing.astro";
import Layout from "../layouts/Layout.astro";
import HowItWorks from "../components/pages/home/HowItWorks.astro";
---

<Layout title="Iniciativa DevOps - Home">
<Landing />
<HowItWorks />
</Layout>

0 comments on commit 817e0fd

Please sign in to comment.