summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--readme.md21
-rw-r--r--static/style.css10
-rw-r--r--templates/partials/code/index.html5
3 files changed, 21 insertions, 15 deletions
diff --git a/readme.md b/readme.md
index 7e944af..a71a11e 100644
--- a/readme.md
+++ b/readme.md
@@ -1,17 +1,10 @@
-# Портфоли
+# Сайт визитка
-Выбрал cgit как средство отображения по тому что ему надо очень мало реcурсов
+Выбрал cgit как средство отображения системы контроля версий по тому что ему надо очень мало реcурсов
+# Запуск
```
-npx tailwindcss -i ./templates/style.css -o ./static/style.css --watch
-
-```
-# run
-```
-docker run -itd \
- --name yetsam \
- --restart always \
- -p 8000:8000 \
- -v ./static:/app/static \
- yetsam
-```
+git clone https://dev.yetsam.ru/yetsam.git
+cd ./yetsam
+docker compose up -d
+``` \ No newline at end of file
diff --git a/static/style.css b/static/style.css
index d688eec..4533793 100644
--- a/static/style.css
+++ b/static/style.css
@@ -871,6 +871,11 @@ div {
color: rgb(161 161 170 / var(--tw-text-opacity));
}
+.text-neutral-700 {
+ --tw-text-opacity: 1;
+ color: rgb(64 64 64 / var(--tw-text-opacity));
+}
+
.underline {
text-decoration-line: underline;
}
@@ -916,6 +921,11 @@ div {
color: rgb(82 82 91 / var(--tw-text-opacity));
}
+.hover\:text-secondary-900:hover {
+ --tw-text-opacity: 1;
+ color: rgb(24 24 27 / var(--tw-text-opacity));
+}
+
.group:hover .group-hover\:inline-block {
display: inline-block;
}
diff --git a/templates/partials/code/index.html b/templates/partials/code/index.html
index 9b39e59..8c718a2 100644
--- a/templates/partials/code/index.html
+++ b/templates/partials/code/index.html
@@ -2,10 +2,13 @@
<div class="flex flex-wrap p-2">
<p class="w-full md:w-min text-nowrap m-auto">Python 3.10 (sandbox)</p>
<a
- href="https://cgit.yetsam.ru/yetsam.git"
+ href="https://cgit.yetsam.ru/yetsam.git/tree/readme.md"
class="text-neutral-400 underline hover:text-secondary-600 decoration-secondary-600 w-full md:w-min text-nowrap m-auto">
go to source code (click me)
</a>
+ <p href=""
+ class="text-neutral-700 hover:text-secondary-900 decoration-secondary-600 w-full md:w-min text-nowrap m-auto text-sm">
+ git clone https://dev.yetsam.ru/yetsam.git</p>
</div>