diff options
author | Thedro Neely <thedroneely@gmail.com> | 2019-03-18 23:37:32 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2019-03-18 23:37:32 -0400 |
commit | 25d125302365e4f349cbb66f4b209020aeef19b3 (patch) | |
tree | 2592179abaf8c66200503afffebdc2714d3c4230 /views | |
parent | 962891f9f0f3521f9835bd7e961c2c229d6e227b (diff) | |
download | edwinmattiacci.com-25d125302365e4f349cbb66f4b209020aeef19b3.tar.gz edwinmattiacci.com-25d125302365e4f349cbb66f4b209020aeef19b3.tar.bz2 edwinmattiacci.com-25d125302365e4f349cbb66f4b209020aeef19b3.zip |
views/partials/header: New header layout
Diffstat (limited to 'views')
-rw-r--r-- | views/partials/header.error.php | 2 | ||||
-rw-r--r-- | views/partials/header.php | 44 |
2 files changed, 27 insertions, 19 deletions
diff --git a/views/partials/header.error.php b/views/partials/header.error.php index 82b1597..2aa019a 100644 --- a/views/partials/header.error.php +++ b/views/partials/header.error.php @@ -1,3 +1,3 @@ -<?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/bootstrap/Bootstrap.php'; ?> +<?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/bootstrap/Bootstrap.php'; ?> <?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/views/partials/header.php'; ?> diff --git a/views/partials/header.php b/views/partials/header.php index 87761cf..7b8aea7 100644 --- a/views/partials/header.php +++ b/views/partials/header.php @@ -1,29 +1,37 @@ <!DOCTYPE html> -<?php if ($_SERVER['REQUEST_URI'] == '/') { ?> -<html class="body-gradient" lang="en-us"> -<?php } else { ?> -<html class="body-opaque" lang="en-us"> -<?php } ?> +<html lang="en-us"> - <head> +<head> - <meta charset="utf-8"> + <meta charset="utf-8"> - <title>Edwin Mattiacci - <?php title();?></title> + <title>Edwin Mattiacci - <?php title();?></title> - <meta name="author" content="Edwin Mattiacci"> - <meta name="description" content="Edwin Mattiacci Voiceover. Narration, Trailers, Commercials, and More."> - <meta name="keywords" content="Edwin, Mattiacci, Voice, Voiceover, Narration, Trailers, Commercials"> - <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="author" content="Edwin Mattiacci"> + <meta name="description" content="Edwin Mattiacci Voiceover. Narration, Trailers, Commercials, and More."> + <meta name="keywords" content="Edwin, Mattiacci, Voice, Voiceover, Narration, Trailers, Commercials"> + <meta name="viewport" content="width=device-width, initial-scale=1"> - <?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/views/snippets/favicons.php'; ?> + <?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/views/snippets/favicons.php'; ?> - <link rel="stylesheet" href="/dist/app.css"> + <link href="https://cdn.jsdelivr.net/npm/tailwindcss/dist/tailwind.min.css" rel="stylesheet"> + <link href="/css/app.css" rel="stylesheet"> + <link href="/dist/bar-ui.css" rel="stylesheet"> - <?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/views/snippets/rss.php'; ?> + <?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/views/snippets/rss.php'; ?> - </head> +</head> - <body> +<body class="overflow-y-scroll"> -<?php require 'navigator.php'; ?> + <div class="flex min-h-screen"> + + <a href="/" class="w-24 min-h-full hidden md:block logo-container border-r"></a> + + <div class="flex flex-col xl:flex-row min-h-screen w-screen "> + + <div class="w-full xl:w-2/5 h-full splash-container"></div> + + <div class="w-full xl:w-3/5 h-full"> + + <div class="container p-6 sm:p-10 mx-auto" style="max-width: 40em;"> |