diff --git a/back/app/Http/Controllers/PostulanteAuthController.php b/back/app/Http/Controllers/PostulanteAuthController.php index 1c782e1..681ff06 100644 --- a/back/app/Http/Controllers/PostulanteAuthController.php +++ b/back/app/Http/Controllers/PostulanteAuthController.php @@ -161,28 +161,28 @@ class PostulanteAuthController extends Controller $pagos = []; - // =============================== - // 1️⃣ PAGOS PYTO PERÚ - // =============================== - $urlPyto = "https://service2.unap.edu.pe/PAYMENTS_MNG/v1/{$dni}/8/"; - $responsePyto = Http::get($urlPyto); - - if ($responsePyto->successful()) { - $dataPyto = $responsePyto->json(); - - if (!empty($dataPyto['data'])) { - foreach ($dataPyto['data'] as $pago) { - $pagos[] = [ - 'tipo' => 'pyto_peru', - 'codigo' => $pago['autorizationCode'] ?? null, - 'monto' => $pago['total'] ?? null, - 'fecha_pago' => $pago['confirmedDate'] ?? null, - 'estado' => true, - 'raw' => $pago // devuelve toda la info original - ]; - } - } - } + // // =============================== + // // 1️⃣ PAGOS PYTO PERÚ + // // =============================== + // $urlPyto = "https://service2.unap.edu.pe/PAYMENTS_MNG/v1/{$dni}/8/"; + // $responsePyto = Http::get($urlPyto); + + // if ($responsePyto->successful()) { + // $dataPyto = $responsePyto->json(); + + // if (!empty($dataPyto['data'])) { + // foreach ($dataPyto['data'] as $pago) { + // $pagos[] = [ + // 'tipo' => 'pyto_peru', + // 'codigo' => $pago['autorizationCode'] ?? null, + // 'monto' => $pago['total'] ?? null, + // 'fecha_pago' => $pago['confirmedDate'] ?? null, + // 'estado' => true, + // 'raw' => $pago // devuelve toda la info original + // ]; + // } + // } + // } // =============================== // 2️⃣ PAGOS CAJA diff --git a/back/routes/api.php b/back/routes/api.php index e820897..ce58896 100644 --- a/back/routes/api.php +++ b/back/routes/api.php @@ -79,7 +79,7 @@ Route::middleware(['auth:sanctum'])->prefix('admin')->group(function () { Route::delete('/noticias/{noticia}', [NoticiaController::class, 'destroy']); }); Route::get('/noticias', [NoticiaController::class, 'index']); - Route::get('/noticias/{noticia}', [NoticiaController::class, 'showPublic']); +Route::get('/noticias/{noticia}', [NoticiaController::class, 'showPublic']); Route::middleware(['auth:sanctum'])->prefix('admin')->group(function () { diff --git a/front/index.html b/front/index.html index 7d082ee..bbf6dfa 100644 --- a/front/index.html +++ b/front/index.html @@ -2,9 +2,9 @@ - + - frontend + Admisión
diff --git a/front/public/1.jpg b/front/public/1.jpg new file mode 100644 index 0000000..8be3ebf Binary files /dev/null and b/front/public/1.jpg differ diff --git a/front/public/2.jpg b/front/public/2.jpg new file mode 100644 index 0000000..e5ca83b Binary files /dev/null and b/front/public/2.jpg differ diff --git a/front/public/PORTADA.jpg.jpeg b/front/public/PORTADA.jpg.jpeg new file mode 100644 index 0000000..3564490 Binary files /dev/null and b/front/public/PORTADA.jpg.jpeg differ diff --git a/front/public/PORTADAXD.jpg.jpeg b/front/public/PORTADAXD.jpg.jpeg new file mode 100644 index 0000000..a2ff101 Binary files /dev/null and b/front/public/PORTADAXD.jpg.jpeg differ diff --git a/front/public/favicon.ico b/front/public/favicon.ico new file mode 100644 index 0000000..756b3ed Binary files /dev/null and b/front/public/favicon.ico differ diff --git a/front/src/components/WebPage.vue b/front/src/components/WebPage.vue index fb08d37..2a69d6a 100644 --- a/front/src/components/WebPage.vue +++ b/front/src/components/WebPage.vue @@ -11,7 +11,7 @@ - + @@ -19,6 +19,7 @@ + diff --git a/front/src/components/WebPageSections/ContactSection.vue b/front/src/components/WebPageSections/ContactSection.vue index 3119d59..ba0d0bb 100644 --- a/front/src/components/WebPageSections/ContactSection.vue +++ b/front/src/components/WebPageSections/ContactSection.vue @@ -1,139 +1,171 @@ - - - \ No newline at end of file + diff --git a/front/src/components/WebPageSections/ConvocatoriasSection.vue b/front/src/components/WebPageSections/ConvocatoriasSection.vue index cbd2116..56fa3ff 100644 --- a/front/src/components/WebPageSections/ConvocatoriasSection.vue +++ b/front/src/components/WebPageSections/ConvocatoriasSection.vue @@ -140,51 +140,53 @@
- + +
-

CEPREUNA

+

Extraordinario

30 de enero

- FINALIZADO + Finalizado
-

Postulantes del CEPRE

+

+ Modalidad extraordinaria para perfiles específicos +

-
@@ -204,7 +206,7 @@ :key="detalle.id" style="margin-bottom: 25px" > -

{{ detalle.titulo_detalle }}

+

{{ detalle.descripcion }} diff --git a/front/src/components/WebPageSections/HeroSection.vue b/front/src/components/WebPageSections/HeroSection.vue index 71b5cab..9d30cf3 100644 --- a/front/src/components/WebPageSections/HeroSection.vue +++ b/front/src/components/WebPageSections/HeroSection.vue @@ -1,15 +1,16 @@ diff --git a/front/src/router/index.js b/front/src/router/index.js index 60198d2..84b9e0f 100644 --- a/front/src/router/index.js +++ b/front/src/router/index.js @@ -2,6 +2,7 @@ import { createRouter, createWebHistory } from 'vue-router' import Login from '../views/Login.vue' import WebPage from '../components/WebPage.vue' +import NotFound from '../views/NotFound.vue' import { useUserStore } from '../store/user' import { useAuthStore as usePostulanteStore } from '../store/postulanteStore' @@ -18,6 +19,12 @@ const routes = [ meta: { guest: true }, }, + { + path: '/:pathMatch(.*)*', + name: 'NotFound', + component: NotFound + }, + { path: '/resultados', name: 'Resultados', diff --git a/front/src/views/NotFound.vue b/front/src/views/NotFound.vue new file mode 100644 index 0000000..0b894d3 --- /dev/null +++ b/front/src/views/NotFound.vue @@ -0,0 +1,124 @@ + + + + + diff --git a/front/src/views/postulante/LoginView.vue b/front/src/views/postulante/LoginView.vue index f06d526..f196383 100644 --- a/front/src/views/postulante/LoginView.vue +++ b/front/src/views/postulante/LoginView.vue @@ -138,60 +138,69 @@ - - -

-
- Universidad Nacional del Altiplano – Puno - - - {{ isRegister ? "Registro de Postulante" : "Portal del Postulante" }} - - - - {{ - isRegister - ? "Crea tu cuenta para iniciar tu inscripción al proceso de admisión." - : "Inicia sesión para continuar tu inscripción y consultar tu estado." - }} - -
- -
-
- {{ isRegister ? "Al registrarte podrás" : "Al ingresar podrás" }} -
- -
-
- - Completar tu postulación (modalidad, sede y programa). -
- -
- - Subir requisitos y revisar observaciones. + + +
+
+ Universidad Nacional del Altiplano – Puno + + + {{ isRegister ? "Registro de Postulante" : "Portal del Postulante" }} + + + + {{ + isRegister + ? "Crea tu cuenta para participar en el proceso de admisión y acceder a todos los servicios del portal." + : "Ingresa al portal para gestionar tu inscripción, revisar procesos disponibles y rendir un test de referencia." + }} +
-
- - Ver comunicados y resultados del proceso. +
+
+ {{ isRegister ? "Al registrarte podrás" : "Al ingresar podrás" }} +
+ +
+ +
+ + Rendir un test de referencia. +
+
+ + Ver procesos disponibles según tu modalidad. +
+ + + +
+ + Consultar tu estado de inscripción y seguimiento del proceso. +
+ + + +
+ + Revisar comunicados oficiales del proceso de admisión. +
+
-
- - Consultar tu estado de inscripción/admisión. +
+ + Plataforma oficial de admisión • Soporte en horario institucional +
-
+ + -
- - Soporte: Mesa de ayuda • Atención en horario institucional - -
-
-
diff --git a/front/src/views/postulante/MisProcesos.vue b/front/src/views/postulante/MisProcesos.vue index 1530c29..a7c652e 100644 --- a/front/src/views/postulante/MisProcesos.vue +++ b/front/src/views/postulante/MisProcesos.vue @@ -1,14 +1,20 @@