Add marketing page and layout changes
This commit is contained in:
BIN
apps/marketing/src/app/favicon.ico
Normal file
BIN
apps/marketing/src/app/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
33
apps/marketing/src/app/globals.css
Normal file
33
apps/marketing/src/app/globals.css
Normal file
@@ -0,0 +1,33 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
:root {
|
||||
--foreground-rgb: 0, 0, 0;
|
||||
--background-start-rgb: 214, 219, 220;
|
||||
--background-end-rgb: 255, 255, 255;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--foreground-rgb: 255, 255, 255;
|
||||
--background-start-rgb: 0, 0, 0;
|
||||
--background-end-rgb: 0, 0, 0;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
color: rgb(var(--foreground-rgb));
|
||||
background: linear-gradient(
|
||||
to bottom,
|
||||
transparent,
|
||||
rgb(var(--background-end-rgb))
|
||||
)
|
||||
rgb(var(--background-start-rgb));
|
||||
}
|
||||
|
||||
@layer utilities {
|
||||
.text-balance {
|
||||
text-wrap: balance;
|
||||
}
|
||||
}
|
25
apps/marketing/src/app/layout.tsx
Normal file
25
apps/marketing/src/app/layout.tsx
Normal file
@@ -0,0 +1,25 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Inter } from "next/font/google";
|
||||
import "@unsend/ui/styles/globals.css";
|
||||
import { ThemeProvider } from "@unsend/ui/theme-provider";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Unsend",
|
||||
description: "Open source sending infrastructure",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<ThemeProvider attribute="class" defaultTheme="dark">
|
||||
<body className={inter.className}>{children}</body>
|
||||
</ThemeProvider>
|
||||
</html>
|
||||
);
|
||||
}
|
47
apps/marketing/src/app/page.tsx
Normal file
47
apps/marketing/src/app/page.tsx
Normal file
@@ -0,0 +1,47 @@
|
||||
import { ArrowRight, MoveRight, SendHorizonal } from "lucide-react";
|
||||
import Image from "next/image";
|
||||
import { BackgroundBeams } from "~/components/ui/background-beams";
|
||||
import { StyledInput } from "~/components/ui/styled-input";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<div className="bg-neutral-950">
|
||||
<div className="h-[100vh] w-full rounded-md relative flex flex-col items-center justify-center antialiased">
|
||||
<div className="max-w-4xl mx-auto p-4">
|
||||
<h1 className="relative z-10 text-lg md:text-6xl md:leading-[4.5rem] text-center font-sans font-bold">
|
||||
Open source sending infrastructure for{" "}
|
||||
<span className="bg-clip-text text-transparent bg-gradient-to-r from-[#06b6d4] to-[#10b981]">
|
||||
developers
|
||||
</span>
|
||||
</h1>
|
||||
<p></p>
|
||||
<p className="text-neutral-300 max-w-lg mx-auto my-4 text-center relative z-10">
|
||||
Send transactional, marketing emails, SMSes and push notifications
|
||||
effortlessly.
|
||||
</p>
|
||||
<p className="text-neutral-300 max-w-lg mx-auto text-xl my-4 text-center relative z-10 mt-10">
|
||||
Join the waitlist!
|
||||
</p>
|
||||
<div className="flex z-10 justify-center items-stretch bg-neutral-800 relative border border-gray-500 focus-within:border-[#06b6d45a] rounded-lg w-[400px] mx-auto mt-2">
|
||||
<input
|
||||
type="text"
|
||||
className="flex-1 bg-transparent placeholder:text-neutral-600 outline-none relative z-10 px-4 p-2"
|
||||
placeholder="ada@lovelace.com"
|
||||
/>
|
||||
<button className=" text-white rounded-lg w-10 bg-slate-100 flex items-center justify-center bg-gradient-to-r from-[#06b6d4ba] to-[#10b981ba]">
|
||||
<ArrowRight className="text-neutral-700" />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<BackgroundBeams />
|
||||
</div>
|
||||
<div className="h-[100vh] w-full rounded-md bg-neutral-950 relative flex flex-col items-center justify-center antialiased">
|
||||
<div className="max-w-2xl mx-auto p-4">
|
||||
<h1 className="relative z-10 text-lg md:text-7xl bg-clip-text text-transparent bg-gradient-to-b from-neutral-200 to-neutral-600 text-center font-sans font-bold">
|
||||
Join the waitlist
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user