Skip to content

Commit

Permalink
Logo link
Browse files Browse the repository at this point in the history
  • Loading branch information
IORoot committed May 3, 2021
1 parent a0c83a9 commit 6d1abb3
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 8 deletions.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

} else {

get_template_part( 'src/views/partials/content', 'none' );
get_template_part( 'src/views/partials/content', '404' );

}
?>
Expand Down
2 changes: 1 addition & 1 deletion src/components/main-menu-logo/main-menu-logo.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h1 class="flex-1">
<a class="logo" href="https://londonparkour.com" title="London Parkour">
<a class="logo" href="/" title="London Parkour">
<svg role="img" aria-label="London Parkour Logo" class="h-16 w-32 sm:w-48 fill-white hover:fill-Amber500">
<title>London Parkour</title>
<desc>Company Logo</desc>
Expand Down
6 changes: 0 additions & 6 deletions src/views/404/404.php

This file was deleted.

23 changes: 23 additions & 0 deletions src/views/partials/content-404.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<style>
.current { color:#38EF7D; }
</style>
<?php

get_header();

// -------------------------- TEMPLATE START ------------------------------
?>

<main class="">

<h1 class="text-4xl md:text-6xl px-4 md:px-10 mt-10 mb-2 text-black text-center font-semibold">Shinjury!</h1>
<h2 class="text-2xl md:text-3xl px-4 md:px-10 mb-4 text-smoke text-center">You missed your landing. Go back and give it another go. You got this!</h2>
<p class="text-xl md:text-2xl px-4 md:px-10 mb-20 text-smoke text-center">This is a <a class="underline hover:text-black" href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status" target="_blank" rel="noopener">404 error</a>. Meaning that the page was not found.</p>

</main>

<?php

// -------------------------- TEMPLATE END --------------------------------

get_footer();

0 comments on commit 6d1abb3

Please sign in to comment.