Skip to content

Commit

Permalink
Merge pull request #117 from midday-ai/feature/website-v1
Browse files Browse the repository at this point in the history
Feature/website v1
  • Loading branch information
pontusab committed May 15, 2024
2 parents 347efc8 + 87897e4 commit 0937986
Show file tree
Hide file tree
Showing 104 changed files with 748 additions and 1,782 deletions.
2 changes: 2 additions & 0 deletions apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
"@midday/supabase": "workspace:*",
"@midday/ui": "workspace:*",
"@openstatus/react": "^0.0.3",
"@splinetool/react-spline": "^2.2.6",
"@splinetool/runtime": "^1.3.4",
"@team-plain/typescript-sdk": "3.9.0",
"@uidotdev/usehooks": "^2.4.1",
"@vercel/analytics": "^1.2.2",
Expand Down
Binary file removed apps/website/public/ai-light.png
Binary file not shown.
Binary file modified apps/website/public/ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/website/public/computer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/website/public/dock/cal.png
Binary file not shown.
Binary file removed apps/website/public/dock/contacts.png
Binary file not shown.
Binary file removed apps/website/public/dock/discord.png
Binary file not shown.
Binary file removed apps/website/public/dock/finder.png
Binary file not shown.
Binary file removed apps/website/public/dock/github.png
Binary file not shown.
Binary file removed apps/website/public/dock/midday.png
Binary file not shown.
Binary file removed apps/website/public/dock/notion.png
Binary file not shown.
Binary file modified apps/website/public/engine-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/website/public/engine.png
Binary file not shown.
Binary file removed apps/website/public/exporting-light.png
Binary file not shown.
Binary file modified apps/website/public/exporting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/website/public/inbox-light.png
Binary file not shown.
Binary file modified apps/website/public/inbox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/website/public/invoicing-light.png
Binary file not shown.
Binary file modified apps/website/public/invoicing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/website/public/mobile-light.png
Binary file not shown.
Binary file removed apps/website/public/overview-light.png
Binary file not shown.
Binary file removed apps/website/public/panel-light.png
Binary file not shown.
Binary file removed apps/website/public/profit-loss-light.png
Binary file not shown.
Binary file removed apps/website/public/profit-loss.png
Binary file not shown.
Binary file removed apps/website/public/screen-1-light.png
Binary file not shown.
Binary file modified apps/website/public/screen-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/website/public/screen-2-light.png
Diff not rendered.
Binary file modified apps/website/public/screen-2.png
Binary file removed apps/website/public/screen-3-light.png
Diff not rendered.
Binary file modified apps/website/public/screen-3.png
Binary file removed apps/website/public/screen-4-light.png
Diff not rendered.
Binary file modified apps/website/public/screen-4.png
Binary file removed apps/website/public/screen-5-light.png
Diff not rendered.
Binary file modified apps/website/public/screen-5.png
Binary file removed apps/website/public/search-light.png
Diff not rendered.
Binary file removed apps/website/public/time-tracker-light.png
Diff not rendered.
Binary file modified apps/website/public/time-tracker.png
Binary file removed apps/website/public/tracking-light.png
Diff not rendered.
Binary file removed apps/website/public/transactions-light.png
Diff not rendered.
Binary file removed apps/website/public/vault-light.png
Diff not rendered.
Binary file modified apps/website/public/vault.png
2 changes: 1 addition & 1 deletion apps/website/src/actions/fetch-stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export async function fetchStats() {
},
["stats"],
{
revalidate: 300,
revalidate: 800,
tags: ["stats"],
}
)();
Expand Down
20 changes: 1 addition & 19 deletions apps/website/src/app/download/page.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { BlurryCircle } from "@/components/blurry-circle";
import { CopyInput } from "@/components/copy-input";
import { Button } from "@midday/ui/button";
import type { Metadata } from "next";
import Image from "next/image";
import appIcon from "public/app-icon.png";
import panelLight from "public/panel-light.png";
import panel from "public/panel.png";

export const metadata: Metadata = {
Expand All @@ -14,9 +12,6 @@ export const metadata: Metadata = {
export default function Page() {
return (
<div className="container flex flex-col items-center mb-12 md:mb-48 text-center">
<BlurryCircle className="absolute top-[40%] -right-6 bg-[#F59F95]/30 dark:bg-[#F59F95]/10 -z-10 hidden md:block" />
<BlurryCircle className="absolute top-[70%] left-0 bg-[#3633D0]/10 dark:bg-[#3633D0]/10 -z-10 hidden md:block" />

<h1 className="mt-24 font-medium text-center text-5xl mb-24">
Always at your fingertips.
</h1>
Expand All @@ -27,23 +22,10 @@ export default function Page() {
alt="Download Midday"
width={1223}
height={462}
className="z-10 relative hidden dark:block"
quality={100}
priority
/>

<Image
src={panelLight}
alt="Download Midday"
width={1223}
height={462}
className="z-10 relative dark:hidden"
className="z-10 relative"
quality={100}
priority
/>

<BlurryCircle className="absolute bottom-[50px] -left-6 bg-[#A1F5CD]/5" />
<BlurryCircle className="absolute bottom-0 right-[150px] bg-[#FFECBB]/5" />
</div>
<Image
src={appIcon}
Expand Down
54 changes: 14 additions & 40 deletions apps/website/src/app/engine/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { SparklesCore } from "@/components/sparkles";
import { WaitlistInput } from "@/components/waitlist-input";
import type { Metadata } from "next";
import Image from "next/image";
Expand All @@ -12,51 +11,25 @@ export const metadata: Metadata = {
export default function Page() {
return (
<div className="w-full bg-[#0C0C0C] flex flex-col items-center justify-center mt-24">
<h1 className="text-6xl font-medium text-center text-white relative z-20">
One API to rule them all.
<h1 className="text-[175px] font-medium text-center text-white relative z-20 leading-none">
One API
</h1>

<p className="text-[#707070] mt-4 mb-8 text-center max-w-[550px] font-mono">
Midday Engine streamlines banking integrations with a single API,
effortlessly connecting to multiple providers and get one unified
format.
</p>
<div className="max-w-[800px] w-full h-40 relative">
{/* Gradients */}
<div className="absolute inset-x-20 top-0 bg-gradient-to-r from-transparent via-[#D9D9D9] to-transparent h-[2px] md:w-3/4 blur-sm" />
<div className="absolute inset-x-20 top-0 bg-gradient-to-r from-transparent via-[#D9D9D9] to-transparent h-px md:w-3/4" />
<div className="absolute inset-x-60 top-0 bg-gradient-to-r from-transparent via-[#D9D9D9] to-transparent h-[5px] md:w-1/4 blur-sm" />
<div className="absolute inset-x-60 top-0 bg-gradient-to-r from-transparent via-[#D9D9D9] to-transparent h-px md:w-1/4" />
<h2 className="text-[175px] leading-none text-dotted">
to rule them all
</h2>

{/* Core component */}
<SparklesCore
background="transparent"
minSize={0.4}
maxSize={1.2}
particleDensity={800}
className="w-full h-full"
particleColor="#FFFFFF"
/>

{/* Radial Gradient to prevent sharp edges */}
<div className="absolute inset-0 w-full h-full bg-[#0C0C0C] [mask-image:radial-gradient(350px_200px_at_top,transparent_20%,white)]" />
<div className="mb-2 mt-6">
<p className="text-[#707070] mt-4 mb-8 text-center max-w-[550px]">
Midday engine streamlines banking integrations with a single API
effortlessly connecting to multiple providers and get one unified
format.
</p>
</div>

<div className="-mt-[160px] w-full flex items-center flex-col z-10">
<Image
src={require("public/engine.png")}
width={419}
height={421}
className="mt-16"
quality={100}
alt="Midday Engine"
priority
/>

<WaitlistInput />
</div>
<WaitlistInput />

<div className="text-center flex flex-col items-center mt-24">
<div className="text-center flex flex-col items-center mt-[140px]">
<h3 className="mb-4 text-2xl font-medium">
Unlimited bank connections
</h3>
Expand All @@ -71,6 +44,7 @@ export default function Page() {
width={1026}
height={552}
className="mt-16"
quality={100}
/>
</div>

Expand Down
22 changes: 9 additions & 13 deletions apps/website/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@ export const metadata: Metadata = {
};

export const viewport = {
themeColor: [
{ media: "(prefers-color-scheme: light)" },
{ media: "(prefers-color-scheme: dark)" },
],
themeColor: [{ media: "(prefers-color-scheme: dark)" }],
};

export default function Layout({ children }: { children: ReactElement }) {
Expand All @@ -64,17 +61,16 @@ export default function Layout({ children }: { children: ReactElement }) {
<body
className={cn(
`${GeistSans.variable} ${GeistMono.variable}`,
"bg-[#F6F6F3] dark:bg-[#0C0C0C] overflow-x-hidden"
"bg-[#0C0C0C] overflow-x-hidden dark antialiased"
)}
>
<Provider>
<Header />
<main className="container mx-auto px-4 overflow-hidden md:overflow-visible">
{children}
</main>
<FooterCTA />
<Footer />
</Provider>
<Header />
<main className="container mx-auto px-4 overflow-hidden md:overflow-visible">
{children}
</main>
<FooterCTA />
<Footer />

<Analytics />
<DevMessage />
</body>
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/app/not-found.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { NotFoundTerminal } from "@/components/not-found-terminal";

export default function NotFound() {
return (
<div className="fixed bg-[#F6F6F3] dark:bg-[#0C0C0C] top-0 right-0 bottom-0 left-0 z-10">
<div className="fixed bg-[#0C0C0C] top-0 right-0 bottom-0 left-0 z-10">
<h1 className="font-mono md:text-[300px] text-[140px] font-medium text-center mt-20">
404
</h1>
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/app/oss-friends/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default async function Page() {
return (
<div
key={friend.name}
className="border border-border rounded-2xl dark:bg-[#121212] p-4"
className="border border-border bg-[#121212] p-4"
>
<div className="flex justify-between items-center mb-2">
<a href={friend.href} target="_blank" rel="noreferrer">
Expand Down
Loading

0 comments on commit 0937986

Please sign in to comment.