Rediseño

This commit is contained in:
Juan Felipe Zapata Moreno 2025-11-10 16:17:29 -06:00
parent c44fc36fd5
commit 43eb9226e6
9 changed files with 33 additions and 14 deletions

View File

@ -4,7 +4,7 @@ VITE_APP_LANG=es-MX
VITE_APP_PORT=3000
VITE_PAGINATION=25
VITE_APP_API=http://localhost:8080 #Colocar http://localhost:8080 con el puerto del backend / http://backend.golscontrol.test
VITE_API_URL=http://localhost:8080
VITE_APP_API_SECURE=false
VITE_MICROSERVICE_STOCK=http://localhost:3000/api

View File

@ -1,16 +1,16 @@
services:
holos-frontend:
comal-pagos-frontend:
build:
context: .
dockerfile: dockerfile
ports:
- "${APP_PORT}:5173"
volumes:
- .:/var/www/holos.frontend
- /var/www/holos.frontend/node_modules
- .:/var/www/comal-pagos.frontend
- /var/www/comal-pagos.frontend/node_modules
networks:
- holos-network
- comal-pagos-network
networks:
holos-network:
comal-pagos-network:
driver: bridge

View File

@ -1,6 +1,6 @@
FROM node:22-alpine AS build
WORKDIR /var/www/holos.frontend
WORKDIR /var/www/comal-pagos.frontend
COPY package*.json ./

View File

@ -1,11 +1,11 @@
#! /bin/bash
#! /bin/sh
if [ ! -f .env ]; then
cp .env.example .env
fi
if [ ! -f colors.json ]; then
cp colors.json.example colors.json
if [ ! -f colors.css ]; then
cp colors.css.example colors.css
fi
exec "$@"

BIN
public/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -19,6 +19,6 @@ const home = () => {
class="flex w-full justify-center items-center space-x-2 cursor-pointer"
@click="home"
>
<img :src="$page.app.logo" class="h-20" />
<img :src="'/logo.png'" class="h-20" />
</div>
</template>

View File

@ -35,9 +35,9 @@ onMounted(() => {
to="dashboard.index"
/>
<Link
icon="person"
name="profile"
to="profile.show"
icon="add_home"
name="Crear Dirección"
to="address.index"
/>
</Section>
<Section

View File

@ -0,0 +1,9 @@
<script setup>
import PageHeader from '@Holos/PageHeader.vue';
</script>
<template>
<PageHeader title="Dashboard" />
<p><b>{{ $t('welcome') }}</b>, {{ $page.user.name }}.</p>
</template>

View File

@ -48,6 +48,16 @@ const router = createRouter({
},
]
},
{
path: 'address',
children: [
{
path: '',
name: 'address.index',
component: () => import('@Pages/App/Address/Index.vue')
}
]
}
],
},
{