Cambios #2

Merged
juan.zapata merged 8 commits from develop into main 2025-11-19 19:08:31 +00:00
9 changed files with 33 additions and 14 deletions
Showing only changes of commit 43eb9226e6 - Show all commits

View File

@ -4,7 +4,7 @@ VITE_APP_LANG=es-MX
VITE_APP_PORT=3000 VITE_APP_PORT=3000
VITE_PAGINATION=25 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_APP_API_SECURE=false
VITE_MICROSERVICE_STOCK=http://localhost:3000/api VITE_MICROSERVICE_STOCK=http://localhost:3000/api

View File

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

View File

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

View File

@ -1,11 +1,11 @@
#! /bin/bash #! /bin/sh
if [ ! -f .env ]; then if [ ! -f .env ]; then
cp .env.example .env cp .env.example .env
fi fi
if [ ! -f colors.json ]; then if [ ! -f colors.css ]; then
cp colors.json.example colors.json cp colors.css.example colors.css
fi fi
exec "$@" 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" class="flex w-full justify-center items-center space-x-2 cursor-pointer"
@click="home" @click="home"
> >
<img :src="$page.app.logo" class="h-20" /> <img :src="'/logo.png'" class="h-20" />
</div> </div>
</template> </template>

View File

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