Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Store
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Moecube Store
Commits
7eaa6f40
Commit
7eaa6f40
authored
Sep 19, 2024
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix links
parent
a92246b5
Pipeline
#29859
passed with stages
in 57 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
15 deletions
+10
-15
src/app/layout/layout.component.html
src/app/layout/layout.component.html
+9
-14
src/app/layout/layout.component.ts
src/app/layout/layout.component.ts
+1
-1
No files found.
src/app/layout/layout.component.html
View file @
7eaa6f40
...
...
@@ -3,7 +3,7 @@
<div
class=
"priority"
id=
"background"
>
<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"
>
<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
</a>
<button
class=
"navbar-toggler"
type=
"button"
data-bs-toggle=
"collapse"
data-bs-target=
"#navbarNavAltMarkup"
...
...
@@ -12,11 +12,11 @@
</button>
<div
class=
"collapse navbar-collapse"
id=
"navbarNavAltMarkup"
>
<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://ygobbs.com/"
>
社区
</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
2
.com/"
>
社区
</a>
<a
class=
"nav-link flex-sm-fill text-sm-center"
href=
"https://mycard.
moe
/ygopro/arena/index.html#/"
>
决斗数据库
</a>
<a
class=
"nav-link flex-sm-fill text-sm-center"
href=
"https://event.ygobbs.com/"
>
赛事系统
</a>
href=
"https://mycard.
world
/ygopro/arena/index.html#/"
>
决斗数据库
</a>
<a
class=
"nav-link flex-sm-fill text-sm-center"
href=
"https://event.ygobbs
2
.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/signup"
>
注册账号
</a>
</div>
...
...
@@ -367,7 +367,7 @@
</p>
<p
style=
"font-size: 1em;color:#313154;"
>
{{matchCount.year}}年{{matchCount.month}}
月进行了 {{matchCount.count}} 场对战
</p>
<button
class=
"btn btn-primary"
(click)=
'navigateToUrl("https://mycard.
moe
/ygopro/arena")'
>
>>
进入决斗数据库
<button
class=
"btn btn-primary"
(click)=
'navigateToUrl("https://mycard.
world
/ygopro/arena")'
>
>>
进入决斗数据库
</button>
</div>
<!-- 全明星-->
...
...
@@ -380,7 +380,7 @@
节假日更会举办各类趣味活动
<br/>
让你的游戏人生有趣起来
<br/>
</p>
<button
class=
"btn btn-primary"
(click)=
'navigateToUrl("https://event.ygobbs.com")'
>
>>
查看近期赛事
<button
class=
"btn btn-primary"
(click)=
'navigateToUrl("https://event.ygobbs
2
.com")'
>
>>
查看近期赛事
</button>
</div>
...
...
@@ -409,7 +409,7 @@
</p>
<p
style=
"font-size: 1em;color:#313154;"
>
{{matchCount.year}}年{{matchCount.month}}月进行了 {{matchCount.count}}
场对战
</p>
<button
class=
"btn btn-primary"
(click)=
'navigateToUrl("https://mycard.
moe
/ygopro/arena")'
>
>>
进入决斗数据库
<button
class=
"btn btn-primary"
(click)=
'navigateToUrl("https://mycard.
world
/ygopro/arena")'
>
>>
进入决斗数据库
</button>
</div>
<!-- 全明星-->
...
...
@@ -422,7 +422,7 @@
节假日更会举办各类趣味活动
<br/>
让你的游戏人生有趣起来
<br/>
</p>
<button
class=
"btn btn-primary"
(click)=
'navigateToUrl("https://event.ygobbs.com")'
>
>>
查看近期赛事
<button
class=
"btn btn-primary"
(click)=
'navigateToUrl("https://event.ygobbs
2
.com")'
>
>>
查看近期赛事
</button>
</div>
</div>
...
...
@@ -432,8 +432,3 @@
<p
class=
"m-3"
>
© MyCard 2021 all rights reserved.
</p>
</footer>
</div>
src/app/layout/layout.component.ts
View file @
7eaa6f40
...
...
@@ -39,7 +39,7 @@ export class LayoutComponent implements OnInit, AfterViewInit {
latest_current
=
''
stats_signups
=
this
.
http
.
get
(
'
https://ygobbs.com/admin/dashboard.json
'
,
{
.
get
(
'
https://ygobbs
2
.com/admin/dashboard.json
'
,
{
params
:
{
api_key
:
'
dc7298a754828b3d26b709f035a0eeceb43e73cbd8c4fa8dec18951f8a95d2bc
'
,
api_username
:
'
zh99998
'
}
})
.
pipe
(
map
((
data
:
any
)
=>
data
.
global_reports
.
find
((
item
:
{
type
:
any
;
})
=>
item
.
type
===
'
signups
'
).
total
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment