Renombrar FlotillasGPS a ADAN en todo el proyecto
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="description" content="Sistema de Monitoreo de Flotillas GPS" />
|
||||
<meta name="description" content="Sistema de Monitoreo de ADAN GPS" />
|
||||
<meta name="theme-color" content="#0f172a" />
|
||||
<title>Flotillas GPS - Sistema de Monitoreo</title>
|
||||
<title>ADAN GPS - Sistema de Monitoreo</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "flotillas-gps-frontend",
|
||||
"name": "adan-frontend",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
|
||||
@@ -12,8 +12,8 @@ const apiClient: AxiosInstance = axios.create({
|
||||
})
|
||||
|
||||
// Token storage
|
||||
const TOKEN_KEY = 'flotillas_access_token'
|
||||
const REFRESH_TOKEN_KEY = 'flotillas_refresh_token'
|
||||
const TOKEN_KEY = 'adan_access_token'
|
||||
const REFRESH_TOKEN_KEY = 'adan_refresh_token'
|
||||
|
||||
export const getAccessToken = (): string | null => {
|
||||
return localStorage.getItem(TOKEN_KEY)
|
||||
|
||||
@@ -95,7 +95,7 @@ export default function Sidebar() {
|
||||
<MapPinIcon className="w-6 h-6 text-white" />
|
||||
</div>
|
||||
<div>
|
||||
<h1 className="text-lg font-bold text-white">Flotillas</h1>
|
||||
<h1 className="text-lg font-bold text-white">ADAN</h1>
|
||||
<p className="text-xs text-slate-500">GPS Monitor</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -49,7 +49,7 @@ export default function Login() {
|
||||
<MapPinIcon className="w-7 h-7 text-white" />
|
||||
</div>
|
||||
<div>
|
||||
<h1 className="text-2xl font-bold text-white">Flotillas GPS</h1>
|
||||
<h1 className="text-2xl font-bold text-white">ADAN GPS</h1>
|
||||
<p className="text-sm text-slate-500">Sistema de Monitoreo</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -138,7 +138,7 @@ export default function Login() {
|
||||
|
||||
{/* Footer */}
|
||||
<p className="mt-8 text-center text-sm text-slate-600">
|
||||
Flotillas GPS v1.0.0 | Sistema de Monitoreo de Flota
|
||||
ADAN GPS v1.0.0 | Sistema de Monitoreo de Flota
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -102,7 +102,7 @@ export const useAuthStore = create<AuthState>()(
|
||||
setLoading: (loading: boolean) => set({ isLoading: loading }),
|
||||
}),
|
||||
{
|
||||
name: 'flotillas-auth',
|
||||
name: 'adan-auth',
|
||||
storage: createJSONStorage(() => localStorage),
|
||||
partialize: (state) => ({
|
||||
user: state.user,
|
||||
|
||||
@@ -152,7 +152,7 @@ export const useConfigStore = create<ConfigState>()(
|
||||
})),
|
||||
}),
|
||||
{
|
||||
name: 'flotillas-config',
|
||||
name: 'adan-config',
|
||||
storage: createJSONStorage(() => localStorage),
|
||||
}
|
||||
)
|
||||
|
||||
@@ -252,7 +252,7 @@ export const useMapaStore = create<MapaStoreState>()(
|
||||
},
|
||||
}),
|
||||
{
|
||||
name: 'flotillas-mapa',
|
||||
name: 'adan-mapa',
|
||||
storage: createJSONStorage(() => localStorage),
|
||||
partialize: (state) => ({
|
||||
centro: state.centro,
|
||||
|
||||
Reference in New Issue
Block a user