mirror of
https://github.com/rjNemo/lekol-plus
synced 2026-06-06 06:56:41 +00:00
🩸 lay about section out
This commit is contained in:
parent
5b2a6a30c4
commit
44630004fc
3 changed files with 70 additions and 0 deletions
68
src/components/about.jsx
Normal file
68
src/components/about.jsx
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
import React from "react"
|
||||
import { useStaticQuery, graphql, Link } from "gatsby"
|
||||
import Img from "gatsby-image"
|
||||
|
||||
import * as ROUTES from "../global/routes"
|
||||
|
||||
const Image = () => {
|
||||
const data = useStaticQuery(graphql`
|
||||
query {
|
||||
placeholderImage: file(relativePath: { eq: "about.jpg" }) {
|
||||
childImageSharp {
|
||||
fluid {
|
||||
...GatsbyImageSharpFluid
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`)
|
||||
|
||||
return (
|
||||
<Img
|
||||
fluid={data.placeholderImage.childImageSharp.fluid}
|
||||
className="img-fluid"
|
||||
alt=""
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
const About = () => (
|
||||
<section id="about" className="about">
|
||||
<div className="container">
|
||||
<div className="section-title">
|
||||
<h2>À Propos</h2>
|
||||
<p>Qui sommes-nous</p>
|
||||
</div>
|
||||
|
||||
<div className="row">
|
||||
<div className="col-lg-6 order-1 order-lg-2">
|
||||
<Image />
|
||||
</div>
|
||||
<div className="col-lg-6 pt-4 pt-lg-0 order-2 order-lg-1 content">
|
||||
<h3>Éducateurs expérimentés</h3>
|
||||
<p className="font-italic">
|
||||
Des éducateurs innovants au service de la réussite de votre enfant.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<i className="icofont-check-circled"></i> X années d'expériences.
|
||||
</li>
|
||||
<li>
|
||||
<i className="icofont-check-circled"></i> Méthode éprouvée à
|
||||
l'internationale.
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Nous nous concentrons sur le développement de l'autonomie de
|
||||
l'étudiant.
|
||||
</p>
|
||||
<Link to={ROUTES.A_PROPOS} className="learn-more-btn">
|
||||
En Savoir Plus
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
|
||||
export default About
|
||||
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
|
|
@ -3,6 +3,7 @@ import React from "react"
|
|||
import Layout from "../components/layout"
|
||||
import SEO from "../components/seo"
|
||||
import Hero from "../components/hero"
|
||||
import About from "../components/about"
|
||||
|
||||
const IndexPage = () => (
|
||||
<Layout>
|
||||
|
|
@ -11,6 +12,7 @@ const IndexPage = () => (
|
|||
title="Le PLUS pour mener votre enfant vers la réussite"
|
||||
subtitle="Accompagnement et suivi personnalisé orienté vers l'international"
|
||||
/>
|
||||
<About />
|
||||
</Layout>
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue