Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/146-History-Homepage #157

Merged
merged 6 commits into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
15 changes: 15 additions & 0 deletions src/components/HistoryDescription.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions src/screens/homepage/HomePageHistory.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,23 @@ import '../../styles/styles.css';
import { useEffect } from 'react';
import chronology from '../../logo/actividades-desarrolladas.jpg';
import LayoutHomepage from '../../components/LayoutHomepage';

import HistoryDescription from '../../components/HistoryDescription';
function HomePageHistory() {
useEffect(() => {
window.scrollTo(0, 0);
}, []);




return (
<LayoutHomepage
title="HISTORIA"
description="En 1992, jóvenes voluntarios en Sevilla fundaron Manos Abiertas para ofrecer clases de apoyo a niños del Polígono Norte. En 2015, evolucionaron a Asociación Manos Abiertas con Norte, profesionalizando su intervención y colaborando con diversas entidades. Hoy, cuentan con un equipo técnico, voluntarios y colaboradores, manteniendo su compromiso con la comunidad."
description={<HistoryDescription />} // Use the DescriptionComponent here

image={'activities'}
>

<p>Las actividades han variado a lo largo de estos años según se muestra en el siguiente cuadro:</p>
<img src={chronology} alt="Cronología de la Asociación Manos Abiertas con Norte" />

</LayoutHomepage>
Expand Down