create nav partial, convert index to php to test
This commit is contained in:
parent
265adfd979
commit
52cd15f1c4
|
@ -0,0 +1,10 @@
|
||||||
|
<header id="top">
|
||||||
|
<h1>This cat rocks!</h1>
|
||||||
|
<p>A homepage for my fine feline friend, Baxter</p>
|
||||||
|
<nav>
|
||||||
|
<a href="index.html">Home</a>
|
||||||
|
<a href="loveletter.html">Love you, Baxter</a>
|
||||||
|
<a href="behavior.html">Baxter's behaviors</a>
|
||||||
|
<a href="about.html">About this site</a>
|
||||||
|
</nav>
|
||||||
|
</header>
|
|
@ -1,5 +1,4 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- proven.lol/151033 -->
|
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>This cat rocks!</title>
|
<title>This cat rocks!</title>
|
||||||
|
@ -9,19 +8,7 @@
|
||||||
<link rel="stylesheet" href="style/style.css">
|
<link rel="stylesheet" href="style/style.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="top">
|
<?php include "./includes/nav.php" ?>
|
||||||
<img class="baxter-hero-img" src="img/baxter-hero.webp" alt="A picture of my cat Baxter looking at the camera.">
|
|
||||||
<div class="header-content">
|
|
||||||
<h1>This cat rocks!</h1>
|
|
||||||
<p>A homepage for my fine feline friend, Baxter</p>
|
|
||||||
<nav>
|
|
||||||
<a href="index.html">Home</a>
|
|
||||||
<a href="loveletter.html">Love you, Baxter</a>
|
|
||||||
<a href="behavior.html">Baxter's behaviors</a>
|
|
||||||
<a href="about.html">About this site</a>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
<main>
|
<main>
|
||||||
<section class="welcome-section">
|
<section class="welcome-section">
|
||||||
<img class="baxter-welcome-img" src="img/baxter-welcome.webp" alt="My cat Baxter, sitting in a cardboard box looking at the camera.">
|
<img class="baxter-welcome-img" src="img/baxter-welcome.webp" alt="My cat Baxter, sitting in a cardboard box looking at the camera.">
|
Loading…
Reference in New Issue