From 59fc7a0a5b28068002f62749502f7eaa1871c055 Mon Sep 17 00:00:00 2001 From: Stas Medvedev Date: Tue, 11 Jun 2024 00:43:21 +0300 Subject: =?UTF-8?q?=D0=9D=D0=B0=D0=BA=D0=B8=D0=B4=D0=B0=D0=BB=20html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/index.html | 90 +++++++--------------------------------- templates/partials/about.html | 36 ++++++++++++++++ templates/partials/avatars.html | 29 +++++++++++++ templates/partials/header.html | 5 +++ templates/partials/palette.html | 7 ++++ templates/partials/services.html | 14 +++++++ templates/style.css | 57 +++++++++++++++++++++++++ 7 files changed, 163 insertions(+), 75 deletions(-) create mode 100644 templates/partials/about.html create mode 100644 templates/partials/avatars.html create mode 100644 templates/partials/header.html create mode 100644 templates/partials/palette.html create mode 100644 templates/partials/services.html create mode 100644 templates/style.css (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index 6d05087..87145fd 100644 --- a/templates/index.html +++ b/templates/index.html @@ -9,7 +9,13 @@ href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap" rel="stylesheet" /> - + + Document - -
-
- yetsam.ru -
- -
-
-
-

Привет, меня зовут Стас

-

Я вычислил тебя по ip: {{client_geo['query']}}

- - {% if 'city' in client_geo %} -

{{client_geo['country']}}

-

{{client_geo['city']}}

- {% endif %} -
+ + {% include 'partials/palette.html' %} -
-
-
Slide 1
-
Slide 2
-
Slide 3
-
+ {% include 'partials/header.html' %} -
-
-
-
+ {% include 'partials/about.html' %} - - diff --git a/templates/partials/about.html b/templates/partials/about.html new file mode 100644 index 0000000..b53a127 --- /dev/null +++ b/templates/partials/about.html @@ -0,0 +1,36 @@ +
+

Привет, меня зовут Стас

+

+ Я + + backend + + + разработчик +

+

+ В основном пишу на + python +

+

Вычислил тебя по ip: {{client_geo['query']}}

+ + {% if 'city' in client_geo %} +

{{client_geo['country']}}

+

{{client_geo['city']}}

+ {% endif %} +

+ (Шутка в том что такая возможность есть у любого сайта) +

+
diff --git a/templates/partials/avatars.html b/templates/partials/avatars.html new file mode 100644 index 0000000..fd2c247 --- /dev/null +++ b/templates/partials/avatars.html @@ -0,0 +1,29 @@ +
+
+
+ {% for url in avatar_urls %} + + {% endfor %} +
+ +
+
+
+
+ + + diff --git a/templates/partials/header.html b/templates/partials/header.html new file mode 100644 index 0000000..83fb77a --- /dev/null +++ b/templates/partials/header.html @@ -0,0 +1,5 @@ +
+ yetsam.ru +
\ No newline at end of file diff --git a/templates/partials/palette.html b/templates/partials/palette.html new file mode 100644 index 0000000..6efa551 --- /dev/null +++ b/templates/partials/palette.html @@ -0,0 +1,7 @@ +
+
+
+
+
+
+
\ No newline at end of file diff --git a/templates/partials/services.html b/templates/partials/services.html new file mode 100644 index 0000000..8209cc0 --- /dev/null +++ b/templates/partials/services.html @@ -0,0 +1,14 @@ +
+

Так же на этом сервере:

+ +
\ No newline at end of file diff --git a/templates/style.css b/templates/style.css new file mode 100644 index 0000000..6e43c21 --- /dev/null +++ b/templates/style.css @@ -0,0 +1,57 @@ +@tailwind base; +@tailwind components; + +:root { + --color-primary-500: #d946ef; + --color-secondary-500: #14b8a6; + --color-complementary-yellow-400: #facc15; + --color-complementary-rose-500: #f43f5e; + --color-complementary-blue-500: #3b82f6; +} +.primary { + background-color: var(--color-primary-500); +} +.secondary { + background-color: var(--color-secondary-500); +} +.complementary-yellow { + background-color: var(--color-complementary-yellow-400); +} +.complementary-rose { + background-color: var(--color-complementary-rose-500); +} +.complementary-blue { + background-color: var(--color-complementary-blue-500); +} +.color-box { + width: 100px; + height: 100px; + margin: 10px; + display: inline-block; +} +div { + @apply rounded-md; +} +.text-interactive { + @apply text-secondary-500 hover:text-fuchsia-600; +} +.header { + @apply w-2/3 bg-primary-300 flex p-2; +} +.about { + @apply border-4 border-fuchsia-200 border-dashed p-2 justify-items-center; +} +.about p { + @apply text-2xl; +} +.about li a { + @apply underline decoration-secondary-500 hover:decoration-primary-400; +} +.source-code-pro-500 { + font-family: "Source Code Pro", monospace; + font-optical-sizing: auto; + font-weight: 500; + font-style: normal; +} + +@tailwind utilities; -- cgit v1.2.3