added landing
This commit is contained in:
@@ -1,30 +1,32 @@
|
||||
import { Button } from "../../shared/ui/button"
|
||||
import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "../../shared/ui/resizable"
|
||||
import less from "./Admin.module.less"
|
||||
import PlayerCard from "../../entities/PlayerCard/PlayerCard"
|
||||
import { useTranslation } from "react-i18next"
|
||||
import CreateTeam from "../../widgets/CreateTeams/CreateTeams"
|
||||
import { Button } from "../../shared/ui/button";
|
||||
import {
|
||||
ResizableHandle,
|
||||
ResizablePanel,
|
||||
ResizablePanelGroup,
|
||||
} from "../../shared/ui/resizable";
|
||||
import less from "./Admin.module.less";
|
||||
import PlayerCard from "../../entities/PlayerCard/PlayerCard";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import CreateTeam from "../../widgets/CreateTeams/CreateTeams";
|
||||
|
||||
const AdminPage = () =>{
|
||||
const { t } = useTranslation();
|
||||
return(
|
||||
<ResizablePanelGroup direction="horizontal">
|
||||
<ResizablePanel defaultSize={95} maxSize={95}>
|
||||
<div className={less["main-admin"]}>
|
||||
<Button>{t("EditTree")}</Button>
|
||||
<CreateTeam/>
|
||||
</div>
|
||||
|
||||
</ResizablePanel>
|
||||
<ResizableHandle withHandle />
|
||||
<ResizablePanel>
|
||||
<PlayerCard/>
|
||||
<PlayerCard/>
|
||||
<PlayerCard/>
|
||||
<PlayerCard/>
|
||||
|
||||
</ResizablePanel>
|
||||
</ResizablePanelGroup>
|
||||
)
|
||||
}
|
||||
export default AdminPage
|
||||
const AdminPage = () => {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<ResizablePanelGroup direction="horizontal">
|
||||
<ResizablePanel defaultSize={95} maxSize={95}>
|
||||
<div className={less["main-admin"]}>
|
||||
<Button>{t("EditTree")}</Button>
|
||||
<CreateTeam />
|
||||
</div>
|
||||
</ResizablePanel>
|
||||
<ResizableHandle withHandle />
|
||||
<ResizablePanel>
|
||||
<PlayerCard />
|
||||
<PlayerCard />
|
||||
<PlayerCard />
|
||||
<PlayerCard />
|
||||
</ResizablePanel>
|
||||
</ResizablePanelGroup>
|
||||
);
|
||||
};
|
||||
export default AdminPage;
|
||||
|
||||
@@ -1,22 +1,41 @@
|
||||
import less from "./Landing.module.less"
|
||||
import '../../../i18n'
|
||||
import { Button } from "../../shared/ui/button"
|
||||
import { Label } from "@radix-ui/react-menubar"
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Link } from "react-router-dom";
|
||||
import { About } from "../../About";
|
||||
import { Cta } from "../../Cta";
|
||||
import { FAQ } from "../../FAQ";
|
||||
import { Features } from "../../Features";
|
||||
import { Footer } from "../../Footer";
|
||||
import { Hero } from "../../Hero";
|
||||
import { HowItWorks } from "../../HowItWorks";
|
||||
import { Navbar } from "../../Navbar";
|
||||
import { Newsletter } from "../../Newsletter";
|
||||
import { Pricing } from "../../Pricing";
|
||||
import { ScrollToTop } from "../../ScrollToTop";
|
||||
import { Services } from "../../Services";
|
||||
import { Sponsors } from "../../Sponsors";
|
||||
import { Team } from "../../Team";
|
||||
import { Testimonials } from "../../Testimonials";
|
||||
import "../../../App.css";
|
||||
import { ThemeProvider } from "../../theme-provider.tsx";
|
||||
|
||||
function Landing() {
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<><div className={less.block}></div>
|
||||
<h1 className={less.landing}>{t("landingLogo")}</h1>
|
||||
<div className={less["info-block"]}>
|
||||
<Label className={less["desc-text"]}>{t("landingDesc")}</Label>
|
||||
<Button variant="outline" asChild><Link to={"login"}> {t("buttonGoTOReg")}</Link></Button>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
<ThemeProvider>
|
||||
<Navbar />
|
||||
<Hero />
|
||||
<Sponsors />
|
||||
<About />
|
||||
<HowItWorks />
|
||||
<Features />
|
||||
<Services />
|
||||
<Cta />
|
||||
<Testimonials />
|
||||
<Team />
|
||||
<Pricing />
|
||||
<Newsletter />
|
||||
<FAQ />
|
||||
<Footer />
|
||||
<ScrollToTop />
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
|
||||
export default Landing
|
||||
export default Landing;
|
||||
|
||||
Reference in New Issue
Block a user