Commit 4114eff3 authored by Pius Nyakoojo's avatar Pius Nyakoojo Committed by Evan You

Update App.vue header (#122)

The <header> element specifies a header for a document or section. The <nav> element defines a set of navigation links. These elements are more meaningful to screen readers and other devices and improve the accessibility of a site.
parent b04ea0c4
<template> <template>
<div id="app"> <div id="app">
<div class="header"> <header class="header">
<div class="inner"> <nav class="inner">
<router-link to="/" exact> <router-link to="/" exact>
<img class="logo" src="~public/logo-48.png" alt="logo"> <img class="logo" src="~public/logo-48.png" alt="logo">
</router-link> </router-link>
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
<a class="github" href="https://github.com/vuejs/vue-hackernews-2.0" target="_blank"> <a class="github" href="https://github.com/vuejs/vue-hackernews-2.0" target="_blank">
Built with Vue.js Built with Vue.js
</a> </a>
</div> </nav>
</div> </header>
<transition name="fade" mode="out-in"> <transition name="fade" mode="out-in">
<router-view></router-view> <router-view></router-view>
</transition> </transition>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment