Merge pull request #8595 from Jerryby/wordpress

LAW-6905
This commit is contained in:
bivis
2023-08-24 09:56:35 +03:00
committed by GitHub
4 changed files with 28 additions and 9 deletions

View File

@@ -1,13 +1,25 @@
<?php get_header();?> <?php get_header();?>
<div class="content no-pb"> <div class="content">
<div class="top-panel empty"></div> <div class="cont">
<div class="cont back-white"> <div class="p404">
<div class="site-error"> <div class="inner-cont width-large white">
<h1>Not Found (#404)</h1> <div class="p404-img">
<p>The above error occurred while the Web server was processing your request.</p> <img src="<?= get_theme_file_uri('/assets/img/404.svg'); ?>" alt="404">
<p>Please contact us if you think this is a server error. Thank you.</p> </div>
<h1><b>We cant find the page you are looking for</b></h1>
<p>Sorry, looks like the page with this URL does not exist. Here are some other options:</p>
<ul>
<li>View your materials in <a href="<?= get_lawcarta_url()?>/library">My Library</a></li>
<li>Browse our digital <a href="<?= get_lawcarta_url()?>/catalog">Catalog</a></li>
<li>Find answers in the <a href="/faq-page">FAQ articles</a></li>
</ul>
<div class="bot-link">
<a href="/" class="button link">Back to Home page</a>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,7 @@
<svg width="106" height="84" viewBox="0 0 106 84" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.768919 22.2744L0.832496 71.4038C0.959694 72.7402 2.16819 74.0767 3.69468 74.0767H16.2551C17.3271 74.0767 18.1961 73.208 18.1961 72.1357C18.1961 71.064 17.3271 70.1948 16.2551 70.1948H5.88035C5.20017 70.1948 4.64866 69.6436 4.64866 68.9634V22.2744V17.6484C4.64866 16.7236 5.39829 15.9746 6.32298 15.9746H100.033C100.957 15.9746 101.707 16.7236 101.707 17.6484V68.9399C101.707 69.6333 101.145 70.1948 100.452 70.1948H89.846C88.774 70.1948 87.905 71.064 87.905 72.1357C87.905 73.208 88.774 74.0767 89.846 74.0767H102.152C103.933 74.0767 105.332 73.1221 105.332 71.4038V3.11914C105.332 1.46484 103.933 0.446289 102.152 0.446289H95.6339L73.1352 0.5L3.69468 0.446289C0.382057 0.446289 0.570289 4.80273 0.715309 8.1582C0.742897 8.79688 0.768898 9.39941 0.768898 9.92871L0.768919 22.2744ZM49.9999 4.32812H6.32298C5.39829 4.32812 4.64866 5.07812 4.64866 6.00293V10.418C4.64866 11.3428 5.39829 12.0918 6.32298 12.0918H100.033C100.957 12.0918 101.707 11.3428 101.707 10.418V6.00293C101.707 5.07812 100.957 4.32812 100.033 4.32812H96.9998H49.9999Z" fill="#D9D9D9"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M47.2627 54.9903C47.2627 53.7574 48.2622 52.7579 49.4951 52.7579H56.6061C57.839 52.7579 58.8384 53.7574 58.8384 54.9903V73.8175C58.8384 75.0504 57.839 76.0499 56.606 76.0499H49.4951C48.2622 76.0499 47.2627 75.0504 47.2627 73.8175V54.9903ZM53.0505 56.6397C51.9967 56.6397 51.1425 57.4942 51.1425 58.5479V70.2599C51.1425 71.3136 51.9967 72.1676 53.0505 72.1676C54.1044 72.1676 54.9586 71.3136 54.9586 70.2599V58.5479C54.9586 57.4942 54.1044 56.6397 53.0505 56.6397Z" fill="#0055D6"/>
<path d="M31.7437 64.0807C31.7437 65.3136 32.743 66.3131 33.9761 66.3131H37.2708C38.5037 66.3131 39.5032 67.3126 39.5032 68.5455V74.11C39.5032 75.1812 40.3717 76.0499 41.4431 76.0499C42.5144 76.0499 43.3829 75.1812 43.3829 74.11V54.6978C43.3829 53.6261 42.5144 52.7579 41.4431 52.7579C40.3717 52.7579 39.5032 53.6261 39.5032 54.6978V60.5548C39.5032 61.6261 38.6346 62.4947 37.5632 62.4947C36.4919 62.4947 35.6234 61.6261 35.6234 60.5548V54.6978C35.6234 53.6261 34.7549 52.7579 33.6835 52.7579C32.6122 52.7579 31.7437 53.6261 31.7437 54.6978V64.0807Z" fill="#0055D6"/>
<path d="M62.6849 54.7545C62.6849 53.6832 62.8163 52.8145 63.8876 52.8145C64.959 52.8145 66.5647 53.6832 66.5647 54.7545V60.4845C66.5647 61.6261 67.4901 62.5514 68.6317 62.5514C69.7734 62.5514 70.6988 61.6261 70.6988 60.4845V54.6275C70.6988 53.6261 71.5104 52.8145 72.5115 52.8145C73.5127 52.8145 74.3242 53.6261 74.3242 54.6275V74.294C74.3242 75.295 73.5127 76.1065 72.5115 76.1065C71.5104 76.1065 70.6988 75.295 70.6988 74.294V68.6021C70.6988 67.3692 69.6993 66.3697 68.4664 66.3697H64.9172C63.6843 66.3697 62.6849 65.3702 62.6849 64.1373V54.7545Z" fill="#0055D6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M48.2168 30.7384L36.9994 44.8468C36.8936 44.9801 36.7327 45.0577 36.5626 45.0577H27.0989C24.3247 45.0577 22.0759 47.3062 22.0759 50.0802V78.7271C22.0759 81.5011 24.3248 83.7501 27.0989 83.7501H79.0023C81.7764 83.7501 84.0253 81.5011 84.0253 78.7271V50.0802C84.0253 47.3062 81.7764 45.0577 79.0023 45.0577H69.7052C69.5658 45.0577 69.433 45.0064 69.3203 44.9239C69.2261 44.8551 69.1457 44.7643 69.0875 44.6632C68.3901 43.4513 65.909 40.4561 63.4912 37.5377C60.8559 34.357 58.2958 31.2667 58.2024 30.6749C58.1765 30.338 58.2772 30.0753 58.4058 29.7403C58.5928 29.252 58.8385 28.6104 58.8385 27.3653C58.8385 22.211 51.397 19.3468 48.1532 24.629C46.7451 26.9776 47.4751 28.8116 47.959 30.0274C48.0652 30.295 48.1596 30.5323 48.2168 30.7384ZM25.9557 50.5499C25.9557 49.6256 26.7053 48.8761 27.63 48.8761H78.7256C79.6503 48.8761 80.3999 49.6256 80.3999 50.5499V78.1939C80.3999 79.1187 79.6503 79.8683 78.7256 79.8683H27.63C26.7053 79.8683 25.9557 79.1187 25.9557 78.1939V50.5499ZM52.1947 33.2999L52.2028 33.3028L52.3464 33.3331C52.3991 33.3438 52.4517 33.3536 52.5053 33.3624L52.5916 33.377C52.7291 33.3976 52.8767 33.4112 53.0507 33.4112C53.3167 33.4112 53.5095 33.3956 53.6671 33.3722C53.8174 33.3507 53.9354 33.3214 54.0544 33.2921L54.0643 33.2892C54.2101 33.253 54.3583 33.2159 54.5691 33.1905C54.7351 33.17 54.9399 33.1573 55.2131 33.1573C56.083 34.4464 58.1115 36.8951 60.1 39.2955C61.6354 41.149 63.147 42.9737 64.083 44.214C64.3516 44.5694 64.0931 45.0577 63.6475 45.0577H42.8175C42.3512 45.0577 42.0906 44.5196 42.3795 44.1534L49.8069 34.7481C49.912 34.63 50.0116 34.525 50.1052 34.4264C50.3272 34.1935 50.5154 33.9962 50.6626 33.7364C50.7543 33.5753 50.83 33.3897 50.8881 33.1573C51.5129 33.1573 51.8726 33.2325 52.1947 33.2999ZM51.1425 27.6202C51.1425 24.8204 54.9587 25.3292 54.9587 27.1114L54.9595 27.2491C54.9662 28.1036 54.9773 29.5294 53.0507 29.5294C51.9058 29.5294 51.1425 28.7657 51.1425 27.6202Z" fill="#0055D6"/>
</svg>

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@@ -65,7 +65,7 @@ add_action('wp_enqueue_scripts', function () {
// wp_enqueue_script('lawcarta-js', get_theme_file_uri('/assets/js/faqSearch.js'), ['custom-jquery'], null, true); // wp_enqueue_script('lawcarta-js', get_theme_file_uri('/assets/js/faqSearch.js'), ['custom-jquery'], null, true);
// wp_enqueue_style('lawcarta-libs', get_theme_file_uri('/assets/css/libs.min.css'), [], '100'); // wp_enqueue_style('lawcarta-libs', get_theme_file_uri('/assets/css/libs.min.css'), [], '100');
wp_enqueue_style('lawcarta-style-index', get_theme_file_uri('/assets/css/styles-main-page.min.css'), null, '129'); wp_enqueue_style('lawcarta-style-index', get_theme_file_uri('/assets/css/styles-main-page.min.css'), null, '130');
// if(is_front_page()){ // if(is_front_page()){
// wp_enqueue_style('lawcarta-style-index', get_theme_file_uri('/assets/css/main-page.min.css'),['lawcarta-libs'], '101'); // wp_enqueue_style('lawcarta-style-index', get_theme_file_uri('/assets/css/main-page.min.css'),['lawcarta-libs'], '101');