Commit c23ad22e authored by Simon's avatar Simon

Merge branch '404-page'

parents 63be86b2 3399ba75
<?php
/**
* The main template file
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Biuro
* @since 1.0
* @version 1.0
*/
get_header(); ?>
<div id="content" class="l-content--main">
<main id="main" class="l-main">
<div class="c-404">
<p class="c-404--heading">404</p>
<p class="c-404--message"><?php _e('Sorry, the page you are looking for does not exist!', 'biuro'); ?></p>
<p>
<a href="<?php echo pll_home_url(); ?>" class="o-btn c-btn--main"><?php _e('Return to homepage', 'biuro'); ?></a>
</p>
</div>
<?php
/*
<div class="c-404">
<p class="c-404--heading">404</p>
<p class="c-404--message">Atsiprašome, bet puslapis kurio jūs ieškote neegzistuoja!</p>
<p>
<a href="<?php echo pll_home_url(); ?>" class="o-btn c-btn--main">Grįžti į pagrindinį puslapį</a>
</p>
</div>
*/
?>
</main><!-- .l-main -->
</div><!-- #content -->
<?php get_footer();
...@@ -14,11 +14,10 @@ ...@@ -14,11 +14,10 @@
.l-content--position-inner { position: relative; display: flex; max-width: 970px; padding: 50px 70px; margin: 0 auto 140px; border-radius: 3px; background-color: #FFFFFF; box-shadow: 0 1px 47px 0 #ECF5FF; } .l-content--position-inner { position: relative; display: flex; max-width: 970px; padding: 50px 70px; margin: 0 auto 140px; border-radius: 3px; background-color: #FFFFFF; box-shadow: 0 1px 47px 0 #ECF5FF; }
.l-content--heading { display: block; padding-top: 40px; padding-bottom: 25px; .l-content--heading { display: block; padding-top: 40px; padding-bottom: 25px;
h1 { margin: 0; padding: 0; color: #2A3644; font-size: 25px; font-weight: 500; line-height: 29px;
@media (--min--small) { @media (--min--small) {
padding-left: 300px; padding-left: 320px;
}
} }
h1 { margin: 0; padding: 0; color: #2A3644; font-size: 25px; font-weight: 500; line-height: 29px; }
} }
.l-content--main { width: 100%; flex: 1 1 auto; max-width: 1070px; padding: 35px 20px 90px; margin: 0 auto; .l-content--main { width: 100%; flex: 1 1 auto; max-width: 1070px; padding: 35px 20px 90px; margin: 0 auto;
......
...@@ -7,6 +7,7 @@ c-: Signify that something is a Component. This is a concrete, implementation-sp ...@@ -7,6 +7,7 @@ c-: Signify that something is a Component. This is a concrete, implementation-sp
========================================================================== */ ========================================================================== */
@import 'vendor/swiper.css'; @import 'vendor/swiper.css';
@import '_component--404.css';
@import '_component--awesomplete.css'; @import '_component--awesomplete.css';
@import '_component--breadcrumbs.css'; @import '_component--breadcrumbs.css';
@import '_component--btn.css'; @import '_component--btn.css';
......
/* ------------- Component: awesomplete ------------- */
/* critical:start */
/* critical:end */
.c-404 { text-align: center; padding: 200px 0; }
.c-404--heading { height: 128px; margin: 0; padding: 0; color: #069980; font-size: 109px; font-weight: 500; line-height: 128px; }
.c-404--message { margin-bottom: 40px; }
/*
.c-404--heading {
background: -webkit-linear-gradient(138.69deg,#4eacd9,#2fb8a1)
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
*/
...@@ -32,16 +32,16 @@ define('cityID', $cityID); ...@@ -32,16 +32,16 @@ define('cityID', $cityID);
?> ?>
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
<style><?php include 'css/core-09a3c5bc76.min.css'; ?></style> <style><?php include 'css/core-3c4944c2d7.min.css'; ?></style>
<link rel="preload" href="/wp-content/themes/biuro/css/main-1b4736af34.min.css" as="style" onload="this.rel='stylesheet'"> <link rel="preload" href="/wp-content/themes/biuro/css/main-84005976e1.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preload" href="/wp-content/themes/biuro/fonts/pt_sans_narrow.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="/wp-content/themes/biuro/fonts/pt_sans_narrow.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/wp-content/themes/biuro/fonts/pt_sans_narrow_bold.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="/wp-content/themes/biuro/fonts/pt_sans_narrow_bold.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/wp-content/themes/biuro/fonts/bebas-neue.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="/wp-content/themes/biuro/fonts/bebas-neue.woff2" as="font" type="font/woff2" crossorigin>
<noscript> <noscript>
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main-1b4736af34.min.css"> <link rel="stylesheet" href="/wp-content/themes/biuro/css/main-84005976e1.min.css">
</noscript> </noscript>
<?php wp_head(); ?> <?php wp_head(); ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment