added logos

This commit is contained in:
suryacp23 2026-07-30 18:50:59 +05:30
parent eb4b25f327
commit 1676504f9f
13 changed files with 6 additions and 23 deletions

View File

@ -3,7 +3,6 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" sizes="48x48" /> <link rel="icon" href="/favicon.ico" sizes="48x48" />
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta name="theme-color" content="#0B1B3B" /> <meta name="theme-color" content="#0B1B3B" />
<meta name="mobile-web-app-capable" content="yes" /> <meta name="mobile-web-app-capable" content="yes" />

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 684 B

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -1,10 +0,0 @@
<svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="sunrise" x1="128" y1="140" x2="384" y2="372" gradientUnits="userSpaceOnUse">
<stop stop-color="#F26B3A"/>
<stop offset="1" stop-color="#FBA94C"/>
</linearGradient>
</defs>
<rect width="512" height="512" rx="112" fill="#0B1B3B"/>
<text x="256" y="256" font-family="'Inter Tight','Inter',system-ui,sans-serif" font-size="230" font-weight="800" fill="url(#sunrise)" text-anchor="middle" dominant-baseline="central" letter-spacing="-8">KS</text>
</svg>

Before

Width:  |  Height:  |  Size: 604 B

BIN
public/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 KiB

View File

@ -1,10 +0,0 @@
<svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="sunrise" x1="128" y1="140" x2="384" y2="372" gradientUnits="userSpaceOnUse">
<stop stop-color="#F26B3A"/>
<stop offset="1" stop-color="#FBA94C"/>
</linearGradient>
</defs>
<rect width="512" height="512" rx="112" fill="#0B1B3B"/>
<text x="256" y="256" font-family="'Inter Tight','Inter',system-ui,sans-serif" font-size="230" font-weight="800" fill="url(#sunrise)" text-anchor="middle" dominant-baseline="central" letter-spacing="-8">KS</text>
</svg>

Before

Width:  |  Height:  |  Size: 604 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 560 B

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
src/assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 KiB

View File

@ -6,6 +6,7 @@ import { useAuth } from '../auth/context';
import { onAuthErrorAll, orderBookingClient } from '../api/clients'; import { onAuthErrorAll, orderBookingClient } from '../api/clients';
import { SCREENS } from './tabs'; import { SCREENS } from './tabs';
import { routeConfig } from '../routesConfig'; import { routeConfig } from '../routesConfig';
import logoUrl from '../assets/logo.png';
import './screen.css'; import './screen.css';
const canAccessScreen = (key: string, isAdmin: boolean, roles: string[]) => { const canAccessScreen = (key: string, isAdmin: boolean, roles: string[]) => {
@ -113,7 +114,10 @@ export function ConsoleLayout() {
)} )}
> >
<div className="h-14 flex items-center justify-between px-4 border-b border-border-subtle pt-[env(safe-area-inset-top)] shrink-0"> <div className="h-14 flex items-center justify-between px-4 border-b border-border-subtle pt-[env(safe-area-inset-top)] shrink-0">
<span className="font-semibold text-foreground">Krishna Field Sales</span> <div className="flex items-center gap-2.5">
<img src={logoUrl} alt="Krishna" className="w-7 h-7 rounded-full object-cover shadow-sm" />
<span className="font-bold text-foreground tracking-tight">Krishna Field Sales</span>
</div>
<button <button
type="button" type="button"
onClick={() => setIsMenuOpen(false)} onClick={() => setIsMenuOpen(false)}

View File

@ -13,7 +13,7 @@ export default defineConfig({
tailwindcss(), tailwindcss(),
VitePWA({ VitePWA({
registerType: 'autoUpdate', registerType: 'autoUpdate',
pwaAssets: { image: 'public/logo.svg' }, pwaAssets: { image: 'public/logo.png' },
manifest: { manifest: {
name: 'Krishna Sales', name: 'Krishna Sales',
short_name: 'Krishna', short_name: 'Krishna',