Skip to content

Commit

Permalink
feat: Vana branding
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Nunamaker committed Apr 18, 2024
1 parent a79b3a1 commit a73083c
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion selfie-ui/src/app/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const Header = () => (
// </header>
<div className="navbar bg-base-100">
{/*<a className="btn btn-ghost text-xl" href="/">Selfie</a>*/}
<h1 className="text-3xl p-4">Selfie</h1>
<h1 className="text-3xl p-4">Vana Personal Server</h1>
<div className="flex-grow"></div>

<a className="mr-8 link link-hover" href="/docs" rel="noopener noreferrer">
Expand Down
2 changes: 1 addition & 1 deletion selfie-ui/src/app/components/Playground/PlaygroundChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const PlaygroundChat = ({ disabled = false, hasIndexedDocuments = true }: { disa

return (<>
<p className="mb-4">
Explore what Selfie can do by chatting with an AI that uses your data or by searching your data directly. If you haven&apos;t already, add some data in the &quot;Add Data&quot; tab.
Explore what your Vana server can do by chatting with an AI that uses your data or by searching your data directly. If you haven&apos;t already, add some data in the &quot;Add Data&quot; tab.
</p>
<h2 className="text-xl font-bold mb-4">Chat</h2>
<div className="flex flex-col lg:flex-row gap-4 w-full">
Expand Down
4 changes: 2 additions & 2 deletions selfie-ui/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import React from 'react'
import { Providers } from './providers'

export const metadata: Metadata = {
title: 'Selfie',
description: 'Welcome to Selfie',
title: 'Vana Personal Server',
description: 'Bring your data to life',
}

export default function Layout({ children }: { children: React.ReactNode }) {
Expand Down
4 changes: 2 additions & 2 deletions selfie-ui/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const App = () => {
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M4 6h16M4 12h16M4 18h16"></path>
</svg>
</label>
<div className="flex-1 px-2 mx-2 text-2xl">Selfie</div>
<div className="flex-1 px-2 mx-2 text-2xl">Vana Personal Server</div>
</div>

{/* Page content here */}
Expand All @@ -78,7 +78,7 @@ const App = () => {
{/* Sidebar content here */}
<label htmlFor="my-drawer" className="drawer-overlay"></label>
<aside className="bg-base-300 min-h-screen">
<h1 className="lg:flex hidden px-4 pt-4 text-2xl">Selfie</h1>
<h1 className="lg:flex hidden px-4 pt-4 text-2xl">Vana Personal Server</h1>
<ul className="menu p-4 overflow-y-auto w-60">
{/* Sidebar content here */}
{ pages.map(({ id, component: Component }) => (
Expand Down
2 changes: 1 addition & 1 deletion selfie.spec
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ coll = COLLECT(

app = BUNDLE(coll,
name='Selfie.app',
icon='Selfie.icns',
icon='vana.png',
bundle_identifier='com.vana.selfie',
)
15 changes: 10 additions & 5 deletions selfie/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(self, argv):

self.setQuitOnLastWindowClosed(False)
self.tray_icon = QSystemTrayIcon(self)
self.tray_icon.setIcon(QIcon("Selfie.icns"))
self.tray_icon.setIcon(QIcon("vana.png"))

menu = QMenu()

Expand Down Expand Up @@ -117,10 +117,15 @@ def update_gpu_mode_status(self):

def update_service_icon(self, state):
icon_paths = {
"starting": f"{selfie_path}/images/starting-tray.png",
"stopping": f"{selfie_path}/images/stopping-tray.png",
"started": f"{selfie_path}/images/started-tray.png",
"stopped": f"{selfie_path}/images/stopped-tray.png",
"starting": f"vana.png",
"stopping": f"vana.png",
"started": f"vana.png",
"stopped": f"vana.png",
# "starting": f"{selfie_path}/images/starting-tray.png",
# "stopping": f"{selfie_path}/images/stopping-tray.png",
# "started": f"{selfie_path}/images/started-tray.png",
# "stopped": f"{selfie_path}/images/stopped-tray.png",

}
self.tray_icon.setIcon(QIcon(icon_paths[state]))

Expand Down
Binary file added vana.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a73083c

Please sign in to comment.