Skip to content

Commit

Permalink
two cards on Whats Flitch Pay completed
Browse files Browse the repository at this point in the history
  • Loading branch information
me-imfhd committed Nov 6, 2023
1 parent 44ee51d commit 3f3bea9
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 0 deletions.
Binary file added public/images/discussions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/pull-requests.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Timeline from "../components/Timeline";
import Customize from "../components/Customize";
import { useMediaQuery } from "@mantine/hooks";
import { OrgTestimonials } from "../components/OrgTestimonials";
import { WhatsFlitchPay } from "../components/WhatsFlitchPay";

export default function LandingPage() {
return (
Expand All @@ -18,6 +19,7 @@ export default function LandingPage() {
<GradientPlatform />
{/* {!isMobile ? <Timeline /> : null} */}
<OrgTestimonials />
<WhatsFlitchPay />
{/* <Authlite />
<Showcase />
<Customize /> */}
Expand Down
89 changes: 89 additions & 0 deletions src/components/WhatsFlitchPay.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
import { buttonVariants } from "@/components/ui/button";
import { Icons } from "@/lib/icons";
import { cn } from "@/lib/utils";
import { FeaturesStar } from "@/public/svgs/FeaturesStar";
import { VectorRight } from "@/public/svgs/VectorRight";
import Link from "next/link";
import discussion from "@/public/images/discussions.png";
import pullRequests from "@/public/images/pull-requests.png";
import React from "react";
import Image from "next/image";

export function WhatsFlitchPay() {
return (
<section className="flex items-center bg-background py-12 md:py-24 lg:pt-32 ">
<div className="container mx-auto flex flex-col items-center md:px-36 ">
<HeadComponent />
<div className="mt-14 flex flex-wrap gap-4 md:flex-nowrap md:px-14 md:text-lg">
<div className="flex flex-col justify-between gap-8 rounded-md bg-secondary md:w-1/2 ">
<div className="flex flex-col justify-between gap-6 px-6 pt-6 md:px-14 md:pt-14">
<div>
Sophisticated Checkouts
<span className="text-muted-foreground">
{" "}
create space to ask questions and have open-ended
conversations.
</span>
</div>
<Link href={""}>
<div className="flex text-base transition-colors hover:text-muted-foreground">
Enable GitHub Discussion {"->"}
{/* Right Arrow */}
<span className="sr-only">Enable Github Discussions</span>
</div>
</Link>
</div>
<div>
<Image src={discussion} alt="App" className="" />
</div>
</div>
<div className="flex flex-col gap-12 rounded-md bg-secondary md:w-1/2 md:gap-16 ">
<div className="flex flex-col justify-between gap-8 px-6 pt-6 md:px-14 md:pt-14">
<div>
On Make products & Sell
<span className="text-muted-foreground">
{" "}
allow communication and collaboration about code changes.
</span>
</div>
<Link href={""}>
<div className="flex text-base transition-colors hover:text-muted-foreground">
Check out pull requests {"->"}
{/* Right Arrow */}
<span className="sr-only">Check out pull requests</span>
</div>
</Link>
</div>
<div>
<Image src={pullRequests} alt="App" className="" />
</div>
</div>
</div>
</div>
</section>
);
}

function HeadComponent() {
return (
<div className="mt-1 flex flex-col gap-3 px-4 text-center sm:px-0">
<a
className="mx-auto hidden rounded-full bg-gradient-to-r from-[#5157E6] to-[#FFB800] p-[1px] brightness-90 contrast-150 focus:outline-none focus:ring-blue-600 focus-visible:ring-2 dark:brightness-125 dark:contrast-100 sm:block"
href="#features"
>
<div className="group relative overflow-hidden rounded-full bg-background/80 px-3 py-1">
<FeaturesStar />
<span className="bg-gradient-to-r from-[#5157E6] to-[#FFB800] bg-clip-text text-transparent">
many features, wow{" "}
</span>
</div>
</a>
<h1 className="text-3xl font-bold md:text-4xl">
{"What's"} in FlitchPay
</h1>
<p className="text-muted-foreground">
All you need to become a TypeScript menace
</p>
</div>
);
}

0 comments on commit 3f3bea9

Please sign in to comment.