Skip to content

Commit

Permalink
Opt: github icon
Browse files Browse the repository at this point in the history
  • Loading branch information
LazyCreeper committed Dec 8, 2023
1 parent d771b4c commit 8bb4a13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 32 deletions.
30 changes: 0 additions & 30 deletions src/components/icons/Github.vue

This file was deleted.

4 changes: 2 additions & 2 deletions src/views/auth/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { getAppIcon } from "@/utils/utils";
const platforms: { [key: string]: { name: string; class: string } } = {
github: {
name: "Github",
class: "btn-black"
class: "btn-white"
},
microsoft: {
name: "Microsoft",
Expand Down Expand Up @@ -190,7 +190,7 @@ onMounted(async () => {
<h4 class="text-[18px] font-bold">使用第三方平台登录</h4>
<button
v-for="item in OAuth2Platforms_?.enabled"
:class="`inline-flex items-center btn ${
:class="`inline-flex items-center btn ${
platforms[item] ? platforms[item].class : 'btn-black'
} m-[10px] hover:px-[10px]`"
@click="useOAuth2(item)"
Expand Down

0 comments on commit 8bb4a13

Please sign in to comment.