fix de tests
This commit is contained in:
parent
b35ef41591
commit
5560d7d2a6
17 changed files with 88 additions and 90 deletions
|
|
@ -1,14 +0,0 @@
|
|||
import React from "react";
|
||||
import { Link } from "gatsby";
|
||||
|
||||
import "./index.scss";
|
||||
|
||||
const CollapsedNavbar = () => {
|
||||
return (
|
||||
<div id="navbar-container">
|
||||
<nav></nav>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default CollapsedNavbar;
|
||||
|
|
@ -2,10 +2,12 @@
|
|||
@use "../../scss/abstracts/fonts" as *;
|
||||
|
||||
header {
|
||||
// width: 100vw;
|
||||
width: calc(100vw - 12px);
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
background-image: url("../../images/pen-blue.webp");
|
||||
overflow-y: auto;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
padding-top: 5rem;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import HeaderContext from "../../context/headerContext";
|
|||
import "./index.scss";
|
||||
|
||||
const Navbar = () => {
|
||||
const mustShowNavbar = useContext(HeaderContext);
|
||||
const headerContext = useContext(HeaderContext);
|
||||
|
||||
const handleShowNavbar = (context) => {
|
||||
if (context.isHeaderHidden === true) {
|
||||
|
|
@ -17,7 +17,7 @@ const Navbar = () => {
|
|||
|
||||
return (
|
||||
<div id="navbar-container">
|
||||
<nav style={handleShowNavbar(mustShowNavbar)}>
|
||||
<nav style={handleShowNavbar(headerContext)}>
|
||||
<div className="details">
|
||||
<Link to="/services" className="menu-btn">
|
||||
<span>Services</span>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ nav {
|
|||
padding: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
// justify-content: space-between;
|
||||
|
||||
.details {
|
||||
align-items: flex-start;
|
||||
|
|
@ -67,3 +66,20 @@ nav {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
nav {
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,10 +2,8 @@
|
|||
@use "../../scss/abstracts/fonts" as *;
|
||||
|
||||
.item-card {
|
||||
width: 30rem;
|
||||
max-width: 80vw;
|
||||
margin-top: 1.3rem;
|
||||
// margin-left: auto;
|
||||
// margin-right: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
|
@ -13,7 +11,7 @@
|
|||
|
||||
.item-card-image {
|
||||
height: auto;
|
||||
width: 100%;
|
||||
width: 80%;
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
|
|
@ -57,10 +55,10 @@
|
|||
|
||||
@media screen and (max-width: 900px) {
|
||||
.tech-tag-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
height: auto;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
|
||||
.tech-tag {
|
||||
display: block;
|
||||
|
|
|
|||
3
src/images/menu.svg
Normal file
3
src/images/menu.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<svg width="87" height="87" viewBox="0 0 87 87" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M78.8438 70.6875H8.15625C7.43519 70.6875 6.74367 70.9739 6.2338 71.4838C5.72394 71.9937 5.4375 72.6852 5.4375 73.4062L5.4375 78.8438C5.4375 79.5648 5.72394 80.2563 6.2338 80.7662C6.74367 81.2761 7.43519 81.5625 8.15625 81.5625H78.8438C79.5648 81.5625 80.2563 81.2761 80.7662 80.7662C81.2761 80.2563 81.5625 79.5648 81.5625 78.8438V73.4062C81.5625 72.6852 81.2761 71.9937 80.7662 71.4838C80.2563 70.9739 79.5648 70.6875 78.8438 70.6875ZM78.8438 48.9375H8.15625C7.43519 48.9375 6.74367 49.2239 6.2338 49.7338C5.72394 50.2437 5.4375 50.9352 5.4375 51.6562L5.4375 57.0938C5.4375 57.8148 5.72394 58.5063 6.2338 59.0162C6.74367 59.5261 7.43519 59.8125 8.15625 59.8125H78.8438C79.5648 59.8125 80.2563 59.5261 80.7662 59.0162C81.2761 58.5063 81.5625 57.8148 81.5625 57.0938V51.6562C81.5625 50.9352 81.2761 50.2437 80.7662 49.7338C80.2563 49.2239 79.5648 48.9375 78.8438 48.9375ZM78.8438 27.1875H8.15625C7.43519 27.1875 6.74367 27.4739 6.2338 27.9838C5.72394 28.4937 5.4375 29.1852 5.4375 29.9062L5.4375 35.3438C5.4375 36.0648 5.72394 36.7563 6.2338 37.2662C6.74367 37.7761 7.43519 38.0625 8.15625 38.0625H78.8438C79.5648 38.0625 80.2563 37.7761 80.7662 37.2662C81.2761 36.7563 81.5625 36.0648 81.5625 35.3438V29.9062C81.5625 29.1852 81.2761 28.4937 80.7662 27.9838C80.2563 27.4739 79.5648 27.1875 78.8438 27.1875ZM78.8438 5.4375H8.15625C7.43519 5.4375 6.74367 5.72394 6.2338 6.2338C5.72394 6.74367 5.4375 7.43519 5.4375 8.15625L5.4375 13.5938C5.4375 14.3148 5.72394 15.0063 6.2338 15.5162C6.74367 16.0261 7.43519 16.3125 8.15625 16.3125H78.8438C79.5648 16.3125 80.2563 16.0261 80.7662 15.5162C81.2761 15.0063 81.5625 14.3148 81.5625 13.5938V8.15625C81.5625 7.43519 81.2761 6.74367 80.7662 6.2338C80.2563 5.72394 79.5648 5.4375 78.8438 5.4375V5.4375Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 526 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 13 KiB |
|
|
@ -1,54 +1,19 @@
|
|||
import * as React from "react"
|
||||
import { Link } from "gatsby"
|
||||
import React from "react";
|
||||
import { Link } from "gatsby";
|
||||
|
||||
// styles
|
||||
const pageStyles = {
|
||||
color: "#232129",
|
||||
padding: "96px",
|
||||
fontFamily: "-apple-system, Roboto, sans-serif, serif",
|
||||
}
|
||||
const headingStyles = {
|
||||
marginTop: 0,
|
||||
marginBottom: 64,
|
||||
maxWidth: 320,
|
||||
}
|
||||
import Seo from "../components/seo";
|
||||
import Footer from "../components/footer";
|
||||
|
||||
const paragraphStyles = {
|
||||
marginBottom: 48,
|
||||
}
|
||||
const codeStyles = {
|
||||
color: "#8A6534",
|
||||
padding: 4,
|
||||
backgroundColor: "#FFF4DB",
|
||||
fontSize: "1.25rem",
|
||||
borderRadius: 4,
|
||||
}
|
||||
|
||||
// markup
|
||||
const NotFoundPage = () => {
|
||||
return (
|
||||
<main style={pageStyles}>
|
||||
<title>Not found</title>
|
||||
<h1 style={headingStyles}>Page not found</h1>
|
||||
<p style={paragraphStyles}>
|
||||
Sorry{" "}
|
||||
<span role="img" aria-label="Pensive emoji">
|
||||
😔
|
||||
</span>{" "}
|
||||
we couldn’t find what you were looking for.
|
||||
<br />
|
||||
{process.env.NODE_ENV === "development" ? (
|
||||
<>
|
||||
<br />
|
||||
Try creating a page in <code style={codeStyles}>src/pages/</code>.
|
||||
<br />
|
||||
</>
|
||||
) : null}
|
||||
<br />
|
||||
<Link to="/">Go home</Link>.
|
||||
</p>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
return (
|
||||
<main>
|
||||
<Seo title="Page inexistante"></Seo>
|
||||
<div className="not-found-page">
|
||||
<Link to="/">Go home</Link>.
|
||||
</div>
|
||||
<Footer />
|
||||
</main>
|
||||
);
|
||||
};
|
||||
|
||||
export default NotFoundPage
|
||||
export default NotFoundPage;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ const Apropos = () => {
|
|||
<Seo title="À notre propos"></Seo>
|
||||
<div className="page-content">
|
||||
<h2 className="page-title">À notre propos</h2>
|
||||
<section className="pages-sections">
|
||||
<section className="page-section">
|
||||
<p className="section-paragraph">
|
||||
La CLI est une association de travailleuses et travailleurs du
|
||||
numériques basée à Strasbourg. Nous sommes sensibles à l'éthique du
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ const IndexPage = () => {
|
|||
</Link>
|
||||
</div>
|
||||
</section>
|
||||
<section className="pages-sections made-by-us">
|
||||
<section className="page-section made-by-us">
|
||||
<h3 className="section-title">Nos réalisations</h3>
|
||||
<div className="list-card">
|
||||
<RealisationCard
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import React from "react";
|
||||
import { Link } from "gatsby";
|
||||
|
||||
import Layout from "../components/layout";
|
||||
import Seo from "../components/seo";
|
||||
|
|
@ -8,8 +9,25 @@ const MentionsLegales = () => {
|
|||
return (
|
||||
<Layout>
|
||||
<Seo title="Mentions légales" />
|
||||
<div>
|
||||
<h1>Mentions légales</h1>
|
||||
<div className="page-content">
|
||||
<h2 className="page-title">Mentions légales</h2>
|
||||
<section className="page-section">
|
||||
<p className="section-paragraph">
|
||||
Ce site internet a été développé par et pour l'association CLI sous
|
||||
licence{" "}
|
||||
<Link to="https://www.gnu.org/licenses/gpl-3.0.en.html">GPLv3</Link>
|
||||
. Il ne requiert le dépôt d'aucun cookie sur votre machine afin de
|
||||
fonctionner. Nous ne récoltons{" "}
|
||||
<Link to="https://www.cnil.fr/fr/maitriser-mes-donnees">
|
||||
activement
|
||||
</Link>{" "}
|
||||
aucune de vos données de naviguation.
|
||||
</p>
|
||||
<p className="section-paragraph">
|
||||
Pour plus d'information concernant notre fonctionnement, consultez{" "}
|
||||
<Link to="/statuts">nos statuts</Link>.
|
||||
</p>
|
||||
</section>
|
||||
</div>
|
||||
</Layout>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ const VosBesoins = () => {
|
|||
<Seo title="Vos besoins" />
|
||||
<div className="page-content">
|
||||
<h2 className="page-title">Nos services</h2>
|
||||
<section className="pages-sections">
|
||||
<section className="page-section">
|
||||
<h3 className="section-title" id="web-dev">
|
||||
Développement web
|
||||
</h3>
|
||||
|
|
@ -22,7 +22,7 @@ const VosBesoins = () => {
|
|||
stabilité et la possibilité d'évoluer.
|
||||
</p>
|
||||
</section>
|
||||
<section className="pages-sections">
|
||||
<section className="page-section">
|
||||
<h3 className="section-title" id="app-dev">
|
||||
Développement applicatif
|
||||
</h3>
|
||||
|
|
@ -33,7 +33,7 @@ const VosBesoins = () => {
|
|||
commerciales.
|
||||
</p>
|
||||
</section>
|
||||
<section className="pages-sections">
|
||||
<section className="page-section">
|
||||
<h3 className="section-title" id="course-and-maintenance">
|
||||
Formation et assistance
|
||||
</h3>
|
||||
|
|
@ -45,7 +45,7 @@ const VosBesoins = () => {
|
|||
maintenance.
|
||||
</p>
|
||||
</section>
|
||||
<section className="pages-sections">
|
||||
<section className="page-section">
|
||||
<h3 className="section-title" id="network">
|
||||
Réseau
|
||||
</h3>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ const StatutsPage = () => {
|
|||
<Layout>
|
||||
<Seo title="Nos statuts" />
|
||||
<div className="page-content page-statuts">
|
||||
<section className="pages-sections status-section">
|
||||
<section className="page-section status-section">
|
||||
<h3 className="section-title">Les status de l'association</h3>
|
||||
<h4 className="status-title">Constitution de l'association</h4>
|
||||
<p className="status-paragraph">
|
||||
|
|
|
|||
|
|
@ -11,13 +11,15 @@
|
|||
}
|
||||
|
||||
section.services-list {
|
||||
width: 90vw;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
|
||||
div.service-type {
|
||||
width: 22rem;
|
||||
margin: 1.5rem 2rem;
|
||||
width: 25rem;
|
||||
|
||||
margin: 1.5rem 1.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
|
@ -31,10 +33,11 @@ section.services-list {
|
|||
.service-name {
|
||||
text-align: center;
|
||||
font-size: 2rem;
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.service-type-image {
|
||||
height: 150px;
|
||||
max-height: 50%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
|
@ -42,10 +45,11 @@ section.services-list {
|
|||
.service-description {
|
||||
line-height: 1.7rem;
|
||||
margin: 0 0 5px 0;
|
||||
width: 95%;
|
||||
}
|
||||
|
||||
a.service-link {
|
||||
margin-top: 0.8rem;
|
||||
margin-top: 1rem;
|
||||
|
||||
& > span {
|
||||
margin: 0;
|
||||
|
|
@ -64,3 +68,10 @@ section.services-list {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 447px) {
|
||||
section.services-list > div.service-type {
|
||||
width: 19rem;
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
color: $primary;
|
||||
}
|
||||
|
||||
body {
|
||||
|
|
@ -68,7 +68,7 @@ main {
|
|||
}
|
||||
}
|
||||
|
||||
.pages-sections {
|
||||
.page-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
|
|
|||
Loading…
Reference in a new issue