From 7e209e7bce9c186237081337a4d9ba55d30ceab6 Mon Sep 17 00:00:00 2001 From: WasiqB Date: Sun, 24 Nov 2024 18:35:46 +0300 Subject: [PATCH 1/4] feat: :sparkles: updated landing page --- apps/web/app/(app)/layout.tsx | 45 -- apps/web/app/(app)/page.tsx | 24 +- apps/web/app/layout.tsx | 97 ++++ apps/web/app/not-found.tsx | 19 + apps/web/app/robots.ts | 14 + apps/web/app/sitemap.ts | 16 + apps/web/next.config.mjs | 1 + apps/web/postcss.config.mjs | 2 +- apps/web/tailwind.config.ts | 2 +- package.json | 8 +- packages/tailwind-config/package.json | 22 - packages/tailwind-config/postcss.config.mjs | 9 - packages/tailwind-config/tailwind.config.ts | 88 ---- packages/ui/components.json | 10 +- packages/ui/package.json | 5 +- packages/ui/postcss.config.mjs | 10 +- packages/ui/src/common/description.tsx | 11 + packages/ui/src/common/title.tsx | 9 + packages/ui/src/components/accordion.tsx | 56 +++ packages/ui/src/home/faq.tsx | 45 ++ packages/ui/src/home/feature.tsx | 2 +- packages/ui/src/home/hero.tsx | 33 ++ packages/ui/src/home/how-it-works.tsx | 62 +++ packages/ui/src/home/scroll-to-top.tsx | 47 ++ packages/ui/src/utils/file-upload.tsx | 10 +- packages/ui/tailwind.config.ts | 99 +++- pnpm-lock.yaml | 480 +++++++++++--------- 27 files changed, 816 insertions(+), 410 deletions(-) delete mode 100644 apps/web/app/(app)/layout.tsx create mode 100644 apps/web/app/layout.tsx create mode 100644 apps/web/app/not-found.tsx create mode 100644 apps/web/app/robots.ts create mode 100644 apps/web/app/sitemap.ts delete mode 100644 packages/tailwind-config/package.json delete mode 100644 packages/tailwind-config/postcss.config.mjs delete mode 100644 packages/tailwind-config/tailwind.config.ts create mode 100644 packages/ui/src/common/description.tsx create mode 100644 packages/ui/src/common/title.tsx create mode 100644 packages/ui/src/components/accordion.tsx create mode 100644 packages/ui/src/home/faq.tsx create mode 100644 packages/ui/src/home/hero.tsx create mode 100644 packages/ui/src/home/how-it-works.tsx create mode 100644 packages/ui/src/home/scroll-to-top.tsx diff --git a/apps/web/app/(app)/layout.tsx b/apps/web/app/(app)/layout.tsx deleted file mode 100644 index 4b73114..0000000 --- a/apps/web/app/(app)/layout.tsx +++ /dev/null @@ -1,45 +0,0 @@ -import { GoogleTagManager } from '@next/third-parties/google'; -import { Provider as AnalyticsProvider } from '@ultra-reporter/analytics/client'; -import '@ultra-reporter/ui/global.css'; -import { Footer } from '@ultra-reporter/ui/home/footer'; -import { ThemeProvider } from '@ultra-reporter/ui/utils/theme-provider'; -import { isProd } from '@ultra-reporter/utils/constants'; -import type { Metadata } from 'next'; -import { DetailedHTMLProps, HtmlHTMLAttributes } from 'react'; - -export const metadata: Metadata = { - title: 'Ultra Reporter', - description: 'Generate beautiful reports for your test results', -}; - -const RootLayout = ({ - children, -}: Readonly<{ - children: React.ReactNode; -}>): DetailedHTMLProps< - HtmlHTMLAttributes, - HTMLHtmlElement -> => { - return ( - - - - - - - {children} -