amic 11 місяців тому
батько
коміт
e11ebc4b34

+ 1 - 1
views/_etc/header.php

@@ -43,7 +43,7 @@ $temp = Informers::GetTemperature();
             <div class="header-bottom container">
                 <div class="header-bottom__wrapper section-wrapper">
                     <main class="header-bottom__main">
-                        <div class="header-bottom__logo"><a href="/" class="header-bottom__logo-link"><img src="/img/amic-logo.svg" width="91" height="28" alt="logo"></a><a href="/story/new_year_2024" class="header-bottom__logo-link"><img src="/img/drgsm.png" width="32" height="32" alt="logo_drg"></a></div>
+                        <div class="header-bottom__logo"><a href="/" class="header-bottom__logo-link"><img src="/img/amic-logo.svg" width="91" height="28" alt="logo"></a></div>
                         <div class="header-bottom__nav">
                             <nav class="header-nav">
                                 <ul class="header-nav__list">

+ 1 - 1
views/layouts/lenta/countdown.php

@@ -2,7 +2,7 @@
 
 $this->registerJs(
 <<<JS
-const deadline = new Date(2023, 10, 21, 17, 00, 00);
+const deadline = new Date(2023, 11, 31, 23, 59, 59);
   // id таймера
   let timerId = null;
   // склонение числительных

+ 4 - 4
views/layouts/lenta/lenta.php

@@ -28,14 +28,14 @@ $keyadd = News::keyFilter();
 <div class="count" style="font-size:20px;width:130px;line-height: 24px;"><span class="timer__days"></span><br><span class="timer__hours"></span><br><span class="timer__minutes"></span></div>
 
 */
-/*
+
 $lenta .= '<style>.lenta .list-wrapper .lenta_fix:hover{background:#60b740;}</style>
 <div class="lenta_fix"><h3>
-    <a href="https://%D0%BD%D0%B0%D1%80%D0%BE%D0%B4%D0%BD%D1%8B%D0%B9%D0%B7%D0%BD%D0%B0%D0%BA%D0%BA%D0%B0%D1%87%D0%B5%D1%81%D1%82%D0%B2%D0%B0.%D1%80%D1%84" title="Народный знак качества"><img src="/img/nzk_button.png" width="275px" height="80px" alt="Народный знак качества" style="margin-left: 20px;"></a>
+    <a href="/story/new_year_2024" title="Встречаем год дракона"><img src="/img/drgbtn.png" width="200px" height="80px" alt="Дракон кнопка" style="margin-left: 20px;"></a><div class="count" style="font-size:20px;width:130px;line-height: 24px;"><span class="timer__days"></span><br><span class="timer__hours"></span><br><span class="timer__minutes"></span></div>
 </h3>
 </div>
 ';
-*/
+
         $index = 0;
         foreach (News::findFilter()->andWhere(["(flags & 1)"=>0])->limit(70)->all() as $model){
             $index++;
@@ -57,4 +57,4 @@ $lenta .= '<style>.lenta .list-wrapper .lenta_fix:hover{background:#60b740;}</st
     </div>
 </div>
 <?
-//	$this->render('countdown');
+	$this->render('countdown');

BIN
web/img/drgbtn.png