added logos
@ -3,7 +3,6 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<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="theme-color" content="#0B1B3B" />
|
||||
<meta name="mobile-web-app-capable" content="yes" />
|
||||
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 684 B After Width: | Height: | Size: 2.6 KiB |
@ -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
|
After Width: | Height: | Size: 368 KiB |
@ -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 |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 560 B After Width: | Height: | Size: 2.7 KiB |
BIN
src/assets/logo.png
Normal file
|
After Width: | Height: | Size: 368 KiB |
@ -6,6 +6,7 @@ import { useAuth } from '../auth/context';
|
||||
import { onAuthErrorAll, orderBookingClient } from '../api/clients';
|
||||
import { SCREENS } from './tabs';
|
||||
import { routeConfig } from '../routesConfig';
|
||||
import logoUrl from '../assets/logo.png';
|
||||
import './screen.css';
|
||||
|
||||
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">
|
||||
<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
|
||||
type="button"
|
||||
onClick={() => setIsMenuOpen(false)}
|
||||
|
||||
@ -13,7 +13,7 @@ export default defineConfig({
|
||||
tailwindcss(),
|
||||
VitePWA({
|
||||
registerType: 'autoUpdate',
|
||||
pwaAssets: { image: 'public/logo.svg' },
|
||||
pwaAssets: { image: 'public/logo.png' },
|
||||
manifest: {
|
||||
name: 'Krishna Sales',
|
||||
short_name: 'Krishna',
|
||||
|
||||