-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 1.19.7 (19/09/2023) * BSR - voir les sources ## 1.19.6 (19/09/2023) * B12 - alignements boutons ## 1.19.5 (19/09/2023) * A26 - texte modale stockage 1 Go ## 1.19.4 (19/09/2023) * B12 - bugs UI iframe horizontale ## 1.19.3 (19/09/2023) * B9 - réparation SEO : ajout du robots.txt ## 1.19.2 (19/09/2023) * B12 - prévisualisation iframe horizontale ## 1.19.1 (18/09/2023) * U37b - couleur darkMode ## 1.19.0 (18/09/2023) * U37 - je donne mon avis ## 1.18.18 (18/09/2023) * BSR - bug integration iframe ## 1.18.17 (11/09/2023) * U21 - améliorations UI ## 1.18.16 (11/09/2023) * A28 - syntaxe disclaimer ## 1.18.15 (11/09/2023) * B10 - coquille de texte ## 1.18.14 (11/09/2023) * U29 – Tag livraison ## 1.18.13 (09/09/2023) * B3 : bug slider responsive ## 1.18.12 (08/09/2023) * B3 : bug slider ## 1.18.11 (07/09/2023) * U25 : documentation publicode ## 1.18.10 (04/09/2023) * BSR : tests de non-régression pour la partie livraison
- Loading branch information
Showing
35 changed files
with
2,084 additions
and
297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { RulesProviderLivraison } from "components/livraison/RulesProviderLivraison"; | ||
import dynamic from "next/dynamic"; | ||
import { useRouter } from "next/router"; | ||
|
||
export default function Documentation() { | ||
const router = useRouter(); | ||
const rootDoc = "livraison"; | ||
|
||
const DocumentationLivraison = dynamic(() => import("components/base/DocumentationLivraison"), { | ||
ssr: false, | ||
}); | ||
|
||
return ( | ||
<> | ||
<RulesProviderLivraison> | ||
<DocumentationLivraison slug={router?.query?.slug?.join("/") || rootDoc} /> | ||
</RulesProviderLivraison> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
User-agent: * | ||
Disallow: | ||
|
||
Sitemap: https://impactco2.fr/sitemap.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import RulesContextLivraison from "components/livraison/RulesProviderLivraison"; | ||
import Head from "next/head"; | ||
import Link from "next/link"; | ||
import { RulePage } from "publicodes-react"; | ||
import React, { useContext } from "react"; | ||
|
||
export default function DocumentationLivraison(props) { | ||
const { engine } = useContext(RulesContextLivraison); | ||
|
||
return ( | ||
<RulePage | ||
documentationPath="/documentation" | ||
rulePath={props.slug} | ||
engine={engine} | ||
language="fr" | ||
renderers={{ | ||
Head, | ||
Link: ({ to, children }) => <Link href={to}>{children}</Link>, | ||
}} | ||
/> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
import styled from 'styled-components' | ||
import styled from "styled-components"; | ||
|
||
const Section2 = styled.div`` | ||
const Section2 = styled.div``; | ||
|
||
Section2.WideContent = styled.div` | ||
${(props) => props.theme.mq.medium} { | ||
width: 100vw; | ||
} | ||
` | ||
`; | ||
Section2.InnerMargin = styled.div` | ||
margin-left: 8rem; | ||
margin-right: 8rem; | ||
margin-left: ${(props) => (props.embedded ? 2 : 8)}rem; | ||
margin-right: ${(props) => (props.embedded ? 2 : 8)}rem; | ||
${(props) => props.theme.mq.medium} { | ||
margin-left: 4rem; | ||
margin-right: 4rem; | ||
margin-left: ${(props) => (props.embedded ? 1.5 : 4)}rem; | ||
margin-right: ${(props) => (props.embedded ? 1.5 : 4)}rem; | ||
} | ||
${(props) => props.theme.mq.small} { | ||
margin-left: 1rem; | ||
margin-right: 1rem; | ||
margin-left: ${(props) => (props.embedded ? 0.5 : 1)}rem; | ||
margin-right: ${(props) => (props.embedded ? 0.5 : 1)}rem; | ||
} | ||
` | ||
`; | ||
|
||
export default Section2 | ||
export default Section2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.