diff options
author | Stas Medvedev <medvedevsa97@gmail.com> | 2024-06-11 02:58:35 +0300 |
---|---|---|
committer | Stas Medvedev <medvedevsa97@gmail.com> | 2024-06-11 02:58:35 +0300 |
commit | 888de0a90ae0e04ea9e20063d9a6cbfa9a20e9e0 (patch) | |
tree | ec270ebbc4e6b2cb8b59e0c3d830881bd9b3f2f4 /templates/partials/about.html | |
parent | fc29744db8eba827802bdb5c5932f91ae79ea152 (diff) |
Адаптивка, поиграл с дизайном
Diffstat (limited to 'templates/partials/about.html')
-rw-r--r-- | templates/partials/about.html | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/templates/partials/about.html b/templates/partials/about.html index b53a127..e077043 100644 --- a/templates/partials/about.html +++ b/templates/partials/about.html @@ -1,4 +1,4 @@ -<div class="about relative"> +<div class="about relative text-center"> <p>Привет, меня зовут Стас</p> <p> Я @@ -22,15 +22,22 @@ В основном пишу на <a href="https://python.org" class="text-interactive">python</a> </p> - <p>Вычислил тебя по ip: {{client_geo['query']}}</p> + <div class="gap-2 flex flex-wrap text-2xl my-2"> + <p class="w-full "> + Уже вычислил тебя по ip: + </p> + <div class="w-full flex flex-row justify-around"> + <span>😎</span> + <a class="block text-center underline decoration-primary-300" href="https://ip-api.com"> + {{client_geo['query']}} + </a> + <span>😎</span> + {% if 'city' in client_geo %} + <p>{{client_geo['country']}}</p> + <p>{{client_geo['city']}}</p> + {% endif %} + </div> + + </div> - {% if 'city' in client_geo %} - <p>{{client_geo['country']}}</p> - <p>{{client_geo['city']}}</p> - {% endif %} - <p> - <span class="text-sm" - >(Шутка в том что такая возможность есть у любого сайта)</span - > - </p> </div> |