-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: jumbotron update, and mobile header (#503)
- Loading branch information
1 parent
1490ade
commit e64dd92
Showing
8 changed files
with
58 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,12 @@ | ||
import { t } from "i18next"; | ||
|
||
import { issuersData } from "../../data"; | ||
import { Issuer } from "../Issuer"; | ||
|
||
export const Issuers: React.FC = () => { | ||
return ( | ||
<div className="flex flex-col gap-10 md:gap-12"> | ||
<div className="flex flex-col gap-4 md:gap-6"> | ||
<h2 className="text-center text-2xl md:text-[2rem] font-semibold text-blackDefault dark:text-whiteDefault"> | ||
{t("home.issuers.title")} | ||
</h2> | ||
<h3 className="w-[30rem] max-w-full m-auto text-center text-base text-text-darkGrey dark:text-tertiary"> | ||
{t("home.issuers.description")} | ||
</h3> | ||
</div> | ||
<div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-6"> | ||
{issuersData.map((issuer) => ( | ||
<Issuer issuer={issuer} key={issuer.address} /> | ||
))} | ||
</div> | ||
<div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-6"> | ||
{issuersData.map((issuer) => ( | ||
<Issuer issuer={issuer} key={issuer.address} /> | ||
))} | ||
</div> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { t } from "i18next"; | ||
import { ArrowUpRight } from "lucide-react"; | ||
|
||
import { Button } from "@/components/Buttons"; | ||
import { EButtonType } from "@/components/Buttons/enum"; | ||
import { SearchInput } from "@/components/SearchInput"; | ||
import { veraxLink } from "@/constants"; | ||
|
||
export const Jumbotron: React.FC = () => { | ||
return ( | ||
<div className="w-full flex flex-col gap-6 relative"> | ||
<p className="self-stretch text-text-primary text-2xl not-italic font-medium leading-[102%] tracking-[-0.96px] md:text-4xl lg:text-[2.75rem] md:font-semibold dark:text-whiteDefault"> | ||
{t("home.title")} | ||
</p> | ||
<p className="self-stretch text-text-tertiary text-base not-italic font-normal leading-[140%] max-w-[32.5rem]"> | ||
{t("home.description")} | ||
</p> | ||
<div> | ||
<div className="flex flex-col items-start sm:flex-row sm:items-center gap-4"> | ||
<Button | ||
name={t("common.actions.learnMore")} | ||
handler={() => window.open(veraxLink, "_blank")} | ||
buttonType={EButtonType.PRIMARY_LIME} | ||
iconRight={<ArrowUpRight />} | ||
/> | ||
<p className="text-text-tertiary text-base not-italic font-normal leading-[140%]"> | ||
{t("home.exploreEcosystem")} | ||
</p> | ||
</div> | ||
</div> | ||
<SearchInput className="md:max-w-full lg:absolute lg:w-[30rem] lg:bottom-0 lg:right-0 xl:w-[35.5625rem]" /> | ||
</div> | ||
); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters