diff --git a/catalog.html b/catalog.html index e69de29..00bc7cb 100644 --- a/catalog.html +++ b/catalog.html @@ -0,0 +1,176 @@ + + + + + + Meow + + + + + +
+

Каталог

+
+
+
+
Thumbnail
+
+

This is a wider card with supporting text below as a natural lead-in to + additional content. This content is a little bit longer.

+
+ View + Edit +
+
+ 9 mins +
+
+
+
+
+
+
Thumbnail
+
+

This is a wider card with supporting text below as a natural lead-in to + additional content. This content is a little bit longer.

+
+ View + Edit +
+
+ 9 mins +
+
+
+
+
+
+
Thumbnail
+
+

This is a wider card with supporting text below as a natural lead-in to + additional content. This content is a little bit longer.

+
+ View + Edit +
+
+ 9 mins +
+
+
+
+
+
+
Thumbnail
+
+

This is a wider card with supporting text below as a natural lead-in to + additional content. This content is a little bit longer.

+
+ View + Edit +
+
+ 9 mins +
+
+
+
+
+
+ 👤 +
+
+ Профиль + Выход +
+
+ + + \ No newline at end of file diff --git a/contacts.html b/contacts.html index e69de29..03bc49b 100644 --- a/contacts.html +++ b/contacts.html @@ -0,0 +1,132 @@ + + + + + + Meow + + + + + +
+

Контакты

+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
+ +
+
+
+
+ 👤 +
+
+ Профиль + Выход +
+ + \ No newline at end of file diff --git a/home.html b/home.html index e69de29..298c0bf 100644 --- a/home.html +++ b/home.html @@ -0,0 +1,135 @@ + + + + + + Меню + + + + + + +
+

Главная

+

Вы находитесь на сайте, предназначенном для продажи товаров.

+
+
+
+
+
Товар 1
+

$100

+

10 users, 2 GB storage

+ Купить +
+
+
+
+
+
+
Товар 1
+

$100

+

10 users, 2 GB storage

+ Купить +
+
+
+
+
+
+
Товар 1
+

$100

+

10 users, 2 GB storage

+ Купить +
+
+
+
+
+
+ 👤 +
+
+ Профиль + Выход +
+ + \ No newline at end of file diff --git a/main.py b/main.py index e69de29..e2dfcb5 100644 --- a/main.py +++ b/main.py @@ -0,0 +1,18 @@ +import http.server +import requests + +PORT = 8000 +HTML_URL = "https://raw.githubusercontent.com/Sh1ra0ri/PythonProject4/main/contacts.html" + +# Загружаем HTML +HTML = requests.get(HTML_URL).text + +class Handler(http.server.BaseHTTPRequestHandler): + def do_GET(self): + self.send_response(200) + self.send_header("Content-Type", "text/html; charset=utf-8") + self.end_headers() + self.wfile.write(HTML.encode("utf-8")) + +# noinspection PyTypeChecker +http.server.ThreadingHTTPServer(("", PORT), Handler).serve_forever() \ No newline at end of file diff --git a/orders.html b/orders.html index e69de29..7c139f9 100644 --- a/orders.html +++ b/orders.html @@ -0,0 +1,181 @@ + + + + + + Meow + + + + + +
+

Заказы

+

Вы находитесь на сайте, предназначенном для продажи товаров.

+
+
+
+
+
Товар 1
+

$100

+

10 users included, 2 GB of storage

+

Email support, Help center access

+ Купить +
+
+
+
+
+
+
Товар 2
+

$100

+

10 users included, 2 GB of storage

+

Email support, Help center access

+ Купить +
+
+
+
+
+
+
Товар 3
+

$100

+

10 users included, 2 GB of storage

+

Email support, Help center access

+ Купить +
+
+
+
+
+
+
Товар 4
+

$100

+

10 users included, 2 GB of storage

+

Email support, Help center access

+ Купить +
+
+
+
+
+
+
Товар 5
+

$100

+

10 users included, 2 GB of storage

+

Email support, Help center access

+ Купить +
+
+
+
+
+
+
Товар 6
+

$100

+

10 users included, 2 GB of storage

+

Email support, Help center access

+ Купить +
+
+
+
+ 👤 +
+ +
+ +
+ + \ No newline at end of file