Skip to content

Commit

Permalink
rename to hero
Browse files Browse the repository at this point in the history
  • Loading branch information
baitcode committed Nov 26, 2024
1 parent 02dc169 commit 108c183
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
35 changes: 35 additions & 0 deletions components/pages/home/hero.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import React, { FunctionComponent } from "react";
import styles from "@styles/components/pages/home/hero.module.css";

import Typography from "../../UI/typography/typography";
import { TEXT_TYPE } from "@constants/typography";
import SplitTitle from "./splitTitle";

type HeroProps = {
};

const Hero: FunctionComponent<HeroProps> = ({
}) => {

return (
<div>
<div className="item-center justify-center pb-4">
<SplitTitle className="leading-12 pb-2" />

<Typography type={TEXT_TYPE.H1}
className={`${styles.header} flex justify-center text-center text-5xl leading-12 text-transparent`}>
WITH STARKNET
</Typography>
</div>

<Typography type={TEXT_TYPE.BODY_MICRO} color="textGray"
className="max-w-screen-sm text-sm leading-6 text-center">
Starknet Quest is our gateway to DeFi, offering tools and opportunities
for individuals, DAOs, and protocols to grow their assets and explore Starknet's
full potential.
</Typography>

</div>
);
};
export default Hero;
9 changes: 9 additions & 0 deletions styles/components/pages/home/hero.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.header {
font-family: 'Sora-Bold';
font-weight: 1000;

background: linear-gradient(90deg,
var(--primary) -0.12%,
var(--tertiary) 99.88%);
background-clip: text;
}

0 comments on commit 108c183

Please sign in to comment.