From ac932fefeec3d6e4ed3f70ddc889b19b83344b83 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Mon, 3 Mar 2025 14:25:51 -0700 Subject: [PATCH] home page --- .../app/app/(primary_layout)/home/page.tsx | 8 +++- .../features/sidebars/SidebarPrimary.tsx | 4 +- web/src/components/ui/buttons/Button.tsx | 4 +- .../components/ui/inputs/InputTextArea.tsx | 28 ++++++++++--- .../ui/inputs/InputTextAreaButton.tsx | 20 ++++++--- .../ui/layouts/AppPageLayoutContent.tsx | 2 +- .../ui/layouts/AppPageLayoutHeader.tsx | 15 ++++--- .../components/ui/typography/Paragraph.tsx | 2 +- web/src/components/ui/typography/Title.tsx | 10 ++--- .../HomePage/HomePageController.tsx | 41 +++++++++++++++++++ .../controllers/HomePage/HomePageHeader.tsx | 5 +++ web/src/controllers/HomePage/NewChatInput.tsx | 40 ++++++++++++++++++ web/src/controllers/HomePage/index.ts | 2 + 13 files changed, 153 insertions(+), 28 deletions(-) create mode 100644 web/src/controllers/HomePage/HomePageController.tsx create mode 100644 web/src/controllers/HomePage/HomePageHeader.tsx create mode 100644 web/src/controllers/HomePage/NewChatInput.tsx create mode 100644 web/src/controllers/HomePage/index.ts diff --git a/web/src/app/app/(primary_layout)/home/page.tsx b/web/src/app/app/(primary_layout)/home/page.tsx index f9618f18c..29aad9259 100644 --- a/web/src/app/app/(primary_layout)/home/page.tsx +++ b/web/src/app/app/(primary_layout)/home/page.tsx @@ -1,5 +1,11 @@ +import { AppPageLayout } from '@/components/ui'; import React from 'react'; +import { HomePageController, HomePageHeader } from '@/controllers/HomePage'; export default function HomePage() { - return
HomePage TODO:
; + return ( + }> + + + ); } diff --git a/web/src/components/features/sidebars/SidebarPrimary.tsx b/web/src/components/features/sidebars/SidebarPrimary.tsx index f29a51b97..031418928 100644 --- a/web/src/components/features/sidebars/SidebarPrimary.tsx +++ b/web/src/components/features/sidebars/SidebarPrimary.tsx @@ -150,12 +150,12 @@ const SidebarPrimaryHeader = React.memo(() => { - +