Skip to content

Commit

Permalink
Merge pull request #2934 from dfinity/rei/icppage1
Browse files Browse the repository at this point in the history
  • Loading branch information
artkorotkikh-dfinity authored May 17, 2024
2 parents db6d44c + 19acc0d commit 0645b3f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/components/LandingPage/Hero/Cards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export const CardsSection = () => {
</CardWithImage>

<CardWithImage href="/ecosystem" image="/img/home/ecosystem-card.webp">
<div className="tw-heading-7 md:tw-heading-6 mb-2">Ecosystem</div>
<h2 className="tw-heading-5 md:tw-heading-4 mb-0">Ecosystem links</h2>
<div className="tw-heading-7 md:tw-heading-6 mb-2">Dapps</div>
<h2 className="tw-heading-5 md:tw-heading-4 mb-0">ICP Ecosystem</h2>
</CardWithImage>

<CardWithImage href="/docs/current/home" image="/img/home/dev-card.webp">
Expand All @@ -75,7 +75,7 @@ export const CardsSection = () => {
</CardWithImage>

<CardWithImage href="/events" image="/img/home/events-card.webp">
<div className="tw-heading-7 md:tw-heading-6 mb-2">ICP.Hubs</div>
<div className="tw-heading-7 md:tw-heading-6 mb-2">Global Events</div>
<h2 className="tw-heading-5 md:tw-heading-4 mb-0">
Meet the community worldwide
</h2>
Expand Down
13 changes: 11 additions & 2 deletions src/components/LandingPage/Hero/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
} from "./Stats";

import { QueryClient, QueryClientProvider } from "react-query";
import Link from "@docusaurus/Link";
const queryClient = new QueryClient();

const Hero: React.FC<{
Expand Down Expand Up @@ -53,10 +54,18 @@ const Hero: React.FC<{
{headline}
</h1>
<div className="w-full md:w-[550px] mt-4 md:mt-8">
<ChatWidget
{/* <ChatWidget
aiPlaceholders={aiPlaceholders}
fontLoaded={fontLoaded}
/>
/> */}
<div className="bg-black/5 flex flex-col md:flex-row md:items-center p-0 md:pr-4 gap-0 md:gap-6 animate-blur-out rounded-xl">
<Link
className="button-fancy-ai py-3 justify-center button-with-icon border-none transition-all bg-[radial-gradient(67.52%_167.71%_at_50.38%_-41.67%,#EA2B7B_0%,#3B00B9_100%)] hover:text-white/80 stat-fade-in md:ml-2"
href="/what-is-the-ic"
>
WHAT IS ICP
</Link>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 0645b3f

Please sign in to comment.