Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

landing page laways light theme #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions front-end/src/views/landing-page/LandingPage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import React, { useEffect } from 'react';
import PageContainer from 'src/components/container/PageContainer';
import Banner from 'src/components/landingpage/banner/Banner';
import AboutFossbot from 'src/components/landingpage/colorContainerFossbot/AboutFossbot';
Expand All @@ -7,19 +7,27 @@ import Footer from 'src/components/landingpage/footer/Footer';
import LpHeader from 'src/components/landingpage/header/Header';
import PlatformCard from 'src/components/landingpage/card_fossbot/CardPlatform';
import FossbotCard from 'src/components/landingpage/card_fossbot/CardFossbot';
import { AppDispatch } from 'src/store/Store';
import { useDispatch } from 'react-redux';
import { setDarkMode } from 'src/store/customizer/CustomizerSlice';
import { useTranslation } from 'react-i18next';

const Landingpage = () => {
const { t } = useTranslation();
const dispatch = useDispatch<AppDispatch>();

useEffect(() => {
dispatch(setDarkMode('light'));
}, [dispatch]);

return (
<PageContainer title={t('landing-title.title')} description={t('landing-title.description')}>
<LpHeader />
<Banner />
{/* <FossbotCard /> */}
{/* <FossbotCard /> */}
<AboutFossbot />
<FossbotCard />
<AboutPlatform />
<AboutPlatform />
<PlatformCard />
{/* <C2a2 /> */}
{/* <DemoSlider /> */}
Expand Down