Renombrar FlotillasGPS a ADAN en todo el proyecto

This commit is contained in:
FlotillasGPS Developer
2026-01-21 08:26:01 +00:00
parent 51d78bacf4
commit 6d24ad6f61
37 changed files with 350 additions and 345 deletions

View File

@@ -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)

View File

@@ -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>

View File

@@ -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>

View File

@@ -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,

View File

@@ -152,7 +152,7 @@ export const useConfigStore = create<ConfigState>()(
})),
}),
{
name: 'flotillas-config',
name: 'adan-config',
storage: createJSONStorage(() => localStorage),
}
)

View File

@@ -252,7 +252,7 @@ export const useMapaStore = create<MapaStoreState>()(
},
}),
{
name: 'flotillas-mapa',
name: 'adan-mapa',
storage: createJSONStorage(() => localStorage),
partialize: (state) => ({
centro: state.centro,