Skip to content

Commit

Permalink
feat: Add logo section to homepage + pricing
Browse files Browse the repository at this point in the history
  • Loading branch information
richiemcilroy committed Nov 20, 2024
1 parent 9a7454a commit 6c16249
Show file tree
Hide file tree
Showing 8 changed files with 189 additions and 1 deletion.
2 changes: 2 additions & 0 deletions apps/web/components/pages/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { ParallaxProvider } from "react-scroll-parallax";
import { Button } from "@cap/ui";
import Link from "next/link";
import { useEffect } from "react";
import { LogoSection } from "./_components/LogoSection";

export const HomePage = () => {
useEffect(() => {
Expand Down Expand Up @@ -193,6 +194,7 @@ export const HomePage = () => {
/>
</Parallax>
</div>
<LogoSection />
<div className="wrapper pb-32 md:pb-40">
<div className="mb-4">
<svg
Expand Down
69 changes: 68 additions & 1 deletion apps/web/components/pages/PricingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { getProPlanId } from "@cap/utils";
import toast from "react-hot-toast";
import { useRouter, useSearchParams } from "next/navigation";
import { SimplePlans } from "../text/SimplePlans";
import { LogoSection } from "./_components/LogoSection";

export const PricingPage = () => {
const [loading, setLoading] = useState(false);
Expand Down Expand Up @@ -130,7 +131,7 @@ export const PricingPage = () => {

return (
<div>
<div className="wrapper py-20 space-y-24">
<div className="wrapper py-12 space-y-24">
<div className="space-y-12">
<div className="text-center">
<div className={`mb-4 ${initialRender ? "fade-in-down" : ""}`}>
Expand All @@ -153,6 +154,72 @@ export const PricingPage = () => {
for the lifetime of your subscription.
</p>
</div>
<div>
<div className="text-center max-w-[800px] mx-auto mb-8 lg:mb-4">
<h2 className="text-xl text-gray-400">
Used by employees at leading tech companies
</h2>
</div>
<div className="flex flex-col items-center text-center lg:flex-row lg:items-center lg:justify-between lg:text-left pb-8 lg:pb-0">
<div className="grid grid-cols-2 gap-10 md:grid-cols-5 lg:max-w-4xl lg:gap-10 mx-auto">
<div className="flex items-center justify-center lg:mt-0 ">
<img
alt="Tesla Logo"
loading="lazy"
width={100}
height={30}
decoding="async"
style={{ color: "transparent" }}
src="/logos/tesla.svg"
/>
</div>
<div className="flex items-center justify-center lg:mt-0 ">
<img
alt="Microsoft Logo"
loading="lazy"
width={98}
height={24}
decoding="async"
style={{ color: "transparent" }}
src="/logos/microsoft.svg"
/>
</div>
<div className="flex items-center justify-center lg:mt-0 ">
<img
alt="Coinbase Logo"
loading="lazy"
width={139}
height={32}
decoding="async"
style={{ color: "transparent" }}
src="/logos/coinbase.svg"
/>
</div>
<div className="flex items-center justify-center lg:mt-0 ">
<img
alt="IBM Logo"
loading="lazy"
width={80}
height={20}
decoding="async"
style={{ color: "transparent" }}
src="/logos/ibm.svg"
/>
</div>
<div className="flex items-center justify-center lg:mt-0 ">
<img
alt="Dropbox Logo"
loading="lazy"
width={115}
height={50}
decoding="async"
style={{ color: "transparent" }}
src="/logos/dropbox.svg"
/>
</div>
</div>
</div>
</div>
<div className="grid grid-cols-1 md:grid-cols-3 gap-3 items-stretch">
<Card
className={`bg-gray-100 rounded-xl min-h-[600px] flex-grow ${
Expand Down
83 changes: 83 additions & 0 deletions apps/web/components/pages/_components/LogoSection.tsx

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions apps/web/public/logos/coinbase.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions apps/web/public/logos/dropbox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions apps/web/public/logos/ibm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions apps/web/public/logos/microsoft.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

1 comment on commit 6c16249

@vercel
Copy link

@vercel vercel bot commented on 6c16249 Nov 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.