Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

Commit

Permalink
Hero section progresss
Browse files Browse the repository at this point in the history
  • Loading branch information
deminearchiver committed Nov 22, 2024
1 parent 1a1ce9b commit 3e6e848
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
8 changes: 7 additions & 1 deletion apps/frontend/src/components/hero/hero.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createIdentifiableElement } from "@star4/react";
import { ActionButton, ArrowForward, createIdentifiableElement, NorthEast } from "@star4/react";
import { memo } from "react";

import styles from "./hero.module.sass";
Expand All @@ -12,7 +12,13 @@ export namespace Hero {
const HeroComponent = function Hero() {
return (
<div>
<div>

</div>
<ActionButton
onClick={() => {}}
icon={<NorthEast />}
label="Начать" />
</div>
);
}
Expand Down
1 change: 1 addition & 0 deletions apps/frontend/src/components/hero/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./hero";
12 changes: 7 additions & 5 deletions apps/frontend/src/routes/index.lazy.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import { createLazyFileRoute } from "@tanstack/react-router";
import { SectionHello } from "../components/section-hello";
import { Hero } from "../components/hero";

export const Route = createLazyFileRoute("/")({
component: Index,
});

function Index() {
return (
<div>
<SectionHello />
{/* <SectionHello /> */}
<Hero />
</div>
)
}

export const Route = createLazyFileRoute("/")({
component: Index,
});

0 comments on commit 3e6e848

Please sign in to comment.