diff --git a/smartsoltech/smartsoltech/settings.py b/smartsoltech/smartsoltech/settings.py index f04cb0e..92c6a94 100644 --- a/smartsoltech/smartsoltech/settings.py +++ b/smartsoltech/smartsoltech/settings.py @@ -82,8 +82,12 @@ WSGI_APPLICATION = 'smartsoltech.wsgi.application' DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': BASE_DIR / 'db.sqlite3', + 'ENGINE': 'django.db.backends.postgresql', + 'NAME': os.getenv('POSTGRES_DB'), + 'USER': os.getenv('POSTGRES_USER'), + 'PASSWORD': os.getenv('POSTGRES_PASSWORD'), + 'HOST': os.getenv('POSTGRES_HOST'), # Имя сервиса контейнера базы данных в docker-compose.yml + 'PORT': 5432, } } @@ -149,7 +153,7 @@ JAZZMIN_SETTINGS = { "site_title": "Smartsoltech Admin", "site_header": "Smartsoltech", "welcome_sign": "Добро пожаловать в панель управления Smartsoltech", - "site_logo": "static/img/logo.svg", + "site_logo": "img/logo.svg", "search_model": "web.Client", "user_avatar": "web.Client.image", "topmenu_links": [ diff --git a/smartsoltech/static/img/1.png b/smartsoltech/static/img/1.png new file mode 100644 index 0000000..32740b6 Binary files /dev/null and b/smartsoltech/static/img/1.png differ diff --git a/smartsoltech/static/img/10.png b/smartsoltech/static/img/10.png new file mode 100644 index 0000000..176a92b Binary files /dev/null and b/smartsoltech/static/img/10.png differ diff --git a/smartsoltech/static/img/11.png b/smartsoltech/static/img/11.png new file mode 100644 index 0000000..37b04d2 Binary files /dev/null and b/smartsoltech/static/img/11.png differ diff --git a/smartsoltech/static/img/12.png b/smartsoltech/static/img/12.png new file mode 100644 index 0000000..2218ae3 Binary files /dev/null and b/smartsoltech/static/img/12.png differ diff --git a/smartsoltech/static/img/13.png b/smartsoltech/static/img/13.png new file mode 100644 index 0000000..2de0305 Binary files /dev/null and b/smartsoltech/static/img/13.png differ diff --git a/smartsoltech/static/img/2.png b/smartsoltech/static/img/2.png new file mode 100644 index 0000000..0a9886b Binary files /dev/null and b/smartsoltech/static/img/2.png differ diff --git a/smartsoltech/static/img/3.png b/smartsoltech/static/img/3.png new file mode 100644 index 0000000..6d3886a Binary files /dev/null and b/smartsoltech/static/img/3.png differ diff --git a/smartsoltech/static/img/4.png b/smartsoltech/static/img/4.png new file mode 100644 index 0000000..1b25a9a Binary files /dev/null and b/smartsoltech/static/img/4.png differ diff --git a/smartsoltech/static/img/5.png b/smartsoltech/static/img/5.png new file mode 100644 index 0000000..e5302ff Binary files /dev/null and b/smartsoltech/static/img/5.png differ diff --git a/smartsoltech/static/img/6.png b/smartsoltech/static/img/6.png new file mode 100644 index 0000000..97c90d4 Binary files /dev/null and b/smartsoltech/static/img/6.png differ diff --git a/smartsoltech/static/img/7.png b/smartsoltech/static/img/7.png new file mode 100644 index 0000000..fb47c17 Binary files /dev/null and b/smartsoltech/static/img/7.png differ diff --git a/smartsoltech/static/img/8.png b/smartsoltech/static/img/8.png new file mode 100644 index 0000000..c0f357b Binary files /dev/null and b/smartsoltech/static/img/8.png differ diff --git a/smartsoltech/static/img/9.png b/smartsoltech/static/img/9.png new file mode 100644 index 0000000..59d068d Binary files /dev/null and b/smartsoltech/static/img/9.png differ diff --git a/smartsoltech/static/img/logo.svg b/smartsoltech/static/img/logo.svg new file mode 100644 index 0000000..8c68c00 --- /dev/null +++ b/smartsoltech/static/img/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/smartsoltech/web/templates/web/footer.html b/smartsoltech/web/templates/web/footer.html index d34fd37..0fd0dd6 100644 --- a/smartsoltech/web/templates/web/footer.html +++ b/smartsoltech/web/templates/web/footer.html @@ -4,8 +4,8 @@
-
Company Name
-

Here you can use rows and columns to organize your footer content. Lorem ipsum dolor sit amet, consectetur adipisicing elit.

+
SmartSolTech
+

Future begins here...

Products
@@ -15,7 +15,7 @@

Product 4

-
Useful Links
+
Usefu links:

Your Account

Become an Affiliate

Shipping Rates

@@ -23,16 +23,15 @@
Contact
-

123 Street, City, State

-

info@example.com

-

+ 01 234 567 88

-

+ 01 234 567 89

+

Gwangju-si Cheollanam-do, Republic of Korea

+

a.choi@smartsoltech.kr

+

+ 8 (210) 5693 6103


-

© 2024 Company Name. All rights reserved.

+

© 2024 SmartSolTech. All rights reserved.

diff --git a/smartsoltech/web/templates/web/navbar.html b/smartsoltech/web/templates/web/navbar.html index 4da5cbc..4e0f0c0 100644 --- a/smartsoltech/web/templates/web/navbar.html +++ b/smartsoltech/web/templates/web/navbar.html @@ -8,7 +8,7 @@
diff --git a/smartsoltech/web/urls.py b/smartsoltech/web/urls.py index d72546c..e97a82e 100644 --- a/smartsoltech/web/urls.py +++ b/smartsoltech/web/urls.py @@ -12,7 +12,7 @@ urlpatterns = [ path('blog//', views.blog_post_detail, name='blog_post_detail'), path('services/', views.services_view, name='services'), path('create_order//', views.create_order, name='create_order'), - path('about', views.about_view, name="about_view"), + path('about/', views.about_view, name="about_view"), ] if settings.DEBUG: urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) \ No newline at end of file