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 e92a4670 authored by Christophe Chaudier's avatar Christophe Chaudier :rocket:
Browse files

Merge branch '63-add-cheatsheet-form-on-internal-page' into 'master'

Resolve "Add CheatSheet form on internal page"

Closes #63

See merge request !39
parents 9461f8e1 a7879d88
No related branches found
No related tags found
1 merge request!39Resolve "Add CheatSheet form on internal page"
Pipeline #5093 failed
...@@ -5,13 +5,13 @@ This website is built using [Docusaurus 2](https://docusaurus.io/), a modern sta ...@@ -5,13 +5,13 @@ This website is built using [Docusaurus 2](https://docusaurus.io/), a modern sta
## Installation ## Installation
```console ```console
yarn install npm install
``` ```
## Local Development ## Local Development
```console ```console
yarn start npm start
``` ```
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
...@@ -19,19 +19,11 @@ This command starts a local development server and opens up a browser window. Mo ...@@ -19,19 +19,11 @@ This command starts a local development server and opens up a browser window. Mo
## Build ## Build
```console ```console
yarn build npm run build
``` ```
This command generates static content into the `build` directory and can be served using any static contents hosting service. This command generates static content into the `build` directory and can be served using any static contents hosting service.
## Deployment
```console
GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
```
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
## Create a new page ## Create a new page
[Follow this doc](doc/pages.md). [Follow this doc](doc/pages.md).
......
...@@ -23,12 +23,8 @@ module.exports = { ...@@ -23,12 +23,8 @@ module.exports = {
{label: "✨ Fonctionnalités", position: "left", to: "/#features", exact: true}, {label: "✨ Fonctionnalités", position: "left", to: "/#features", exact: true},
{label: "❓ FAQ", position: "left", to: "/faq"}, {label: "❓ FAQ", position: "left", to: "/faq"},
{label: "💰 Tarifs", position: "left", to: "/tarifs"}, {label: "💰 Tarifs", position: "left", to: "/tarifs"},
{label: "📔 Doc", position: "left", type: "doc", docId: "intro"}, {label: "📔 Doc", position: "left", type: "doc", docId: "intro", },
{ {label: "🎁 Antisèche et Communauté git", position: "left", to: "/communaute"},
label: "🎁 Antisèche git",
position: "left",
href: "https://lydra.systeme.io/froggit-inscription",
},
{ {
label: "👤 Connexion", label: "👤 Connexion",
position: "right", position: "right",
......
import React from "react";
import styles from "./TextRight.module.css";
import useBaseUrl from '@docusaurus/useBaseUrl';
export default function TextRight({children, img}) {
return (
<>
<div className="row">
<div className="col col--6">
<img src={useBaseUrl(img)} />
</div>
<div className="col col--6">
{children}
</div>
</div>
</>
);
}
li::marker {
color: var(--ifm-color-dark-green);
}
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
src: url('/fonts/jetbrainsmono.woff') format('woff'); src: url('/fonts/jetbrainsmono.woff') format('woff');
} }
/* VARIABLES */ /******** VARIABLES ********/
:root { :root {
--ifm-color-primary: #000000; --ifm-color-primary: #000000;
--ifm-color-dark-green: #577018; --ifm-color-dark-green: #577018;
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
--ifm-container-width: 100%; --ifm-container-width: 100%;
--ifm-container-max-width: 950px; --ifm-container-max-width: 950px;
--ifm-navbar-shadow: none; --ifm-navbar-shadow: none;
--ifm-button-shadow: 1px 3px 4px #b6b6b6;
} }
.docusaurus-highlight-code-line { .docusaurus-highlight-code-line {
...@@ -52,8 +53,8 @@ ...@@ -52,8 +53,8 @@
html[data-theme='dark'] { html[data-theme='dark'] {
--ifm-background-color: #18191a; --ifm-background-color: #18191a;
--ifm-background-surface-color: #18191a; --ifm-background-surface-color: #18191a;
--ifm-hover-overlay: rgba(255, 255, 255, 0.05); --ifm-hover-overlay: #ffffff0d;
--ifm-color-content-secondary: rgba(255, 255, 255, 1); --ifm-color-content-secondary: var(--ifm-color-primary-light);
--ifm-breadcrumb-separator-filter: invert(64%) sepia(11%) saturate(0%); --ifm-breadcrumb-separator-filter: invert(64%) sepia(11%) saturate(0%);
} }
...@@ -77,6 +78,25 @@ a:hover { ...@@ -77,6 +78,25 @@ a:hover {
transition: 0.3s; transition: 0.3s;
} }
form > p {
font-size: small;
margin-top: 2em;
}
input {
width: 95%;
display: block;
margin-top: 2em;
margin-bottom: 2em;
margin-left: 1em;
padding: 10px;
border-radius: var(--ifm-button-border-radius);
border-style: solid;
border-width: 2px;
border-color: var(--ifm-color-dark-green);
font-family: var(--ifm-font-family-base);
}
.heroBanner_src-pages-index-module { .heroBanner_src-pages-index-module {
padding: 0.5rem !important; padding: 0.5rem !important;
padding-bottom: 2.5rem !important; padding-bottom: 2.5rem !important;
...@@ -154,6 +174,8 @@ ul { ...@@ -154,6 +174,8 @@ ul {
border-color: var(--ifm-color-dark-green); border-color: var(--ifm-color-dark-green);
color: var(--ifm-color-frame); color: var(--ifm-color-frame);
border-style: none; border-style: none;
white-space : initial;
font-family: var(--ifm-font-family-base);
} }
.button--beta { .button--beta {
...@@ -239,6 +261,7 @@ a.footer__link-item:hover { ...@@ -239,6 +261,7 @@ a.footer__link-item:hover {
} }
/************ sub-footer style ***********/ /************ sub-footer style ***********/
/* SUB-FOOTER STYLE */
.footer__bottom { .footer__bottom {
font-family: var(--ifm-font-family); font-family: var(--ifm-font-family);
font-weight: 600; font-weight: 600;
...@@ -297,3 +320,10 @@ html[data-theme='dark'] a:hover { ...@@ -297,3 +320,10 @@ html[data-theme='dark'] a:hover {
html[data-theme='dark'] .menu__link { html[data-theme='dark'] .menu__link {
color: var(--ifm-color-tonic-one); color: var(--ifm-color-tonic-one);
} }
/****** Media screen *******/
@media screen and (max-width:330px) {
.navbar {
width: 330px;
}
}
import TextRight from '@site/src/components/TextRight';
<TextRight img="/img/cheatsheet_cover.png">
# Devenez deux fois plus productif grâce à GitLab !
> « J’utilise git **tous les jours** et j’ai appris à être **deux fois plus productif** grâce à un environnement de développement aux petits oignons couplé avec le service GitLab. » – Christophe Chaudier
En vous inscrivant, vous recevrez :
- Une **antisèche** des commandes git les plus utilisées.
- L'accès à **une communauté** de partage autour de git et de GitLab **en français** qui s'appuie sur un forum de discussion et un wiki.
- Des informations et astuces régulières qui vous feront **gagner en productivité** en utilisant GitLab.
- Des **réductions** à nos formations.
<form method="post" action="https://systeme.io/embedded/3299399/subscription">
<input type="text" name="first_name" placeholder="Prénom" required="required" />
<input type="email" name="email" placeholder="Email" required="required" />
<button type="submit" class="button button--beta button--lg">Oui je veux recevoir des ressources sur GitLab en français !</button>
Vos données personnelles ne seront utilisées que pour vous envoyer des messages d'information et commerciaux.
Votre vie privée est importante pour nous et votre adresse courriel est en sécurité, **nous ne vendrons jamais vos courriels** à des tiers.
Vous pourrez vous désinscrire à tout moment en cliquant sur le lien en bas de chaque mail.
**Cette désinscription entraînera votre désinscription de la communauté Froggit.**
Les données recueillies sur cette page sont stockées par notre [sous-traitant systeme.io](https://systeme.io/?sa=sa0002743266bfa20f069aff9d665aa29843fe7bd162&trial=30&tk=tunnelfroggit), dont la politique de confidentialité est [disponible ici](https://systeme.io/fr/info/privacy?sa=sa0002743266bfa20f069aff9d665aa29843fe7bd162&trial=30&tk=tunnelfroggit).
</form>
</TextRight>
...@@ -6,7 +6,7 @@ import HomepagePromises from "../components/HomepagePromises"; ...@@ -6,7 +6,7 @@ import HomepagePromises from "../components/HomepagePromises";
import HomepageFeatures from "../components/HomepageFeatures"; import HomepageFeatures from "../components/HomepageFeatures";
import Link from "@docusaurus/Link"; import Link from "@docusaurus/Link";
function HomepageHeader() { function HomepageHeader(){
const { siteConfig } = useDocusaurusContext(); const { siteConfig } = useDocusaurusContext();
return ( return (
<header className={styles.heroBanner}> <header className={styles.heroBanner}>
......
static/img/cheatsheet_cover.png

1.12 MiB

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