Add navbar

This commit is contained in:
Robert Miles 2018-06-20 11:24:43 -04:00
parent 4fe2900e78
commit 0e241630d1
2 changed files with 20 additions and 1 deletions

View File

@ -12,5 +12,6 @@
<meta property="og:type" content="website">
<body style="padding-top: 70px;">
<div class="container">
<?php require 'navbar.php'; ?>

navbar.php Normal file
View File

@ -0,0 +1,18 @@
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<a class="navbar-brand" href="/">~chat</a>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="/">home</a></li>