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
f5ebd782
Commit
f5ebd782
authored
Aug 02, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
also replace some urls
parent
96bec59f
Pipeline
#4444
passed with stages
in 5 minutes and 26 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
src/app/layout/layout.component.html
src/app/layout/layout.component.html
+7
-7
src/app/layout/layout.component.ts
src/app/layout/layout.component.ts
+6
-6
No files found.
src/app/layout/layout.component.html
View file @
f5ebd782
<nz-layout
class=
"layout"
>
<nz-affix
class=
"nav-affix"
>
<nz-header
id=
"nav-header"
class=
"nav"
>
<img
class=
"logo"
src=
"https://cdn0
1.moecube.com
/store/zh-CN/assets/logo.png"
/>
<img
class=
"logo"
src=
"https://cdn0
2.moecube.com:444
/store/zh-CN/assets/logo.png"
/>
<ul
id=
"nav-ul"
nz-menu
[nzTheme]=
"'dark'"
[nzMode]=
"'horizontal'"
style=
"line-height: 64px;"
>
<li
nz-menu-item
><a
href=
"https://mycard.moe/"
>
首页
</a></li>
<li
nz-menu-item
><a
href=
"https://ygobbs.com/"
>
社区
</a></li>
...
...
@@ -111,25 +111,25 @@
<img
class=
"section-third-pic"
src=
"assets/img/ygopro-screenshot-1.jpg"
/>
</div>
<div
nz-col
nzSpan=
"6"
>
<img
class=
"section-third-pic"
src=
"https://cdn0
1.moecube.com
/store/en-US/assets/ozns_1.jpg"
/>
<img
class=
"section-third-pic"
src=
"https://cdn0
2.moecube.com:444
/store/en-US/assets/ozns_1.jpg"
/>
</div>
<div
nz-col
nzSpan=
"6"
>
<img
class=
"section-third-pic"
src=
"https://cdn0
1.moecube.com
/store/en-US/assets/eddyviolet_1.jpg"
/>
<img
class=
"section-third-pic"
src=
"https://cdn0
2.moecube.com:444
/store/en-US/assets/eddyviolet_1.jpg"
/>
</div>
<div
nz-col
nzSpan=
"6"
>
<img
class=
"section-third-pic"
src=
"https://cdn0
1.moecube.com
/store/en-US/assets/df02_1.jpg"
/>
<img
class=
"section-third-pic"
src=
"https://cdn0
2.moecube.com:444
/store/en-US/assets/df02_1.jpg"
/>
</div>
<div
nz-col
nzSpan=
"6"
>
<img
class=
"section-third-pic"
src=
"assets/img/ygopro-screenshot-2.jpg"
/>
</div>
<div
nz-col
nzSpan=
"6"
>
<img
class=
"section-third-pic"
src=
"https://cdn0
1.moecube.com
/store/en-US/assets/ozns_2.jpg"
/>
<img
class=
"section-third-pic"
src=
"https://cdn0
2.moecube.com:444
/store/en-US/assets/ozns_2.jpg"
/>
</div>
<div
nz-col
nzSpan=
"6"
>
<img
class=
"section-third-pic"
src=
"https://cdn0
1.moecube.com
/store/en-US/assets/eddyviolet_2.jpg"
/>
<img
class=
"section-third-pic"
src=
"https://cdn0
2.moecube.com:444
/store/en-US/assets/eddyviolet_2.jpg"
/>
</div>
<div
nz-col
nzSpan=
"6"
>
<img
class=
"section-third-pic"
src=
"https://cdn0
1.moecube.com
/store/en-US/assets/df02_2.jpg"
/>
<img
class=
"section-third-pic"
src=
"https://cdn0
2.moecube.com:444
/store/en-US/assets/df02_2.jpg"
/>
</div>
</div>
</div>
...
...
src/app/layout/layout.component.ts
View file @
f5ebd782
...
...
@@ -22,16 +22,16 @@ export class LayoutComponent implements OnInit {
}
latest_win32
=
this
.
http
.
get
(
'
https://cdn0
1.moecube.com
/downloads/latest.yml
'
,
{
responseType
:
'
text
'
})
.
pipe
(
map
(
rawData
=>
'
https://cdn0
1.moecube.com
/downloads/
'
+
yaml
.
parse
(
rawData
).
path
));
.
get
(
'
https://cdn0
2.moecube.com:444
/downloads/latest.yml
'
,
{
responseType
:
'
text
'
})
.
pipe
(
map
(
rawData
=>
'
https://cdn0
2.moecube.com:444
/downloads/
'
+
yaml
.
parse
(
rawData
).
path
));
latest_linux
=
this
.
http
.
get
(
'
https://cdn0
1.moecube.com
/downloads/latest-linux.yml
'
,
{
responseType
:
'
text
'
})
.
pipe
(
map
(
rawData
=>
'
https://cdn0
1.moecube.com
/downloads/
'
+
yaml
.
parse
(
rawData
).
path
));
.
get
(
'
https://cdn0
2.moecube.com:444
/downloads/latest-linux.yml
'
,
{
responseType
:
'
text
'
})
.
pipe
(
map
(
rawData
=>
'
https://cdn0
2.moecube.com:444
/downloads/
'
+
yaml
.
parse
(
rawData
).
path
));
latest_drawin
=
this
.
http
.
get
(
'
https://cdn0
1.moecube.com
/downloads/latest-mac.yml
'
,
{
responseType
:
'
text
'
})
.
pipe
(
map
((
rawData
)
=>
'
https://cdn0
1.moecube.com
/downloads/
'
+
yaml
.
parse
(
rawData
).
path
.
replace
(
'
-mac.zip
'
,
'
.dmg
'
)));
.
get
(
'
https://cdn0
2.moecube.com:444
/downloads/latest-mac.yml
'
,
{
responseType
:
'
text
'
})
.
pipe
(
map
((
rawData
)
=>
'
https://cdn0
2.moecube.com:444
/downloads/
'
+
yaml
.
parse
(
rawData
).
path
.
replace
(
'
-mac.zip
'
,
'
.dmg
'
)));
latest_current
=
''
...
...
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