diff --git a/.github/workflows/docker_cleanup.yml b/.github/workflows/docker_cleanup.yml index 667c5cf..adade49 100644 --- a/.github/workflows/docker_cleanup.yml +++ b/.github/workflows/docker_cleanup.yml @@ -16,7 +16,7 @@ jobs: with: # NOTE: at now only orgs is supported owner: airtai - name: rba-wasp + name: test-chat-app token: ${{ secrets.GITHUB_TOKEN }} # Keep latest N untagged images diff --git a/main.wasp b/main.wasp index a569bef..564cf63 100644 --- a/main.wasp +++ b/main.wasp @@ -2,16 +2,16 @@ app chatApp { wasp: { version: "^0.11.7" }, - title: "RBA Demo", + title: "Capt'n.ai", head: [ "", "", - "", - "", + "", + "", "", + "", + "", // you can put your google analytics script here, too! - // "", - // "", ], // 🔐 Auth out of the box! https://wasp-lang.dev/docs/auth/overview auth: { diff --git a/src/client/AccountPage.tsx b/src/client/AccountPage.tsx index a37f12d..e8b7c5d 100644 --- a/src/client/AccountPage.tsx +++ b/src/client/AccountPage.tsx @@ -59,7 +59,7 @@ export default function Example({ user }: { user: User }) {
diff --git a/src/client/App.tsx b/src/client/App.tsx index 0b87920..2c829e0 100644 --- a/src/client/App.tsx +++ b/src/client/App.tsx @@ -9,7 +9,7 @@ export default function App({ children }: { children: ReactNode }) { * in this case the NavBar will always be rendered */ return ( -
+
{children}
diff --git a/src/client/ChatPage.jsx b/src/client/ChatPage.jsx index e9647ef..f3d077f 100644 --- a/src/client/ChatPage.jsx +++ b/src/client/ChatPage.jsx @@ -8,7 +8,7 @@ import { useState, useEffect, useRef } from 'react'; import { Link } from '@wasp/router' import Markdown from 'react-markdown' -import logo from './static/rba-logo.png' +import logo from './static/captn-logo.png' import createChat from '@wasp/actions/createChat' import updateConversation from '@wasp/actions/updateConversation' import getAgentResponse from '@wasp/actions/getAgentResponse' @@ -24,7 +24,7 @@ const ChatsList = ({ chats }) => { to="/chat/:id?" params={{ id: chat.id }}>
  • -
    +
    {chat.id} @@ -40,7 +40,7 @@ const ChatsList = ({ chats }) => { const Loader = () => { return (
    -
    +
    ) } @@ -51,8 +51,8 @@ const ConversationsList = ({ conversations }) => { return (
    {conversations.map((conversation, idx) => { - const conversationBgColor = conversation.role === "user" ? "rba-dark-gray" : "rba-light-gray"; - const conversationTextColor = conversation.role === "user" ? "white" : "black"; + const conversationBgColor = conversation.role === "user" ? "captn-light-blue" : "captn-dark-blue"; + const conversationTextColor = conversation.role === "user" ? "captn-dark-blue" : "captn-light-cream"; const conversationLogo = conversation.role === "user" ?
    You
    : captn logo return (
    @@ -154,12 +154,12 @@ export default function ChatPage(props) { return (
    -
    -
    +
    +
    -
    +
    @@ -191,11 +191,11 @@ export default function ChatPage(props) { */}
    - - + +
    -
    ) :

    Please initiate a new chat or select existing chats to resume your conversation.

    } +
    ) :

    Please initiate a new chat or select existing chats to resume your conversation.

    }
    diff --git a/src/client/MainPage.tsx b/src/client/MainPage.tsx index f94ea14..6a25808 100644 --- a/src/client/MainPage.tsx +++ b/src/client/MainPage.tsx @@ -1,13 +1,13 @@ -import imgUrl from './static/rba-logo-large.png' +import imgUrl from './static/captn-logo-large.png' export default function MainPage() { return ( -
    +
    -

    RBA Demo

    +

    Capt'n AI

    {/*

    Product home page @@ -16,8 +16,8 @@ export default function MainPage() { Postgres/Prisma, Express, React, Node

    */} -

    - Hi there! 🧙‍♂️ Tell us your needs, and we'll create an exclusive, tailor-made loan offer just for you! +

    + Hey 🧙‍♂️! This is a sneak peek at my product's evolving homepage. Get ready for an amazing launch soon!

    {/*
    • Stripe integration
    • @@ -51,9 +51,15 @@ export default function MainPage() {
    -
    - -
    +
    +
    diff --git a/src/client/NavBar.tsx b/src/client/NavBar.tsx index 8a679bc..042c980 100644 --- a/src/client/NavBar.tsx +++ b/src/client/NavBar.tsx @@ -1,18 +1,18 @@ -import logo from './static/rba-logo.png' +import logo from './static/captn-logo.png' import { Disclosure } from '@headlessui/react'; import { AiOutlineBars, AiOutlineClose, AiOutlineUser } from 'react-icons/ai'; import useAuth from '@wasp/auth/useAuth'; -const active = 'inline-flex items-center border-b-8 mt-1 border-rba-yellow px-1 pt-1 text-sm text-black font-black hover:text-black hover:font-black'; -const inactive = 'inline-flex items-center border-b-2 border-transparent px-1 pt-1 text-sm font-medium text-black font-thin hover:border-rba-yellow hover:text-black hover:font-black' +const active = 'inline-flex items-center border-b-2 border-indigo-300 px-1 pt-1 text-sm font-medium text-gray-900'; +const inactive = 'inline-flex items-center border-b-2 border-transparent px-1 pt-1 text-sm font-medium text-gray-500 hover:border-gray-300 hover:text-gray-700' const current = window.location.pathname; export default function NavBar() { const { data: user } = useAuth(); return ( - + {({ open }) => ( <>
    @@ -63,21 +63,21 @@ export default function NavBar() { Home Chat Account diff --git a/src/client/appearance.ts b/src/client/appearance.ts index a7888c9..9cc4a56 100644 --- a/src/client/appearance.ts +++ b/src/client/appearance.ts @@ -2,8 +2,8 @@ import type { CustomizationOptions } from '@wasp/auth/forms/types' export const appearance: CustomizationOptions['appearance'] = { colors: { - brand: '#f7ff00', - brandAccent: '#f7ff00', - submitButtonText: 'black', + brand: '#0da37f', + brandAccent: '#066d55', + submitButtonText: 'white', }, } \ No newline at end of file diff --git a/src/client/public/favicon.ico b/src/client/public/favicon.ico index 2a5f35d..9d2b16c 100644 Binary files a/src/client/public/favicon.ico and b/src/client/public/favicon.ico differ diff --git a/src/client/static/rba-logo-large.png b/src/client/static/rba-logo-large.png deleted file mode 100644 index 994e3de..0000000 Binary files a/src/client/static/rba-logo-large.png and /dev/null differ diff --git a/src/client/static/rba-logo.png b/src/client/static/rba-logo.png deleted file mode 100644 index 8f80acd..0000000 Binary files a/src/client/static/rba-logo.png and /dev/null differ diff --git a/tailwind.config.cjs b/tailwind.config.cjs index b339432..590a629 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -5,10 +5,9 @@ module.exports = { theme: { extend: {}, colors: { - 'rba-yellow': '#f7ff00', + 'captn-light-blue': '#6faabc', 'captn-dark-blue': '#003851', - 'rba-dark-gray': '#34393c', - 'rba-light-gray':'#f7f7f7', + 'captn-light-cream': '#eae4d9', 'captn-cta-green': '#0da37f', 'captn-cta-red': '#e57373', 'captn-cta-green-hover': '#066d55',