Update the Rookeries app to start emulating the rest of the system.

This commit is contained in:
Dorian 2019-08-02 17:30:00 -04:00
parent 02f4e2370b
commit 54b8f3ef80
2 changed files with 11 additions and 3 deletions

View File

@ -26,7 +26,7 @@
padding: 10px;
}
rookeries-app {
div#rookeries {
border-color: #4d84ff;
border-style: dashed;
border-width: 2px;
@ -38,7 +38,14 @@
<h1>Rookeries</h1>
<div id="divider">
<div id="ui-target"></div>
<rookeries-app debug></rookeries-app>
<div id="rookeries">
<nav>
<a href="/home">Home</a>
<a href="/blog">Blog</a>
<a href="/contact">Contact</a>
</nav>
<rookeries-app debug></rookeries-app>
</div>
</div>
</body>
</html>

View File

@ -82,9 +82,10 @@ export class RookeriesApp extends HTMLElement {
const debugHeader = !showDebug ? "" : `
<div>
Rookeries
<h1>Rookeries - Debug</h1>
<ul>
<li>Current page: ${currentPage}</li>
<li><a href="/">Go to the home page</a></li>
<li><a href="/foo">Change to Foo</a></li>
<li><a href="/bar">Change to Bar</a></li>
<li><a href="https://rookeries.org/">External Link</a></li>