Skip to content

Commit

Permalink
#27: Display application shell instantly on page load
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbull committed Mar 27, 2018
1 parent e430323 commit 7bdb8ba
Show file tree
Hide file tree
Showing 13 changed files with 453 additions and 486 deletions.
37 changes: 26 additions & 11 deletions index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,33 @@
<title>Aurelia HN</title>
</head>

<body aurelia-app="main">
<div class="loader">
<div class="loader__logo">
<%= require('svg-inline-loader!./assets/logo.svg') %>
</div>
<body>
<div aurelia-app="main">

<nav class="nav-bar">
<div class="nav-bar__wrapper">
<img
class="nav-bar__logo-img"
src="<%= require('./assets/aurelia-logo-white.png') %>"
alt="Aurelia HN"
width="40" height="40"
/>
<span class="nav-bar__title">Aurelia&nbsp;HN</span>
</div>
</nav>

<div class="loader">
<div class="loader__logo">
<%= require('svg-inline-loader!./assets/logo.svg') %>
</div>

<div class="loader__bars">
<div class="loader__bar"></div>
<div class="loader__bar"></div>
<div class="loader__bar"></div>
<div class="loader__bar"></div>
<div class="loader__bar"></div>
<div class="loader__bars">
<div class="loader__bar"></div>
<div class="loader__bar"></div>
<div class="loader__bar"></div>
<div class="loader__bar"></div>
<div class="loader__bar"></div>
</div>
</div>
</div>
</body>
Expand Down
Loading

0 comments on commit 7bdb8ba

Please sign in to comment.