|
@@ -23,25 +23,25 @@
|
|
|
</div>
|
|
|
<nav>
|
|
|
<a class="link" :href="apiDomain">API Tools</a>
|
|
|
- <a class="link" :href="apiDomain + '/api/docs/introduction'">Documentation</a>
|
|
|
- <a class="link" :href="apiDomain + '/api-libraries/overview'">API Libraries</a>
|
|
|
- <a class="link" :href="apiDomain + '/api/pricing'">Pricing</a>
|
|
|
- <a class="link btn" :href="apiDomain + '/contact-us'">Contact Us</a>
|
|
|
+ <a class="link" :href="apiDomain + '/api/docs/introduction'">{{ $t('aside.document') }}</a>
|
|
|
+ <a class="link" :href="apiDomain + '/api-libraries/overview'">{{ $t('aside.libraries') }}</a>
|
|
|
+ <a class="link" :href="apiDomain + '/api/pricing'">{{ $t('aside.pricing') }}</a>
|
|
|
+ <a class="link btn" :href="apiDomain + '/contact-us'">{{ $t('aside.contact') }}</a>
|
|
|
</nav>
|
|
|
</div>
|
|
|
<div v-show="dropdownShow" class="dropdown-menu" :class="dropdownShow && 'active'">
|
|
|
- <router-link @click.native="toggleDropdown" to="/dashboard" class="dropdown-item"><Dashboard /><span>Dashboard</span></router-link>
|
|
|
- <div class="dropdown-item login-out" @click="loginOut"><Logout /><span>Log out</span></div>
|
|
|
+ <router-link @click.native="toggleDropdown" to="/dashboard" class="dropdown-item"><Dashboard /><span>{{ $t('aside.dashboard') }}</span></router-link>
|
|
|
+ <div class="dropdown-item login-out" @click="loginOut"><Logout /><span>{{ $t('aside.logout') }}/span></div>
|
|
|
</div>
|
|
|
<div v-if="$route.name !== 'login'" class="nav-right">
|
|
|
<el-popover ref="popover" placement="bottom-start" popper-class="dropdown-content" trigger="hover" :visible-arrow="false">
|
|
|
- <router-link class="dropdown-item" to="/dashboard"><Dashboard /><span>Dashboard</span></router-link>
|
|
|
+ <router-link class="dropdown-item" to="/dashboard"><Dashboard /><span>{{ $t('aside.dashboard') }}</span></router-link>
|
|
|
<div class="dropdown-item login-out" @click="loginOut">
|
|
|
- <Logout /><span>Log out</span>
|
|
|
+ <Logout /><span>{{ $t('aside.logout') }}</span>
|
|
|
</div>
|
|
|
</el-popover>
|
|
|
<div class="user-photo" v-popover:popover><p>{{ user && user.name.slice(0, 1) }}</p></div>
|
|
|
- <a class="link btn" :href="apiDomain + '/contact-us'">Contact Us</a>
|
|
|
+ <a class="link btn" :href="apiDomain + '/contact-us'">{{ $t('aside.contact') }}</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|