51 lines
4.1 KiB
PHP
51 lines
4.1 KiB
PHP
<?php
|
|
/**
|
|
* Nagłowek
|
|
*
|
|
* @link https://krzysztof-turek.com
|
|
*
|
|
* @package tylkofotografia.pl
|
|
* @version 0.2
|
|
*/
|
|
$directory_uri = get_stylesheet_directory_uri();
|
|
?><!DOCTYPE html>
|
|
<html <?php language_attributes(); ?>>
|
|
<head>
|
|
<link rel="preload" href="<?php echo $directory_uri; ?>/fonts/maven-pro-v32-latin-ext.woff2" as="font" type="font/woff2" crossorigin>
|
|
<link rel="preload" href="<?php echo $directory_uri; ?>/fonts/maven-pro-v32-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
|
|
<link rel="preload" href="<?php echo $directory_uri; ?>/tylkofotografia.pl/fonts/maven-pro-v32-latin-600-ext.woff2" as="font" type="font/woff2" crossorigin>
|
|
<link rel="preload" href="<?php echo $directory_uri; ?>fonts/maven-pro-v32-latin-600.woff2" as="font" type="font/woff2" crossorigin>
|
|
<link rel="preload" href="<?php echo $directory_uri; ?>/webfonts/fa-brands-400.woff2" as="font" type="font/woff2" crossorigin>
|
|
<link rel="preload" href="<?php echo $directory_uri; ?>/webfonts/fa-regular-400.woff2" as="font" type="font/woff2" crossorigin>
|
|
<link rel="preload" href="<?php echo $directory_uri; ?>/webfonts/fa-solid-900.woff2" as="font" type="font/woff2" crossorigin>
|
|
<link rel="preload" as="script" href="https://tylkofotografia.pl/wp-content/plugins/akismet/_inc/akismet-frontend.js">
|
|
<style>
|
|
@font-face {font-family: 'Maven Pro';font-style: normal;font-weight: 400;font-display: swap;src: url('<?php echo $directory_uri; ?>/fonts/maven-pro-v32-latin-ext.woff2') format('woff2');unicode-range: U + 0100-024F, U + 0259, U + 1E00-1EFF, U + 2020, U + 20A0-20AB, U + 20AD-20CF, U + 2113, U + 2C60-2C7F, U + A720-A7FF }@font-face {font-family: 'Maven Pro';font-style: normal;font-weight: 400;font-display: swap;src: url('<?php echo $directory_uri; ?>/fonts/maven-pro-v32-latin-regular.woff2') format('woff2');unicode-range: U + 0000-00FF, U + 0131, U + 0152-0153, U + 02BB-02BC, U + 02C6, U + 02DA, U + 02DC, U + 2000-206F, U + 2074, U + 20AC, U + 2122, U + 2191, U + 2193, U + 2212, U + 2215, U + FEFF, U + FFFD }@font-face {font-family: 'Maven Pro';font-style: normal;font-weight: 600;font-display: swap;src: url('<?php echo $directory_uri; ?>/fonts/maven-pro-v32-latin-600-ext.woff2') format('woff2');unicode-range: U + 0100-024F, U + 0259, U + 1E00-1EFF, U + 2020, U + 20A0-20AB, U + 20AD-20CF, U + 2113, U + 2C60-2C7F, U + A720-A7FF }@font-face {font-family: 'Maven Pro';font-style: normal;font-weight: 600;font-display: swap;src: url('<?php echo $directory_uri; ?>/fonts/maven-pro-v32-latin-600.woff2') format('woff2');unicode-range: U + 0000-00FF, U + 0131, U + 0152-0153, U + 02BB-02BC, U + 02C6, U + 02DA, U + 02DC, U + 2000-206F, U + 2074, U + 20AC, U + 2122, U + 2191, U + 2193, U + 2212, U + 2215, U + FEFF, U + FFFD }
|
|
</style>
|
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="follow.it-verification-code" content="mccEeDLbmcjazpN75J7L"/>
|
|
<meta name="ahrefs-site-verification" content="b57bccf8d98320812a4eaceed3c59c4536bd54ef6ec50b6cb4cba5ff55b1c608">
|
|
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<link rel="shortcut icon" href="/favicon.ico" />
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
|
<meta name="apple-mobile-web-app-title" content="TylkoFotografia" />
|
|
<link rel="manifest" href="/site.webmanifest" />
|
|
<meta name="application-name" content="TylkoFotografia"/>
|
|
<!-- MailerLite Universal -->
|
|
<script>
|
|
(function(w,d,e,u,f,l,n){w[f]=w[f]||function(){(w[f].q=w[f].q||[])
|
|
.push(arguments);},l=d.createElement(e),l.async=1,l.src=u,
|
|
n=d.getElementsByTagName(e)[0],n.parentNode.insertBefore(l,n);})
|
|
(window,document,'script','https://assets.mailerlite.com/js/universal.js','ml');
|
|
ml('account', '1025353');
|
|
</script>
|
|
<!-- End MailerLite Universal -->
|
|
<?php wp_head(); ?>
|
|
</head>
|
|
<body <?php body_class(); ?>>
|
|
<?php
|
|
if ( function_exists('wp_body_open') ) { wp_body_open(); }
|
|
get_template_part( 'template-parts/header/headerImage' );
|
|
get_template_part( 'template-parts/navigation/main' );
|