From d68822b6c6d3a8c21374564499cd52667eab28ad Mon Sep 17 00:00:00 2001 From: 3p1c0w3nd <3p1c0w3nd@gmail.com> Date: Wed, 28 Jan 2026 10:00:02 -0500 Subject: [PATCH 1/6] cambios en about y en contact --- server/djangoproj/settings.py | 8 +- server/djangoproj/urls.py | 2 + server/frontend/static/About.html | 77 +++++++++------ server/frontend/static/Contact.html | 141 ++++++++++++++++++++++++++++ server/frontend/static/person.png | Bin 138137 -> 0 bytes server/frontend/static/person1.png | Bin 0 -> 6224 bytes server/frontend/static/person2.png | Bin 0 -> 15257 bytes server/frontend/static/person3.png | Bin 0 -> 4869 bytes server/frontend/static/style.css | 81 ++++++++-------- 9 files changed, 238 insertions(+), 71 deletions(-) create mode 100644 server/frontend/static/Contact.html delete mode 100644 server/frontend/static/person.png create mode 100644 server/frontend/static/person1.png create mode 100644 server/frontend/static/person2.png create mode 100644 server/frontend/static/person3.png diff --git a/server/djangoproj/settings.py b/server/djangoproj/settings.py index e0b1092a5c..9aa08599d1 100644 --- a/server/djangoproj/settings.py +++ b/server/djangoproj/settings.py @@ -61,7 +61,9 @@ TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', - 'DIRS': [], + 'DIRS': [ + os.path.join(BASE_DIR, 'frontend/static'),#Para que reconosca los archivos estaticos de la aplicacion + ], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ @@ -134,5 +136,7 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' -STATICFILES_DIRS = [] +STATICFILES_DIRS = [ + os.path.join(BASE_DIR, 'frontend/static') +] diff --git a/server/djangoproj/urls.py b/server/djangoproj/urls.py index 6808da9141..6c38c938cf 100644 --- a/server/djangoproj/urls.py +++ b/server/djangoproj/urls.py @@ -23,4 +23,6 @@ path('admin/', admin.site.urls), path('djangoapp/', include('djangoapp.urls')), path('', TemplateView.as_view(template_name="Home.html")), + path('about', TemplateView.as_view(template_name="About.html")), + path('contact', TemplateView.as_view(template_name="Contact.html")), ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) diff --git a/server/frontend/static/About.html b/server/frontend/static/About.html index 484efd960f..42689b3782 100644 --- a/server/frontend/static/About.html +++ b/server/frontend/static/About.html @@ -1,68 +1,85 @@ +
+ +