Skip to content

Commit

Permalink
fix: link to changelog in footer, fix login link, fix header on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Dec 24, 2020
1 parent b9931fb commit 5b6d4ed
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/Profile.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="profile">
<a class="profile-logout" v-if="user.email" title="Click to logout" @click.prevent="logout" href="#" v-html="user.email"></a>
<a class="profile-login" v-if="isLogin" href="/login">Login</a>
<NuxtLink class="profile-login" v-if="isLogin" to="/login">Login</NuxtLink>
</div>
</template>

Expand Down
4 changes: 2 additions & 2 deletions layouts/default.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<div id="panel">
<el-header height="65px">
<el-header height="66px">
<el-row>
<el-col :span="12">
<el-menu :default-active="activeIndex" mode="horizontal" @select="handleSelect" class="header__menu">
Expand All @@ -22,7 +22,7 @@
<footer>
<a
target="_blank"
:href="$store.state.homepage"
href="https://github.com/viasite/site-audit-seo-viewer/releases"
>{{ $store.state.name }} {{ $store.state.version }}</a>
</footer>
</div>
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@
"dev-popstas-prod": "cross-env SERVER_URL=https://site-audit-server.popstas.ru HOST=0.0.0.0 PORT=5302 nuxt",
"dev-clean": "nuxt",
"build": "nuxt build",
"deploy": "bash scripts/deploy.sh",
"deploy-prod": "bash scripts/deploy.sh",
"deploy-dev": "bash data/deploy-dev.sh",
"deploy": "npm run deploy-prod && npm run deploy-dev",
"start": "nuxt start",
"generate": "nuxt generate -c nuxt.config.prod.js",
"generate-clean": "nuxt generate",
"generate-dev": "nuxt generate -c data/nuxt.config.dev.js",
"version": "npm run changelog && git add CHANGELOG.md",
"postversion": "git push --tags && npm run release",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"release": "conventional-github-releaser -p angular && npm run deploy && npm run deploy-dev && npm run dev",
"release": "conventional-github-releaser -p angular && npm run deploy && npm run dev-popstas-prod",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"precommit": "npm run lint"
},
Expand Down
2 changes: 1 addition & 1 deletion pages/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default {
ui = new firebaseui.auth.AuthUI(firebase.auth());
}
var uiConfig = {
signInSuccessUrl: "/", // This redirect can be achived by route using callback.
signInSuccessUrl: this.$router.options.base, // This redirect can be achived by route using callback.
signInFlow: "popup",
signInOptions: [firebase.auth.GoogleAuthProvider.PROVIDER_ID]
};
Expand Down

0 comments on commit 5b6d4ed

Please sign in to comment.