+ Master your work in seamless{" "} + + Flowstate + +
+ ++ Eliminate friction, organize your focus, and achieve effortless + productivity with your modern workspace companion. +
+ + {/* Action Buttons */} +diff --git a/app/page.tsx b/app/page.tsx index c62a0fa..fb55326 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,49 +1,196 @@ /** * @file app/page.tsx - * @description Server component acting as the welcome landing page, redirecting authenticated users to the summary view or presenting sign-in and register options. + * @description Welcome landing page component with responsive hero section, features showcase, and authentication redirect check. */ import { auth } from "@/auth"; import { redirect } from "next/navigation"; import Link from "next/link"; import Footer from "@/app/components/layout/Footer"; +import { JSX } from "react/jsx-runtime"; /** - * Renders the welcome page containing branding elements, authentication status checks, - * and navigation links for signing in or registering. + * Properties for the FeatureCard component. + * + * @interface FeatureCardProps + * @property {React.ReactNode} icon - The icon element displayed inside the feature card. + * @property {string} title - The title of the feature. + * @property {string} description - A short explanatory description of the feature. + */ +interface FeatureCardProps { + icon: React.ReactNode; + title: string; + description: string; +} + +/** + * Renders an individual feature card highlighting a specific platform capability. + * + * @param {FeatureCardProps} props - The component props. + * @param {React.ReactNode} props.icon - The feature icon. + * @param {string} props.title - The feature title. + * @param {string} props.description - The feature description text. + * @returns {JSX.Element} The rendered feature card component. + */ +function FeatureCard({ icon, title, description }: FeatureCardProps) { + return ( +
+ {description} +
+Welcome Page
-+ Eliminate friction, organize your focus, and achieve effortless + productivity with your modern workspace companion. +
+ + {/* Action Buttons */} +