Commit 7eaa6f40 authored by nanahira's avatar nanahira

fix links

parent a92246b5
Pipeline #29859 passed with stages
in 57 seconds
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="priority" id="background"> <div class="priority" id="background">
<nav class="navbar navbar-expand-lg navbar-expand-sm navbar-expand-md bg-black navbar-dark fixed-top"> <nav class="navbar navbar-expand-lg navbar-expand-sm navbar-expand-md bg-black navbar-dark fixed-top">
<div class="container-fluid my-custom-container"> <div class="container-fluid my-custom-container">
<a class="navbar-brand d-flex align-items-center" href="https://mycard.moe/"> <a class="navbar-brand d-flex align-items-center" href="https://mycard.world/">
<img class="logo" src="assets/img/mycardlogo.png" alt="Logo">MyCard <img class="logo" src="assets/img/mycardlogo.png" alt="Logo">MyCard
</a> </a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavAltMarkup" <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavAltMarkup"
...@@ -12,11 +12,11 @@ ...@@ -12,11 +12,11 @@
</button> </button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup"> <div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav"> <div class="navbar-nav">
<a class="nav-link flex-sm-fill text-sm-center" href="https://mycard.moe/">首页</a> <a class="nav-link flex-sm-fill text-sm-center" href="https://mycard.world/">首页</a>
<a class="nav-link flex-sm-fill text-sm-center" href="https://ygobbs.com/">社区</a> <a class="nav-link flex-sm-fill text-sm-center" href="https://ygobbs2.com/">社区</a>
<a class="nav-link flex-sm-fill text-sm-center" <a class="nav-link flex-sm-fill text-sm-center"
href="https://mycard.moe/ygopro/arena/index.html#/">决斗数据库</a> href="https://mycard.world/ygopro/arena/index.html#/">决斗数据库</a>
<a class="nav-link flex-sm-fill text-sm-center" href="https://event.ygobbs.com/">赛事系统</a> <a class="nav-link flex-sm-fill text-sm-center" href="https://event.ygobbs2.com/">赛事系统</a>
<a class="nav-link flex-sm-fill text-sm-center" href="https://accounts.moecube.com/profiles">用户中心</a> <a class="nav-link flex-sm-fill text-sm-center" href="https://accounts.moecube.com/profiles">用户中心</a>
<a class="nav-link flex-sm-fill text-sm-center" href="https://accounts.moecube.com/signup">注册账号</a> <a class="nav-link flex-sm-fill text-sm-center" href="https://accounts.moecube.com/signup">注册账号</a>
</div> </div>
...@@ -367,7 +367,7 @@ ...@@ -367,7 +367,7 @@
</p> </p>
<p style="font-size: 1em;color:#313154;">{{matchCount.year}}年{{matchCount.month}} <p style="font-size: 1em;color:#313154;">{{matchCount.year}}年{{matchCount.month}}
月进行了 {{matchCount.count}} 场对战</p> 月进行了 {{matchCount.count}} 场对战</p>
<button class="btn btn-primary" (click)='navigateToUrl("https://mycard.moe/ygopro/arena")'>>>&nbsp;进入决斗数据库 <button class="btn btn-primary" (click)='navigateToUrl("https://mycard.world/ygopro/arena")'>>>&nbsp;进入决斗数据库
</button> </button>
</div> </div>
<!-- 全明星--> <!-- 全明星-->
...@@ -380,7 +380,7 @@ ...@@ -380,7 +380,7 @@
节假日更会举办各类趣味活动 <br/> 节假日更会举办各类趣味活动 <br/>
让你的游戏人生有趣起来 <br/> 让你的游戏人生有趣起来 <br/>
</p> </p>
<button class="btn btn-primary" (click)='navigateToUrl("https://event.ygobbs.com")'>>>&nbsp;查看近期赛事 <button class="btn btn-primary" (click)='navigateToUrl("https://event.ygobbs2.com")'>>>&nbsp;查看近期赛事
</button> </button>
</div> </div>
...@@ -409,7 +409,7 @@ ...@@ -409,7 +409,7 @@
</p> </p>
<p style="font-size: 1em;color:#313154;">{{matchCount.year}}年{{matchCount.month}}月进行了 {{matchCount.count}} <p style="font-size: 1em;color:#313154;">{{matchCount.year}}年{{matchCount.month}}月进行了 {{matchCount.count}}
场对战</p> 场对战</p>
<button class="btn btn-primary" (click)='navigateToUrl("https://mycard.moe/ygopro/arena")'>>>&nbsp;进入决斗数据库 <button class="btn btn-primary" (click)='navigateToUrl("https://mycard.world/ygopro/arena")'>>>&nbsp;进入决斗数据库
</button> </button>
</div> </div>
<!-- 全明星--> <!-- 全明星-->
...@@ -422,7 +422,7 @@ ...@@ -422,7 +422,7 @@
节假日更会举办各类趣味活动 <br/> 节假日更会举办各类趣味活动 <br/>
让你的游戏人生有趣起来 <br/> 让你的游戏人生有趣起来 <br/>
</p> </p>
<button class="btn btn-primary" (click)='navigateToUrl("https://event.ygobbs.com")'>>>&nbsp;查看近期赛事 <button class="btn btn-primary" (click)='navigateToUrl("https://event.ygobbs2.com")'>>>&nbsp;查看近期赛事
</button> </button>
</div> </div>
</div> </div>
...@@ -432,8 +432,3 @@ ...@@ -432,8 +432,3 @@
<p class="m-3">© MyCard 2021 all rights reserved.</p> <p class="m-3">© MyCard 2021 all rights reserved.</p>
</footer> </footer>
</div> </div>
...@@ -39,7 +39,7 @@ export class LayoutComponent implements OnInit, AfterViewInit { ...@@ -39,7 +39,7 @@ export class LayoutComponent implements OnInit, AfterViewInit {
latest_current = '' latest_current = ''
stats_signups = this.http stats_signups = this.http
.get('https://ygobbs.com/admin/dashboard.json', { .get('https://ygobbs2.com/admin/dashboard.json', {
params: {api_key: 'dc7298a754828b3d26b709f035a0eeceb43e73cbd8c4fa8dec18951f8a95d2bc', api_username: 'zh99998'} params: {api_key: 'dc7298a754828b3d26b709f035a0eeceb43e73cbd8c4fa8dec18951f8a95d2bc', api_username: 'zh99998'}
}) })
.pipe(map((data: any) => data.global_reports.find((item: { type: any; }) => item.type === 'signups').total)); .pipe(map((data: any) => data.global_reports.find((item: { type: any; }) => item.type === 'signups').total));
......
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