Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat: add video to landing page
Marc Seitzf6842ebb9b6f
diff --git a/components/web/header.tsx b/components/web/header.tsxindex cdcc9986..f74b1505 100644--- a/components/web/header.tsx+++ b/components/web/header.tsx@@ -9,10 +9,10 @@ export default function Header() {<div className="mx-auto max-w-2xl lg:mx-0"><div className="hidden sm:mt-32 sm:flex lg:mt-16"></div><h1 className="mt-24 text-4xl font-bold tracking-tight text-gray-900 sm:mt-10 sm:text-5xl">- Papermark will make your deck stand out+ Papermark will make your pitchdeck stand out</h1><p className="mt-2 text-lg leading-8 text-gray-600">- The Open-Source Docsend Alternative+ The Open-Source Docsend Alternative to securely share documents with real-time analytics.</p><div className="mt-10 flex items-center gap-x-6"><Linkdiff --git a/components/web/navbar.tsx b/components/web/navbar.tsxindex fe3aa562..92dfa55b 100644--- a/components/web/navbar.tsx+++ b/components/web/navbar.tsx@@ -1,9 +1,5 @@-import { Fragment } from "react";import Link from "next/link";import GitHubIcon from "@/components/shared/icons/github";-import { Disclosure, Menu, Transition } from "@headlessui/react";-import { Bars3Icon, BellIcon, XMarkIcon } from "@heroicons/react/24/outline";-import { JSX, SVGProps } from "react";function classNames(...classes: any[]) {return classes.filter(Boolean).join(" ");@@ -16,15 +12,13 @@ export default function Navbar() {<div className="relative flex h-16 justify-between"><div className="absolute inset-y-0 left-0 flex items-center sm:hidden">{/* Mobile menu button */}-</div><div className="flex flex-1 items-stretch justify-start"><div className="flex flex-shrink-0 items-center">- <Link- href="/"- className="text-1xl font-bold text-black hover:text-gray-600"- >- Papermark+ <Link href="/">+ <span className="text-xl font-bold tracking-tighter text-black">+ Papermark+ </span></Link></div></div>diff --git a/components/web/section3.tsx b/components/web/section3.tsxnew file mode 100644index 00000000..d7e9d4eb--- /dev/null+++ b/components/web/section3.tsx@@ -0,0 +1,35 @@+export default function Section3() {+ return (+ <div className="bg-white">+ <div className="px-6 py-24 sm:px-6 sm:py-32 lg:px-8">+ <div className="mx-auto max-w-2xl text-center">+ <h2 className="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">+ We spend all our energy on building beautiful product+ <br />+ </h2>+ <p className="mx-auto mt-6 max-w-xl text-lg leading-8 text-gray-600">+ So no energy left for this landing page:)+ </p>+ </div>+ {/* Video added below */}+ <div className="mt-10 mx-auto w-full max-w-6xl">+ <video+ width="100%"+ id="video1"+ style={{ borderRadius: "6px" }}+ aria-hidden="true"+ playsInline+ autoPlay+ muted+ loop+ >+ <source+ src="https://darr6llpvnyot.cloudfront.net/short-video.mp4"+ type="video/mp4"+ />+ </video>+ </div>+ </div>+ </div>+ );+}diff --git a/pages/index.tsx b/pages/index.tsxindex 6533d162..ca6481f9 100644--- a/pages/index.tsx+++ b/pages/index.tsx@@ -1,4 +1,3 @@-import Link from "next/link";import Footer from "@/components/web/footer";import Navbar from "@/components/web/navbar";import Decks from "@/components/web/decks";@@ -8,6 +7,7 @@ import Section2 from "@/components/web/section2";import Testimonials from "@/components/web/testimonials";import Logos from "@/components/web/logos";import Head from "next/head";+import Section3 from "@/components/web/section3";export default function Home() {return (@@ -53,6 +53,7 @@ export default function Home() {<Logos /><Decks /><Section />+ <Section3 /><Testimonials /><Section2 /></div>