diff --git a/apps/dashboard/README.md b/apps/dashboard/README.md index 139597f9cb..e69de29bb2 100644 --- a/apps/dashboard/README.md +++ b/apps/dashboard/README.md @@ -1,2 +0,0 @@ - - diff --git a/apps/dashboard/package.json b/apps/dashboard/package.json index 2775424d90..105324d948 100644 --- a/apps/dashboard/package.json +++ b/apps/dashboard/package.json @@ -24,10 +24,10 @@ "@novu/headless": "^0.21.0", "@trigger.dev/nextjs": "^2.2.10", "@vercel/edge-config": "^0.4.1", - "@vercel/toolbar": "^0.1.5", + "@vercel/toolbar": "^0.1.6", "@zip.js/zip.js": "^2.7.31", "change-case": "^5.2.0", - "framer-motion": "^10.16.10", + "framer-motion": "^10.16.12", "ms": "^2.1.3", "next": "14.0.3", "next-international": "^1.1.4", @@ -45,8 +45,8 @@ "devDependencies": { "@midday/tsconfig": "workspace:*", "@t3-oss/env-nextjs": "^0.7.1", - "@types/node": "^20.10.1", - "@types/react": "^18.2.39", + "@types/node": "^20.10.2", + "@types/react": "^18.2.40", "@types/react-dom": "^18.2.17", "typescript": "^5.3.2" } diff --git a/apps/dashboard/src/app/[locale]/@login/page.tsx b/apps/dashboard/src/app/[locale]/@login/page.tsx index 6d7df355cc..0729e7a376 100644 --- a/apps/dashboard/src/app/[locale]/@login/page.tsx +++ b/apps/dashboard/src/app/[locale]/@login/page.tsx @@ -59,27 +59,27 @@ export default async function Login() {
-
-
+
+
diff --git a/apps/website/package.json b/apps/website/package.json index 0411361954..18a941fcbf 100644 --- a/apps/website/package.json +++ b/apps/website/package.json @@ -17,14 +17,15 @@ "@vercel/analytics": "^1.1.1", "next": "14.0.2", "next-international": "^1.1.4", + "next-themes": "^0.2.1", "react": "18.2.0", "react-dom": "18.2.0", "sharp": "^0.33.0" }, "devDependencies": { "@midday/tsconfig": "workspace:*", - "@types/node": "^20.10.1", - "@types/react": "^18.2.39", + "@types/node": "^20.10.2", + "@types/react": "^18.2.40", "@types/react-dom": "^18.2.17" } } diff --git a/apps/website/public/overview-light.png b/apps/website/public/overview-light.png new file mode 100644 index 0000000000..2adda009cf Binary files /dev/null and b/apps/website/public/overview-light.png differ diff --git a/apps/website/public/search-light.png b/apps/website/public/search-light.png new file mode 100644 index 0000000000..cc9747ae4e Binary files /dev/null and b/apps/website/public/search-light.png differ diff --git a/apps/website/public/tracking-light.png b/apps/website/public/tracking-light.png new file mode 100644 index 0000000000..0eb09f1823 Binary files /dev/null and b/apps/website/public/tracking-light.png differ diff --git a/apps/website/public/transactions-light.png b/apps/website/public/transactions-light.png new file mode 100644 index 0000000000..91034681e7 Binary files /dev/null and b/apps/website/public/transactions-light.png differ diff --git a/apps/website/src/app/layout.tsx b/apps/website/src/app/layout.tsx index 26fa6d77f9..5e35eca623 100644 --- a/apps/website/src/app/layout.tsx +++ b/apps/website/src/app/layout.tsx @@ -1,3 +1,4 @@ +import { ThemeProvider } from "@/components/theme-provider"; import "@/styles/globals.css"; import "@midday/ui/globals.css"; import { cn } from "@midday/ui/utils"; @@ -24,7 +25,9 @@ export default function Layout({ children }: { children: ReactElement }) { return ( - {children} + + {children} + diff --git a/apps/website/src/components/header.tsx b/apps/website/src/components/header.tsx index fd4580b4c8..1c9396d78d 100644 --- a/apps/website/src/components/header.tsx +++ b/apps/website/src/components/header.tsx @@ -8,10 +8,7 @@ export function Header() { const t = useScopedI18n("header"); return ( -
+
@@ -19,7 +16,7 @@ export function Header() {
); } @@ -29,7 +33,7 @@ function SubmitButton() { return ( @@ -45,10 +49,12 @@ export function StartPage() {
-
+

{t("title")}

-

{t("description")}

+

+ {t("description")} +

@@ -85,7 +91,7 @@ export function StartPage() { autoComplete="email" aria-label="Email address" required - className="bg-[#1A1A1A] font-sm text-primary outline-none py-1 px-3 w-[360px] placeholder-[#606060] rounded-lg h-11" + className="bg-background font-sm text-primary outline-none py-1 px-3 w-[360px] placeholder-[#606060] rounded-lg h-11 border border-color-[#DCDAD2]" /> @@ -134,54 +140,54 @@ export function StartPage() {
-
+
@@ -204,7 +210,20 @@ export function StartPage() { src={overview} alt="Midday | Overview" width={993} - className="hidden md:block" + className="hidden dark:md:block dark:block" + height={645} + style={{ + objectFit: "contain", + }} + /> + + Midday | Overview + + Midday | Search Midday | Tracking Midday | Tracking + + Midday | Transactions + + Midday | Transactions
diff --git a/apps/website/src/components/theme-provider.tsx b/apps/website/src/components/theme-provider.tsx new file mode 100644 index 0000000000..08c7e516a9 --- /dev/null +++ b/apps/website/src/components/theme-provider.tsx @@ -0,0 +1,9 @@ +"use client"; + +import { ThemeProvider as NextThemesProvider } from "next-themes"; +import { type ThemeProviderProps } from "next-themes/dist/types"; +import * as React from "react"; + +export function ThemeProvider({ children, ...props }: ThemeProviderProps) { + return {children}; +} diff --git a/bun.lockb b/bun.lockb index 7fd4d1c5a5..100d67585c 100755 Binary files a/bun.lockb and b/bun.lockb differ