diff --git a/.htaccess b/.htaccess index 9ae73642..7365954e 100644 --- a/.htaccess +++ b/.htaccess @@ -1,56 +1,64 @@ - - -# BEGIN WClearfyCache -# Modified Time: 18-09-23 0:08:35 - -RewriteEngine On -RewriteBase / -RewriteCond %{HTTP_HOST} ^www.dostavka-vodi-krim.ru [NC] -RewriteRule ^(.*)$ http\:\/\/dostavka\-vodi\-krim\.ru\/$1 [R=301,L] -# Start WCLEARFY Exclude -# End WCLEARFY Exclude -# Start_WCLEARFY_Exclude_Admin_Cookie -RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=gp-admin -# End_WCLEARFY_Exclude_Admin_Cookie -RewriteCond %{HTTP_HOST} ^dostavka-vodi-krim.ru -RewriteCond %{HTTP_USER_AGENT} !() -RewriteCond %{HTTP_USER_AGENT} !(WP\sFastest\sCache\sPreload(\siPhone\sMobile)?\s*Bot) -RewriteCond %{REQUEST_METHOD} !POST -RewriteCond %{HTTPS} !=on -RewriteCond %{REQUEST_URI} !(\/){2}$ -RewriteCond %{REQUEST_URI} \/$ -RewriteCond %{QUERY_STRING} !.+ -RewriteCond %{HTTP:Cookie} !comment_author_ -RewriteCond %{HTTP:Cookie} !safirmobilswitcher=mobil -RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC] -RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or] -RewriteCond /home/a0264400/domains/dostavka-vodi-krim.ru/public_html/wp-content/cache/all/$1/index.html -f -RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L] - - -AddDefaultCharset UTF-8 - -FileETag None -Header unset ETag -Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" -Header set Pragma "no-cache" -Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT" - - -# END WClearfyCache - -# BEGIN WordPress -# Директивы (строки) между `BEGIN WordPress` и `END WordPress` -# созданы автоматически и подлежат изменению только через фильтры WordPress. -# Сделанные вручную изменения между этими маркерами будут перезаписаны. - -RewriteEngine On -RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] -RewriteBase / -RewriteRule ^index\.php$ - [L] -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule . /index.php [L] - - -# END WordPress +# BEGIN HTTPS + WWW REDIRECT + +RewriteEngine On +RewriteBase / + +RewriteCond %{HTTP_HOST} ^www\.dostavka-vodi-krim\.ru$ [NC,OR] +RewriteCond %{HTTPS} !=on +RewriteCond %{HTTP:X-Forwarded-Proto} !https [NC] +RewriteRule ^(.*)$ https://dostavka-vodi-krim.ru/$1 [R=301,L] + +# END HTTPS + WWW REDIRECT + +# BEGIN WClearfyCache +# Modified Time: 18-09-23 0:08:35 + +RewriteEngine On +RewriteBase / + +# Start WCLEARFY Exclude +# End WCLEARFY Exclude + +# Start_WCLEARFY_Exclude_Admin_Cookie +RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=gp-admin +# End_WCLEARFY_Exclude_Admin_Cookie + +RewriteCond %{HTTP_HOST} ^dostavka-vodi-krim.ru$ [NC] +RewriteCond %{HTTP_USER_AGENT} !() +RewriteCond %{HTTP_USER_AGENT} !(WP\sFastest\sCache\sPreload(\siPhone\sMobile)?\s*Bot) +RewriteCond %{REQUEST_METHOD} !POST +RewriteCond %{HTTPS} !=on +RewriteCond %{REQUEST_URI} !(\/){2}$ +RewriteCond %{REQUEST_URI} \/$ +RewriteCond %{QUERY_STRING} !.+ +RewriteCond %{HTTP:Cookie} !comment_author_ +RewriteCond %{HTTP:Cookie} !safirmobilswitcher=mobil +RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC] +RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [OR] +RewriteCond /home/a0264400/domains/dostavka-vodi-krim.ru/public_html/wp-content/cache/all/$1/index.html -f +RewriteRule ^(.*)$ /wp-content/cache/all/$1/index.html [L] + + + +AddDefaultCharset UTF-8 + +FileETag None +Header unset ETag +Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" +Header set Pragma "no-cache" +Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT" + + +# END WClearfyCache + +# BEGIN WordPress + +RewriteEngine On +RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] +RewriteBase / +RewriteRule ^index\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] + +# END WordPress \ No newline at end of file diff --git a/index3.css b/index3.css index ca98d32f..ed888288 100644 --- a/index3.css +++ b/index3.css @@ -177,7 +177,7 @@ display: grid; place-items: center; border-radius: 18px; - background: linear-gradient(145deg, var(--accent), var(--primary)); + background: #fff; color: #fff; box-shadow: 0 18px 34px rgba(13, 79, 214, 0.24); } @@ -679,6 +679,7 @@ padding: 22px; display: flex; flex-direction: column; + align-items: center; gap: 14px; min-height: 100%; } diff --git a/wp-content/themes/twentytwentyfour/assets/css/test1-shared-shell.css b/wp-content/themes/twentytwentyfour/assets/css/test1-shared-shell.css index 656d2662..749f27af 100644 --- a/wp-content/themes/twentytwentyfour/assets/css/test1-shared-shell.css +++ b/wp-content/themes/twentytwentyfour/assets/css/test1-shared-shell.css @@ -124,7 +124,7 @@ display: grid; place-items: center; border-radius: 18px; - background: linear-gradient(145deg, #3cc8ff, #0d4fd6); + background: #fff; color: #fff; box-shadow: 0 14px 28px rgba(13, 79, 214, 0.24); } diff --git a/wp-content/themes/twentytwentyfour/assets/images/logo.png b/wp-content/themes/twentytwentyfour/assets/images/logo.png new file mode 100644 index 00000000..5158016e Binary files /dev/null and b/wp-content/themes/twentytwentyfour/assets/images/logo.png differ diff --git a/wp-content/themes/twentytwentyfour/assets/images/лого.png b/wp-content/themes/twentytwentyfour/assets/images/лого.png new file mode 100644 index 00000000..876f36f7 Binary files /dev/null and b/wp-content/themes/twentytwentyfour/assets/images/лого.png differ diff --git a/wp-content/themes/twentytwentyfour/template-parts/test1-shared-footer.php b/wp-content/themes/twentytwentyfour/template-parts/test1-shared-footer.php index e53a4093..3646bb1b 100644 --- a/wp-content/themes/twentytwentyfour/template-parts/test1-shared-footer.php +++ b/wp-content/themes/twentytwentyfour/template-parts/test1-shared-footer.php @@ -19,9 +19,10 @@ if ( ! $blog_url ) {