Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat: Add img to landing page + update copy

Richie McIlroy387db0f1d882
diff --git a/apps/web/app/globals.css b/apps/web/app/globals.css
index 45601b9ac..8e3a1fcf5 100644
--- a/apps/web/app/globals.css
+++ b/apps/web/app/globals.css
@@ -290,3 +290,7 @@ ul {
slot:not(.dashboard-layout slot) {
display: block;
}
+
+#scrolling-section slot {
+ display: block;
+}
diff --git a/apps/web/components/pages/FaqPage.tsx b/apps/web/components/pages/FaqPage.tsx
index a864f3de6..772ee93a5 100644
--- a/apps/web/components/pages/FaqPage.tsx
+++ b/apps/web/components/pages/FaqPage.tsx
@@ -19,7 +19,7 @@ const faqContent = [
{
title: "How much does it cost?",
answer:
- "Cap is free to use. We will also offer a paid plan for teams and larger organisations.",
+ "Cap is free to use. We will also offer a paid Pro plan for teams and larger organisations.",
},
{
title: "What makes you different to Loom?",
@@ -27,9 +27,9 @@ const faqContent = [
"Apart from being open source and privacy focused, Cap is also a lot more lightweight and faster to use. We also focus strongly on design and user experience.",
},
{
- title: "When will v0.1.0 launch?",
+ title: "When will the first version launch?",
answer:
- "We're aiming to launch v0.1.0 by Q1 2024, if not sooner. However, there'll be regular Alpha builds available to download on our GitHub before then.",
+ "We're aiming to launch the first version to the public by mid April, if not sooner. However, there'll be regular Alpha builds available to download on our GitHub before then.",
},
];
diff --git a/apps/web/components/pages/HomePage.tsx b/apps/web/components/pages/HomePage.tsx
index deeaf6ff4..e7bbfc797 100644
--- a/apps/web/components/pages/HomePage.tsx
+++ b/apps/web/components/pages/HomePage.tsx
@@ -1,9 +1,11 @@
+// million-ignore
+
"use client";
import { useState, useRef } from "react";
-import { LogoBadge } from "@cap/ui";
import { Parallax } from "react-scroll-parallax";
import toast from "react-hot-toast";
+import Image from "next/image";
export const HomePage = () => {
const [showEmail, setShowEmail] = useState<boolean>(false);
@@ -45,7 +47,7 @@ export const HomePage = () => {
<>
<div className="w-full custom-bg">
<div className="wrapper wrapper-sm mx-auto">
- <div className="mb-auto -mt-20 text-center md:px-4 pt-32 pb-52 md:pt-52 md:pb-64 space-y-8">
+ <div className="mb-auto -mt-20 text-center md:px-4 pt-32 pb-52 md:pt-44 md:pb-64 space-y-8">
<h1 className="fade-in-down text-3xl sm:text-5xl lg:text-7xl relative z-10 text-black">
Effortless, instant screen sharing.
</h1>
@@ -138,7 +140,13 @@ export const HomePage = () => {
</a>
</div>
<p className="text-gray-500 text-sm">
- Early access testing is currently underway.
+ Early access testing is currently underway in our{" "}
+ <a
+ href="https://discord.gg/y8gdQ3WRN3"
+ className="font-semibold text-gray-500 hover:underline"
+ >
+ Discord community
+ </a>
</p>
</div>
)}
@@ -146,24 +154,19 @@ export const HomePage = () => {
</div>
</div>
<div id="scrolling-section" className="pb-48 fade-in-up animate-delay-2">
- <div className="w-full h-full relative flex items-center -mt-20">
- <div className="w-full flex items-center justify-center">
- <Parallax
- className="cursor-pointer"
- scale={[2, 1]}
- opacity={[0.25, 1]}
- onClick={() =>
- toast(
- "This was going to be something cool... it might be later πŸ‘€"
- )
- }
- >
- <div>
- <LogoBadge className="w-[175px] lg:w-[300px] h-auto max-w-full mx-auto z-10" />
- </div>
- </Parallax>
- </div>
- </div>
+ <Parallax
+ className="cursor-pointer"
+ scale={[2.2, 1.25]}
+ onClick={() =>
+ toast("This was going to be something cool... it might be later πŸ‘€")
+ }
+ >
+ <img
+ src="/landing-banner.jpg"
+ className="w-full max-w-[600px] block mx-auto h-auto rounded-xl"
+ alt="Landing Page Screenshot Banner"
+ />
+ </Parallax>
</div>
</>
);
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs
index a0290a10e..bb268686c 100644
--- a/apps/web/next.config.mjs
+++ b/apps/web/next.config.mjs
@@ -56,7 +56,7 @@ const nextConfig = {
const millionConfig = {
auto: {
rsc: true,
- skip: ["Parallax", "Toolbar"],
+ skip: ["Parallax", "Toolbar", "react-scroll-parallax"],
},
};
diff --git a/apps/web/public/landing-banner.jpg b/apps/web/public/landing-banner.jpg
new file mode 100644
index 000000000..11c3b2a01
Binary files /dev/null and b/apps/web/public/landing-banner.jpg differ