From 859d5b88bcbc7ae616d496347fd3a16197c8eb20 Mon Sep 17 00:00:00 2001 From: Jose Date: Sun, 15 Feb 2026 22:54:58 +0100 Subject: [PATCH] Basic web structure --- index-orig.html | 415 +++++++++++++++++++++++++ index.html | 2 +- src/App.jsx | 30 +- src/components/AnimatedDropend.jsx | 122 -------- src/components/Auth/LoginForm.jsx | 14 +- src/components/Auth/PasswordInput.jsx | 2 +- src/components/CustomContainer.jsx | 2 +- src/components/Footer.jsx | 60 +--- src/components/Header.jsx | 21 +- src/components/Home/AboutMeSection.jsx | 23 ++ src/components/Home/SamplesSection.jsx | 29 ++ src/components/Home/StartSection.jsx | 22 ++ src/components/Home/VoxSection.jsx | 24 ++ src/components/NavBar.jsx | 133 -------- src/components/NavBar/NavBar.jsx | 36 +++ src/components/NavBar/NavItem.jsx | 15 + src/components/SearchToolbar.jsx | 43 --- src/components/TechCard.jsx | 9 + src/components/ThemeButton.jsx | 18 -- src/context/AuthContext.jsx | 105 ++++++- src/context/DataContext.jsx | 4 +- src/context/ErrorContext.jsx | 40 +++ src/context/ThemeContext.jsx | 31 -- src/css/AnimatedDropdown.css | 40 ++- src/css/Building.css | 51 --- src/css/Footer.css | 157 +--------- src/css/Header.css | 61 ++-- src/css/Home.css | 0 src/css/LoginForm.css | 95 +++--- src/css/NavBar.css | 74 ++--- src/css/TechCard.css | 31 ++ src/css/ThemeButton.css | 61 ---- src/css/index.css | 357 +++++++++------------ src/hooks/useAuth.js | 2 +- src/hooks/useConfig.js | 2 +- src/hooks/useData.js | 172 +++++----- src/hooks/useDataContext.js | 2 +- src/hooks/useSessionRenewal.jsx | 103 ------ src/hooks/useTheme.js | 10 - src/main.jsx | 15 +- src/pages/Building.jsx | 17 - src/pages/Home.jsx | 28 +- src/pages/Login.jsx | 9 + src/util/alertHelpers.jsx | 15 - src/util/array.js | 5 + src/util/parsers/dateParser.js | 30 -- src/util/parsers/errorParser.js | 10 - src/util/passwordGenerator.js | 29 -- src/util/tokenUtils.js | 7 - 49 files changed, 1185 insertions(+), 1398 deletions(-) create mode 100644 index-orig.html delete mode 100644 src/components/AnimatedDropend.jsx create mode 100644 src/components/Home/AboutMeSection.jsx create mode 100644 src/components/Home/SamplesSection.jsx create mode 100644 src/components/Home/StartSection.jsx create mode 100644 src/components/Home/VoxSection.jsx delete mode 100644 src/components/NavBar.jsx create mode 100644 src/components/NavBar/NavBar.jsx create mode 100644 src/components/NavBar/NavItem.jsx delete mode 100644 src/components/SearchToolbar.jsx create mode 100644 src/components/TechCard.jsx delete mode 100644 src/components/ThemeButton.jsx create mode 100644 src/context/ErrorContext.jsx delete mode 100644 src/context/ThemeContext.jsx delete mode 100644 src/css/Building.css delete mode 100644 src/css/Home.css create mode 100644 src/css/TechCard.css delete mode 100644 src/css/ThemeButton.css delete mode 100644 src/hooks/useSessionRenewal.jsx delete mode 100644 src/hooks/useTheme.js delete mode 100644 src/pages/Building.jsx create mode 100644 src/pages/Login.jsx delete mode 100644 src/util/alertHelpers.jsx create mode 100644 src/util/array.js delete mode 100644 src/util/parsers/dateParser.js delete mode 100644 src/util/parsers/errorParser.js delete mode 100644 src/util/passwordGenerator.js delete mode 100644 src/util/tokenUtils.js diff --git a/index-orig.html b/index-orig.html new file mode 100644 index 0000000..8238ad8 --- /dev/null +++ b/index-orig.html @@ -0,0 +1,415 @@ + + + + + +Adeptus Miniaturium | Sanctus Painting + + + + + + +
+

Adeptus Miniaturium

+

Sanctificando Plástico para la Gloria del Imperio

+
+ + + +
+

+++ Inicializando Lógica +++

+
+

// PENSAMIENTO DEL DÍA: LA ESPERANZA ES EL PRIMER PASO HACIA LA DECEPCIÓN.

+
+

Bienvenido al manufactorum personal del Artífice Marcos. Aquí, las miniaturas grises son purgadas de su falta de color y bendecidas con pigmentos sagrados, lavados de Nuln Oil y pincel seco ritual.

+

No pintamos juguetes. Forjamos veteranos de la Larga Guerra.

+
+ Iniciar Protocolo de Encargo +
+
+ +
+

+++ Archivos de Batalla +++

+
+
+
+ +
+
Muestra A-1: Astartes Pattern
+
+
+
+ +
+
Muestra B-2: Engine War
+
+
+
+ +
+
Muestra C-3: Xenos Filth
+
+
+
+ +
+

+++ Súplica al Manufactorum +++

+
+

Rellena los datos para solicitar la atención del Artífice. Sé preciso, el tiempo es un recurso limitado del Emperador.

+
+ + + + +
+
+
+ +
+

+++ Archivo: Magos Marcos +++

+
+
+
+

[ESTADO]: Operativo
+ [UBICACIÓN]: Sector Baeticus (Andalucía)
+ [ESPECIALIDAD]: Grimdark Realista, Weathering pesado, OSL.

+

Marcos no pinta para que queden bonitos en la estantería. Pinta para que parezca que tus muñecos han sobrevivido a un bombardeo orbital en Istvaan V. Aquí hay barro, sangre y oscuridad.

+
+
+
+
+ + + + + \ No newline at end of file diff --git a/index.html b/index.html index 187faa0..5598d3b 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - + Adeptus Miniaturium
diff --git a/src/App.jsx b/src/App.jsx index abdbbef..b73f02f 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,28 +1,22 @@ -import Header from '@/components/Header.jsx'; -import NavBar from '@/components/NavBar.jsx'; -import Footer from '@/components/Footer.jsx'; -import { Route, Routes, useLocation } from 'react-router-dom' -import ProtectedRoute from '@/components/Auth/ProtectedRoute.jsx' -import useSessionRenewal from '@/hooks/useSessionRenewal' -import { CONSTANTS } from '@/util/constants' - -import Home from '@/pages/Home.jsx' -import Building from '@/pages/Building.jsx' - -function App() { - const routesWithFooter = ["/"]; +import Footer from '@/components/Footer' +import Header from '@/components/Header' +import NavBar from '@/components/NavBar/NavBar' +import Home from '@/pages/Home' +import { Route, Routes } from 'react-router-dom' +import Login from './pages/Login' +const App = () => { return ( <>
- } /> - } /> + } /> + } /> - {routesWithFooter.includes(useLocation().pathname) ?