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 05500de6 authored by Plumtree3D's avatar Plumtree3D
Browse files

fix navbar

parent 9ad831ad
No related branches found
No related tags found
1 merge request!16Resolve "fix: navbar"
Pipeline #21923 failed
......@@ -49,7 +49,7 @@ const config = {
respectPrefersColorScheme: false,
},
navbar: {
hideOnScroll: true,
hideOnScroll: false,
logo: {
alt: 'Lydra Logo',
src: 'img/logo_lydra.svg',
......@@ -58,7 +58,8 @@ const config = {
{
to: '/',
label: 'Home',
position: 'right'
position: 'right',
activeBaseRegex: '^/$'
},
{
type: 'dropdown',
......@@ -112,6 +113,7 @@ const config = {
{
label: 'L\'équipe',
to: '/#team',
activeBasePath: '/#'
},
{
label: 'Nos inspirations',
......
......@@ -31,7 +31,7 @@ export default function TestimoniesCarousel() {
accessibility: true,
nextArrow: <SampleNextArrow />,
prevArrow: <SamplePrevArrow />,
infinite: false,
infinite: true,
autoplay: true,
dots: true,
speed: 500,
......
......@@ -41,8 +41,6 @@
/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
--ifm-navbar-background-color: transparent;
--ifm-color-primary: #f15a22;
--ifm-color-primary-dark: #e94a0f;
--ifm-color-primary-darker: #dc460e;
......
......@@ -6,7 +6,8 @@ import {
useNavbarMobileSidebar,
} from '@docusaurus/theme-common/internal';
import NavbarMobileSidebar from '@theme/Navbar/MobileSidebar';
import styles from './styles.module.css';
function NavbarBackdrop(props) {
......@@ -19,6 +20,7 @@ function NavbarBackdrop(props) {
);
}
export default function NavbarLayout({children}) {
const {
navbar: {hideOnScroll, style},
} = useThemeConfig();
......
.navbarHideable {
transition: var(--ifm-transition-fast) ease;
}
.navbarHidden {
background-color: var(--ifm-background-surface-color);
box-shadow: var(--ifm-navbar-shadow)
}
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