Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 58ada355 authored by Hugues's avatar Hugues Committed by Christophe Chaudier
Browse files

change header links menu

add new pages
change components to render responsive
add documentation
parent 2e3b3583
No related branches found
No related tags found
No related merge requests found
Showing
with 1685 additions and 6 deletions
content/images/logo_froggit.png

5.3 KiB | W: | H:

content/images/logo_froggit.png

2.67 KiB | W: | H:

content/images/logo_froggit.png
content/images/logo_froggit.png
content/images/logo_froggit.png
content/images/logo_froggit.png
  • 2-up
  • Swipe
  • Onion skin
---
title: Tarifs
slug: tarifs
---
##### Lorem ipsum dolor sit amet?
Et illum error ea dolores aliquam et molestiae sunt et expedita nemo cum
voluptatem voluptas aut galisum culpa. Vel aliquam ipsa quo atque vero ut
culpa suscipit non impedit fugiat aut assumenda consequatur sit voluptas autem
ut cupiditate natus.
##### Facere vel nihil quia?
Vel voluptas rerum non error quod sit assumenda reiciendis At dolor quas
sed odio rerum. Et suscipit distinctio sit dicta distinctio 33 tenetur dolorum
in molestias consequatur id voluptate quod quo error facere vel nihil quia?
Aut velit quia et animi ratione est corporis distinctio ea amet ipsum. Ab commodi
dignissimos quo neque incidunt qui assumenda quia!
......@@ -27,7 +27,11 @@ module.exports = {
headerLinksIcon: "logo_froggit.png", // (leave empty to disable: '')
headerLinks: [
{
label: "Blog",
label: "Accueil",
url: "/",
},
{
label: "Fonctionnalités",
url: "/",
},
{
......@@ -35,12 +39,20 @@ module.exports = {
url: "/faq",
},
{
label: "About",
url: "/about-gatsby-starter-morning-dew",
label: "Tarifs",
url: "/tarifs",
},
{
label: "Blog",
url: "/pages/2/",
},
{
label: "Login",
url: "/login",
},
{
label: "Installation",
url: "/how-to-install",
label: "S'enregistrer",
url: "/enregistrement",
},
],
// Footer information (ex: Github, Netlify...)
......
froggit.fr @ 17182439
Subproject commit 171824392b3b7c227294ee4907eecb2425fb47f9
export { default as colors } from './src/tokens/colors';
export { default as media } from './src/tokens/media';
export * from 'src/elements/ContainerElements';
export * from 'src/elements/TitleTaglineElements';
export * from 'src/elements/NavElements';
export * from 'src/elements/ImageElements';
export * from 'src/elements/TitleIconElements';
The MIT License (MIT)
Copyright (c) 2015 gatsbyjs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
# Froggit page's URL:
https://froggit.gitlab.io/froggit.fr/
# Start developing.
Navigate into your new site’s directory and start it up.
```
npm install
npm start
```
## gatsby develop
Open the source code and start editing!
Your site is now running at http://localhost:8000!
Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.
Open the my-hello-world-starter directory in your code editor of choice and edit src/pages/index.js. Save your changes and the browser will update in real time!
### 🧐 What's inside?
A quick look at the top-level files and directories you'll see in a Gatsby project.
```
.
├── node_modules
├── src
├── .gitignore
├── .prettierrc
├── gatsby-browser.js
├── gatsby-config.js
├── gatsby-node.js
├── gatsby-ssr.js
├── LICENSE
├── package-lock.json
├── package.json
└── README.md
```
`/node_modules`: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed.
`/src`: This directory will contain all of the code related to what you will see on the front-end of your site (what you see in the browser) such as your site header or a page template. src is a convention for “source code”.
`.gitignore`: This file tells git which files it should not track / not maintain a version history for.
`.prettierrc`: This is a configuration file for Prettier. Prettier is a tool to help keep the formatting of your code consistent.
`gatsby-browser.js`: This file is where Gatsby expects to find any usage of the Gatsby browser APIs (if any). These allow customization/extension of default Gatsby settings affecting the browser.
`gatsby-config.js`: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you’d like to include, etc. (Check out the config docs for more detail).
`gatsby-node.js`: This file is where Gatsby expects to find any usage of the Gatsby Node APIs (if any). These allow customization/extension of default Gatsby settings affecting pieces of the site build process.
`gatsby-ssr.js`: This file is where Gatsby expects to find any usage of the Gatsby server-side rendering APIs (if any). These allow customization of default Gatsby settings affecting server-side rendering.
`LICENSE`: Gatsby is licensed under the MIT license.
`package-lock.json` (See package.json below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. (You won’t change this file directly).
`package.json`: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project.
`README.md`: A text file containing useful reference information about your project.
### 🎓 Learning Gatsby
Looking for more guidance? Full documentation for Gatsby lives on the website. Here are some places to start:
- **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby](https://www.gatsbyjs.org/tutorial/).** It starts with zero assumptions about your level of ability and walks through every step of the process.
- **To dive straight into code samples, head [to our documentation](https://www.gatsbyjs.org/docs/).** In particular, check out the _Guides_, _API Reference_, and _Advanced Tutorials_ sections in the sidebar.
## Linter Gatsby
`.eslintrc.js`: ESLint is an open source JavaScript linting utility.
Gatsby ships with a built-in ESLint setup.
.eslintrc is the file that is create to use Eslint after run script:
node_modules/.bin/eslint -init
This file will determinate a few rules and configurations to your project.
The command to run ESLint in this project is: npm run lint
You can also create your own ESLint's configuration with NPM packages.
More informations on https://www.gatsbyjs.org/docs/eslint/
## Why ESLint and Prettier ?
ESLint is by far the most popular JavaScript linter. It statically analyzes your code to help you detect formatting issues and find code inconsistencies.
Prettier, while similar to ESLint by formatting your code, does not check your code quality. It just serves as a code formatter. It does this job pretty well though by natively supporting JavaScript but also JSX, Flow, TypeScript, HTML, JSON, CSS and many more languages.
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules.
Even if they all have a similar purpose, they each excel in their own field.
All have similar objectives:
make code more consistent in itself and across team members and detect problematic code patterns that could lead to potential bugs.
1. commands in terminal:
eslint commands:
- to see errors: `npx eslint (file-name)`
Warning: you can make this command, to target just files into src folder,
(find this command in scripts of .gitlab-ci.yml)
- to fix errors: `npx eslint (file-name) --fix`
Warning: like the last command, you can target files into src folder and fix
linting errors with: `npm run fix`
prettier command to fix errors:
`npx prettier (file-name) --write`
2. install extention:
you can install and configue extentions for eslint and prettier in your main editor.
3. For us Eslint and Prettier together without conflicts:
First, we need to let Prettier do is job
In order to be able to use ESLint alongside Prettier, the idea is to deactivate all ESLint rules that might conflict with Prettier (code formatting rules).
Fortunately for us, the eslint-config-prettier package already does that.
We will rewrite our `.eslintrc` file by adding prettier to the extends array and removing any code formatting rules we had.
The prettier configuration will override any prior configuration in the extends array disabling all ESLint code formatting rules. With this configuration,
Prettier and ESLint can be run separately without any issues.
Next, we need to integrate Prettier with ESLint
The process of having to run two commands to lint and format our file is not very convenient. To fix this, we will integrate Prettier with ESLint by adding
the eslint-plugin-prettier package.
We will now rewrite our `.eslintrc` file by adding the prettier plugin in the plugins array and setting the newly established prettier rule to error so
that any prettier formatting error is considered as an ESLint error.
We can take an unlinted file and apply ESLint on it. They are marked by prettier/prettier as errors within our ESLint error output
Now let's use the fix option of ESLint.
Our file gets formatted the same way Prettier did.
## How to create new page
You can find [a documentation under the doc folder](doc/how_to_create_new_page.md).
## Gatsby Starter Catalyst
Basic starter that could be used as a barebones starting point for building a finished website. Implements `gatsby-theme-catalyst-core`, `gatsby-theme-catalyst-header-top`, and `gatsby-theme-catalyst-footer`.
**Documentation**
[Read the docs on Github](https://github.com/ehowey/gatsby-theme-catalyst)
**Catalyzing Start**
```sh
# create a new Gatsby site using the catalyst basic starter site
gatsby new catalyst https://github.com/ehowey/gatsby-starter-catalyst
```
[Read the Gatsby Quick Start Guide](https://www.gatsbyjs.org/docs/quick-start)
**Demo**
[https://gatsby-starter-catalyst.netlify.app/](https://gatsby-starter-catalyst.netlify.app/)
## About Gatsby Theme Catalyst
The Catalyst series of themes and starters for [GatsbyJS](https://www.gatsbyjs.org/) were designed to provide an opinionated set of integrated themes and starters that can be used to accelerate your next Gatsby project. The vision is for one "core" theme in which most dependencies and components are contained followed by progressively more styled and refined child themes and starters. These themes rely heavily on [Theme-UI](https://theme-ui.com/) and [MDX](https://mdxjs.com/getting-started/gatsby/).
old_theme/content/assets/catalyst-site-icon.png

170 KiB

old_theme/content/assets/catalyst-site-logo.png

5.3 KiB

old_theme/content/assets/catalyst-site-social.jpg

151 KiB

old_theme/content/assets/freedom.png

4.51 KiB

old_theme/content/assets/gdpr.png

2.75 KiB

old_theme/content/assets/image1.jpg

281 KiB

old_theme/content/assets/logo_froggit.png

5.3 KiB

This diff is collapsed.
old_theme/content/assets/material-design.jpg

72.6 KiB

old_theme/content/assets/securite.png

2.21 KiB

<SEO title="404 - Page Not Found" />
# NOT FOUND
Oh the sadness. You hit a page that does not exist! Click your heels three times and head back home!
##### Lorem ipsum dolor sit amet?
Et illum error ea dolores aliquam et molestiae sunt et expedita nemo cum
voluptatem voluptas aut galisum culpa. Vel aliquam ipsa quo atque vero ut
culpa suscipit non impedit fugiat aut assumenda consequatur sit voluptas autem
ut cupiditate natus.
##### Facere vel nihil quia?
Vel voluptas rerum non error quod sit assumenda reiciendis At dolor quas
sed odio rerum. Et suscipit distinctio sit dicta distinctio 33 tenetur dolorum
in molestias consequatur id voluptate quod quo error facere vel nihil quia?
Aut velit quia et animi ratione est corporis distinctio ea amet ipsum. Ab commodi
dignissimos quo neque incidunt qui assumenda quia!
import { Box } from 'theme-ui'
import { Heading } from 'theme-ui'
import { Text } from 'theme-ui'
import { Card } from 'theme-ui'
import { Flex } from 'theme-ui'
import { Image } from 'theme-ui'
import { Grid } from 'theme-ui'
<SEO title="Home" />
<Box
h1={12}
mr={-6}
ml={-6}
m={0}
mb={10}
mt={30}
>
<Text
sx={{
fontSize: 50,
textAlign: 'center',
fontWeight: '700',
color: 'black',
}}>
Froggit aide les Dev, les Ops et les entreprises du numérique à protéger
leurs codes sources de l’espionnage industriel
</Text>
</Box>
<Box
bg='primary'
ml={-200}
mr={-200}
mt={30}
mb={30}
padding= '0 20px 0 20px'
>
<Grid
gap={0}
columns={[ 2, null, 3 ]}
ml={100}
mr={100}
>
<Box>
<Card
sx={{
maxWidth: 256,
mt: 10,
mb: 40,
}}>
<Image
height= '100%'
width='55px'
ml={100}
mr={0}
/>
![featuredImage](../assets/securite.png)
<Text
sx={{
fontSize: 40,
textAlign: 'center',
fontWeight: '700',
color: 'white',
}}>
Sécurisé
</Text>
<Text
sx={{
fontSize: 16,
textAlign: 'center',
color: 'white',
}}>
Vos données sont en lieu sûr et sauvegardées toutes les nuits
</Text>
</Card>
</Box>
<Box>
<Card
sx={{
maxWidth: 256,
ml: 10,
mr: 10,
mt: 10,
mb: 40,
}}>
<Image
height= '100%'
width='55px'
ml={100}
mr={100}
/>
![featuredImage](../assets/gdpr.png)
<Text
sx={{
fontSize: 40,
textAlign: 'center',
fontWeight: '700',
color: 'white',
}}
>
Souverain
</Text>
<Text
sx={{
fontSize: 16,
textAlign: 'center',
color: 'white',
}}
>
Nous sommes hébergés en France et conformes au RGPD
</Text>
</Card>
</Box>
<Box>
<Card
sx={{
maxWidth: 256,
ml: 50,
mr: 10,
mt: 10,
mb: 40,
}}>
<Image
height= '100%'
width='55px'
ml={85}
mr={0}
/>
![featuredImage](../assets/freedom.png)
<Text
sx={{
fontSize: 40,
textAlign: 'center',
fontWeight: '700',
color: 'white',
}}>
Libre
</Text>
<Text
sx={{
fontSize: 16,
textAlign: 'center',
color: 'white',
}}>
Notre solution s'appuie sur des logiciels libres et nos conditions générales sont éthiques.
</Text>
</Card>
</Box>
</Grid>
</Box>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment