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 6a1b1f9c authored by Julie Thézénas's avatar Julie Thézénas Committed by Christophe Chaudier
Browse files

code correction

parent 775b27a2
No related branches found
No related tags found
1 merge request!47Resolve "new footer froggit icon and social icons"
......@@ -4,14 +4,14 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import React from 'react';
import {useThemeConfig} from '@docusaurus/theme-common';
import FooterLinks from '@theme/Footer/Links';
import FooterLogo from '@theme/Footer/Logo';
import FooterCopyright from '@theme/Footer/Copyright';
import FooterLayout from '@theme/Footer/Layout';
import React from "react";
import {useThemeConfig} from "@docusaurus/theme-common";
import FooterLinks from "@theme/Footer/Links";
import FooterLogo from "@theme/Footer/Logo";
import FooterCopyright from "@theme/Footer/Copyright";
import FooterLayout from "@theme/Footer/Layout";
import { FaYoutube, FaLinkedin, FaGitlab, FaTwitter } from "react-icons/fa";
import Froggitblanc from '/static/img/logo_froggit_blanc.png';
import Froggitblanc from "/static/img/logo_froggit_blanc.png";
function Footer() {
......@@ -21,43 +21,44 @@ function Footer() {
return null;
}
const {copyright, icons, links, logo, style} = footer;
const {copyright, icons, links, logo, style, FooterIcons} = footer;
return (
<>
<div className="footer">
<div className="footer_container">
<a href="https://lab.frogg.it/froggit" target="_blank">
<img className="footer_icons" src={Froggitblanc} alt="Logo Froggit blanc" />
</a>
<a href="https://lab.frogg.it/froggit" target="_blank" rel="noreferrer">
<img className="footer_icons" src={Froggitblanc} alt="Logo Froggit blanc" />
</a>
<a href="https://gitlab.com/froggit" target="_blank">
<a href="https://gitlab.com/froggit" target="_blank" rel="noreferrer">
<FaGitlab className="footer_icons" />
</a>
<a href="https://www.youtube.com/channel/UCauIDghddUNu6Fto1nR9Bmg/?sub_confirmation=1" target="_blank">
<a href="https://www.youtube.com/channel/UCauIDghddUNu6Fto1nR9Bmg/?sub_confirmation=1" target="_blank" rel="noreferrer">
<FaYoutube className="footer_icons" />
</a>
<a href="https://www.linkedin.com/company/froggit" target="_blank">
<a href="https://www.linkedin.com/company/froggit" target="_blank" rel="noreferrer">
<FaLinkedin className="footer_icons" />
</a>
<a href="https://twitter.com/art_devops" >
<a href="https://twitter.com/art_devops" rel="noreferrer">
<FaTwitter className="footer_icons" />
</a>
</div>
<div>
<FooterLayout
icons={icons && <FooterIcons icons={icons} />}
style={style}
links={links && links.length > 0 && <FooterLinks links={links} />}
logo={logo && <FooterLogo logo={logo} />}
copyright={copyright && <FooterCopyright copyright={copyright} />}
/>
<FooterLayout
icons={icons && <FooterIcons icons={icons} />}
style={style}
links={links && links.length > 0 && <FooterLinks links={links} />}
logo={logo && <FooterLogo logo={logo} />}
copyright={copyright && <FooterCopyright copyright={copyright} />}
/>
</div>
</div>
</>
......
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