Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

chore: cleanup

Marc Seitz6ca76e324d7b
diff --git a/components/web/launch/cta.tsx b/components/web/launch/cta.tsx
index bcf3f332..eab805a4 100644
--- a/components/web/launch/cta.tsx
+++ b/components/web/launch/cta.tsx
@@ -14,15 +14,17 @@ export default function CTA() {
<div className="mt-10 flex items-center justify-center gap-x-6">
<Link
href="https://t.me/+yxHQdNAyACszN2Rl"
+ target="_blank"
className="rounded-md bg-black px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-gray-800 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
>
- Get in
+ Join on Telegram
</Link>
<Link
href="https://twitter.com/papermarkio"
+ target="_blank"
className="text-sm font-semibold leading-6 text-gray-900"
>
- on X <span aria-hidden="true"></span>
+ Join on Twitter
</Link>
</div>
</div>
diff --git a/components/web/launch/daysgrid.tsx b/components/web/launch/daysgrid.tsx
index 213e7c75..bb76898c 100644
--- a/components/web/launch/daysgrid.tsx
+++ b/components/web/launch/daysgrid.tsx
@@ -1,85 +1,71 @@
+import Image from "next/image";
+import Link from "next/link";
+import oneImg from "public/_static/day1.webp";
+import twoImg from "public/_static/day2.png";
+import threeImg from "public/_static/day3.png";
+import fourImg from "public/_static/day4.jpg";
+import fiveImg from "public/_static/day5.jpg";
+
const posts = [
{
id: 1,
- title: 'Day 1 ',
- href: '#',
- description:
- 'KEas. Error voluptates culpa eligendi. Hic vel totam vitae illo. Non aliquid explicabo necessitatibus unde. Sed exercitationem placeat consectetur nulla deserunt vel. Iusto corrupti dicta.',
- imageUrl:
- 'http://localhost:3000/_static/day1.webp',
- date: 'Monday 04.11',
- datetime: '2020-03-16',
- author: {
- name: 'Make some magic with documents your share or receive',
- },
+ title: "Day 1",
+ href: "#",
+ imageUrl: oneImg,
+ date: "Mon 04.12.",
+ datetime: "2023-12-04",
+ description: "Make some magic with documents your share or receive",
},
{
id: 1,
- title: 'Day 2 ',
- href: '#',
+ title: "Day 2",
+ href: "#",
+ imageUrl: twoImg,
+ date: "Tue 05.12.",
+ datetime: "2023-12-05",
description:
- 'KEas. Error voluptates culpa eligendi. Hic vel totam vitae illo. Non aliquid explicabo necessitatibus unde. Sed exercitationem placeat consectetur nulla deserunt vel. Iusto corrupti dicta.',
- imageUrl:
- 'http://localhost:3000/_static/day2.png',
- date: 'Tuesday 05.11',
- datetime: '2020-03-16',
- author: {
- name: 'Sharing documents and tracking progress from your favourite tools',
- },
+ "Sharing documents and tracking progress from your favourite tools",
},
- {
+ {
id: 1,
- title: 'Day 3 ',
- href: '#',
- description:
- 'KEas. Error voluptates culpa eligendi. Hic vel totam vitae illo. Non aliquid explicabo necessitatibus unde. Sed exercitationem placeat consectetur nulla deserunt vel. Iusto corrupti dicta.',
- imageUrl:
- 'http://localhost:3000/_static/day3.png',
- date: 'Wednesday 06.11',
- datetime: '2020-03-16',
- author: {
- name: 'Looking for right VC? We got your covered',
- },
+ title: "Day 3",
+ href: "#",
+ imageUrl: threeImg,
+ date: "Wed 06.12.",
+ datetime: "2023-12-06",
+ description: "Looking for right VC? We got your covered",
},
- {
+ {
id: 1,
- title: 'Day 4 ',
- href: '#',
- description:
- 'KEas. Error voluptates culpa eligendi. Hic vel totam vitae illo. Non aliquid explicabo necessitatibus unde. Sed exercitationem placeat consectetur nulla deserunt vel. Iusto corrupti dicta.',
- imageUrl:
- 'http://localhost:3000/_static/day4.jpg',
- date: 'Thursday 07.11',
- datetime: '2020-03-16',
- author: {
- name: 'Get your inbox ready',
- },
+ title: "Day 4",
+ href: "#",
+ imageUrl: fourImg,
+ date: "Thu 07.12.",
+ datetime: "2023-12-07",
+ description: "Get your inbox ready",
},
- {
+ {
id: 1,
- title: 'Day 5 ',
- href: '#',
- description:
- 'KEas. Error voluptates culpa eligendi. Hic vel totam vitae illo. Non aliquid explicabo necessitatibus unde. Sed exercitationem placeat consectetur nulla deserunt vel. Iusto corrupti dicta.',
- imageUrl:
- 'http://localhost:3000/_static/day5.avif',
- date: 'Friday 08.11',
- datetime: '2020-03-16',
- author: {
- name: 'Some Black box for surprise',
- },
+ title: "Day 5",
+ href: "#",
+ imageUrl: fiveImg,
+ date: "Fri 08.12.",
+ datetime: "2023-12-08",
+ description: "Some Black box for surprise",
},
// More posts...
-]
+];
export default function DaysGrid() {
return (
<div className="bg-white py-24 sm:py-32">
<div className="mx-auto max-w-7xl px-6 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">5 Launches</h2>
+ <h2 className="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">
+ 5 Launches
+ </h2>
<p className="mt-2 text-lg leading-8 text-gray-600">
- Every day of the week. Here is a hint of what will be launched πŸ˜‰
+ Every day of the week. Here is a hint of what will be launched πŸ˜‰
</p>
</div>
<div className="mx-auto mt-12 grid max-w-2xl auto-rows-fr grid-cols-1 gap-8 sm:mt-20 lg:mx-0 lg:max-w-none lg:grid-cols-3">
@@ -88,34 +74,33 @@ export default function DaysGrid() {
key={post.id}
className="relative isolate flex flex-col justify-end overflow-hidden rounded-2xl bg-gray-900 px-8 pb-8 pt-80 sm:pt-48 lg:pt-80"
>
- <img src={post.imageUrl} alt="" className="absolute inset-0 -z-10 h-full w-full object-cover" />
+ <Image
+ src={post.imageUrl}
+ alt=""
+ className="absolute inset-0 -z-10 h-full w-full object-cover"
+ fill
+ />
<div className="absolute inset-0 -z-10 bg-gradient-to-t from-gray-900 via-gray-900/40" />
<div className="absolute inset-0 -z-10 rounded-2xl ring-1 ring-inset ring-gray-900/10" />
- <div className="flex flex-wrap items-center gap-y-1 overflow-hidden text-sm leading-6 text-gray-300">
+ <div className="flex flex-col gap-y-1 overflow-hidden text-sm leading-6 text-gray-300">
<time dateTime={post.datetime} className="mr-8">
{post.date}
</time>
- <div className="-ml-4 flex items-center gap-x-4">
- <svg viewBox="0 0 2 2" className="-ml-0.5 h-0.5 w-0.5 flex-none fill-white/50">
- <circle cx={1} cy={1} r={1} />
- </svg>
- <div className="flex gap-x-2.5">
-
- {post.author.name}
- </div>
+ <div className="flex items-center gap-x-4">
+ <div className="flex gap-x-2.5">{post.description}</div>
</div>
</div>
<h3 className="mt-3 text-lg font-semibold leading-6 text-white">
- <a href={post.href}>
+ <Link href={post.href}>
<span className="absolute inset-0" />
{post.title}
- </a>
+ </Link>
</h3>
</article>
))}
</div>
</div>
</div>
- )
+ );
}
diff --git a/components/web/launch/hero.tsx b/components/web/launch/hero.tsx
index bcf2d974..5f059108 100644
--- a/components/web/launch/hero.tsx
+++ b/components/web/launch/hero.tsx
@@ -1,80 +1,42 @@
-import { useState } from 'react'
-import { Dialog } from '@headlessui/react'
-import { Bars3Icon, XMarkIcon } from '@heroicons/react/24/outline'
-
-const navigation = [
- { name: 'Product', href: '#' },
- { name: 'Features', href: '#' },
- { name: 'Marketplace', href: '#' },
- { name: 'Company', href: '#' },
-]
+import Image from "next/image";
+import michaelImg from "public/_static/michael.png";
export default function Example() {
- const [mobileMenuOpen, setMobileMenuOpen] = useState(false)
-
return (
<div className="bg-white">
-
<div className="relative isolate px-6 lg:px-8">
-
<div className="mx-auto max-w-2xl pt-24 sm:pt-32 lg:pt-48">
<div className="hidden sm:mb-8 sm:flex sm:justify-center">
<div className="relative rounded-full px-3 py-1 text-sm leading-6 text-gray-600 ring-1 ring-gray-900/10 hover:ring-gray-900/20">
- 04.11-08.11 {' '}
- <a href="#" className="font-semibold text-black">
- <span className="absolute inset-0" aria-hidden="true" />
- things will get busy <span aria-hidden="true"></span>
- </a>
+ 4-8 Dec |{" "}
+ <span className="font-semibold text-black">
+ things will get busy
+ </span>
</div>
</div>
<div className="text-center">
<h1 className="text-3xl font-bold tracking-tight text-gray-900 sm:text-5xl">
Papermark Launch Week
</h1>
- {/* <p className="mt-6 text-lg leading-8 text-gray-600">
- Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet
- fugiat veniam occaecat fugiat aliqua.
- </p> */}
<div className="mt-10 flex items-center justify-center gap-x-6">
<a
href="https://t.me/+yxHQdNAyACszN2Rl"
+ target="_blank"
className="rounded-md bg-black px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-gray-800 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
>
Follow live updates
</a>
-
- </div>
- <div className="mt-10 mx-auto w-full max-w-xs">
- <img
- src="http://localhost:3000/_static/michael.png"
- alt="Description of Image"
- className="mx-auto w-48 h-auto object-cover rounded-md "
- />
+ </div>
+ <div className="mt-10 mx-auto w-full max-w-xs">
+ <Image
+ src={michaelImg}
+ alt="Description of Image"
+ className="mx-auto w-48 h-auto object-cover rounded-md "
+ />
+ </div>
</div>
- </div>
- </div>
-
-
- {/* <a href="#" className="text-sm font-semibold leading-6 text-gray-900">
- Learn more <span aria-hidden="true">β†’</span>
- </a> */}
-
-
-
-
- <div
- className="absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]"
- aria-hidden="true"
- >
- <div
- className="relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-gray-900 to-black opacity-10 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"
- style={{
- clipPath:
- 'polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)',
- }}
- />
</div>
</div>
</div>
- )
+ );
}
diff --git a/pages/launch-week.tsx b/pages/launch-week.tsx
index 25c41281..0f828319 100644
--- a/pages/launch-week.tsx
+++ b/pages/launch-week.tsx
@@ -1,15 +1,11 @@
import Footer from "@/components/web/footer";
import Navbar from "@/components/web/navbar";
-// import Header from "@/components/web/header";
-// import Section from "@/components/web/section";
-// import Section2 from "@/components/web/section2";
import Hero from "@/components/web/launch/hero";
import Grid from "@/components/web/launch/daysgrid";
import CTA from "@/components/web/launch/cta";
import Head from "next/head";
-// import Section3 from "@/components/web/section3";
-export default function Home() {
+export default function LaunchWeek() {
return (
<>
<Head>
@@ -17,10 +13,7 @@ export default function Home() {
name="description"
content="Papermark is an open-source document infrastructure for sharing and collaboration. Free alternative to Docsend with custom domain. Manage secure document sharing with real-time analytics."
/>
- <meta
- property="og:title"
- content="Papermark | The Open Source DocSend Alternative"
- />
+ <meta property="og:title" content="Launch Week | Papermark" />
<meta
property="og:description"
content="Papermark is an open-source document infrastructure for sharing and collaboration. Manage secure document sharing with real-time analytics. It is a free alternative to DocSend."
@@ -36,28 +29,9 @@ export default function Home() {
<div>
<div className="relative isolate overflow-hidden bg-white ">
- <div
- className="absolute left-[calc(50%-4rem)] top-10 -z-10 transform-gpu blur-3xl sm:left-[calc(50%-18rem)] lg:left-48 lg:top-[calc(50%-30rem)] xl:left-[calc(50%-24rem)]"
- aria-hidden="true"
- >
- <div
- className="aspect-[1108/632] w-[69.25rem] bg-gradient-to-r from-[#80caff] to-[#4f46e5] opacity-20"
- style={{
- clipPath:
- "polygon(73.6% 51.7%, 91.7% 11.8%, 100% 46.4%, 97.4% 82.2%, 92.5% 84.9%, 75.7% 64%, 55.3% 47.5%, 46.5% 49.4%, 45% 62.9%, 50.3% 87.2%, 21.3% 64.1%, 0.1% 100%, 5.4% 51.1%, 21.4% 63.9%, 58.9% 0.2%, 73.6% 51.7%)",
- }}
- />
- </div>
-
<Hero />
-
- {/* <Logos />
- <Decks />
- <Section />
- <Section3 />
- <Testimonials /> */}
- <Grid/>
- <CTA/>
+ <Grid />
+ <CTA />
</div>
</div>
<Footer />
diff --git a/public/_static/day5.avif b/public/_static/day5.avif
deleted file mode 100644
index c9da2721..00000000
Binary files a/public/_static/day5.avif and /dev/null differ
diff --git a/public/_static/day5.jpg b/public/_static/day5.jpg
new file mode 100644
index 00000000..a8af5266
Binary files /dev/null and b/public/_static/day5.jpg differ