Commit fa98d785 authored by Yashu Mittal's avatar Yashu Mittal 👍🏻

Add logo as props to Navbar & fix if condition

parent 79c3114c
<template>
<nav class="site-nav">
<div class="site-nav-left">
<div v-if="logo !== true">
<a v-if="Admin.site.logo !== ''" class="site-nav-logo" :href="Admin.site.url">
<div v-if="logo">
<a v-if="Admin.site.logo" class="site-nav-logo" :href="Admin.site.url">
<img :src="Admin.site.logo" :alt="Admin.site.title" />
</a>
<a v-else class="site-nav-logo" :href="Admin.site.url">{{ Admin.site.title }}</a>
......
......@@ -11,7 +11,7 @@
</h1>
<h2 class="site-description">{{ Admin.site.description}}</h2>
</div>
<Navbar />
<Navbar :logo=false />
</div>
</header>
......
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