diff --git a/assets/css/app.scss b/assets/css/app.scss index 917742a..92eea0c 100644 --- a/assets/css/app.scss +++ b/assets/css/app.scss @@ -962,10 +962,32 @@ $links: ( } .card { - transition: transform .2s; + transition: transform .2s, background .2s, border .2s; + + &:nth-child(2n+1) { + background-image: url(../images/halloween/spider.svg) !important; + background-repeat: no-repeat !important; + background-position: calc(100% - 10px) 100px !important; + } + + &:nth-child(2n+2) { + background-image: url(../images/halloween/spider.svg) !important; + background-repeat: no-repeat !important; + background-position: calc(100% - 10px) 100px !important; + } &:hover { transform: scale(1.02); + background: $color-blue2; + background-position: calc(100% - 10px) 150px !important; + + img { + border-bottom: 2px solid #333; + } + + .card-title, .card-title a, p { + color: #fff; + } } figure { diff --git a/assets/css/app/config.scss b/assets/css/app/config.scss index 9ed0c22..076255c 100644 --- a/assets/css/app/config.scss +++ b/assets/css/app/config.scss @@ -12,7 +12,8 @@ $color-red: #b02e2a; $code-color: $color-blue; -$color-navigation-item-background: darken($color-dark-grey, 8%); +//$color-navigation-item-background: darken($color-dark-grey, 8%); +$color-navigation-item-background: darken($color-blue2, 8%); $color-navigation-item-background-active: lighten($color-dark-grey, 10%); $color-small-menu-background: $color-dark-grey; diff --git a/assets/images/halloween/spider.svg b/assets/images/halloween/spider.svg new file mode 100644 index 0000000..043a200 --- /dev/null +++ b/assets/images/halloween/spider.svg @@ -0,0 +1,390 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bin/messenger b/bin/messenger index 8e7a568..84adc64 100755 --- a/bin/messenger +++ b/bin/messenger @@ -22,7 +22,7 @@ help() { -l debug|info|notice|warning|error Debug level - -a start|stop|restart + -a start|stop|restart|status EOH } @@ -35,6 +35,7 @@ on_interrupt() { start_messenger() { nohup php8.1 bin/console messenger:consume 2>/dev/null >/dev/null & + log -t -l notice "Started" } stop_messenger() { @@ -42,6 +43,10 @@ stop_messenger() { log -t -l notice "Stopped" } +get_pid() { + pgrep -f messenger:consume +} + main() { cd "$(dirname "0")" @@ -63,8 +68,10 @@ main() { elif [ "$ACTION" = "restart" ]; then stop_messenger start_messenger + elif [ "$ACTION" = "status" ]; then + get_pid else - log -l error "Action no defined." + log -l error "Action is required." fi exit 0 diff --git a/templates/page/simple/projects.html.twig b/templates/page/simple/projects.html.twig index f7e464a..64f7d23 100644 --- a/templates/page/simple/projects.html.twig +++ b/templates/page/simple/projects.html.twig @@ -13,9 +13,9 @@ -
- {% for project in projects %} -
+
+ {% for project in projects %} +
{% if project.image %}
{{ project.label }} @@ -32,8 +32,8 @@ {{- link.label -}} {% endfor %} -
-
+
+
{% endfor %}