Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
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
Neos
Commits
31dfb3b5
Commit
31dfb3b5
authored
Apr 29, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename PlayMat2 to PlayMat
parent
f8176abc
Pipeline
#21450
failed with stages
in 58 seconds
Changes
7
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1 addition
and
63 deletions
+1
-63
src/ui/Duel/Layout.tsx
src/ui/Duel/Layout.tsx
+0
-62
src/ui/Duel/Main.tsx
src/ui/Duel/Main.tsx
+1
-1
src/ui/Duel/PlayMat/Block.tsx
src/ui/Duel/PlayMat/Block.tsx
+0
-0
src/ui/Duel/PlayMat/Card.tsx
src/ui/Duel/PlayMat/Card.tsx
+0
-0
src/ui/Duel/PlayMat/Mat.tsx
src/ui/Duel/PlayMat/Mat.tsx
+0
-0
src/ui/Duel/PlayMat/Menu.tsx
src/ui/Duel/PlayMat/Menu.tsx
+0
-0
src/ui/Duel/PlayMat/index.ts
src/ui/Duel/PlayMat/index.ts
+0
-0
No files found.
src/ui/Duel/Layout.tsx
deleted
100644 → 0
View file @
f8176abc
import
{
Layout
}
from
"
antd
"
;
import
React
from
"
react
"
;
import
{
useConfig
}
from
"
@/config
"
;
const
NeosConfig
=
useConfig
();
const
layoutConfig
=
NeosConfig
.
ui
.
layout
;
const
{
Header
,
Footer
,
Sider
,
Content
}
=
Layout
;
const
headerStyle
:
React
.
CSSProperties
=
{
textAlign
:
"
center
"
,
alignContent
:
"
center
"
,
color
:
"
#fff
"
,
height
:
layoutConfig
.
header
.
height
,
};
const
contentStyle
:
React
.
CSSProperties
=
{
textAlign
:
"
center
"
,
minHeight
:
120
,
height
:
layoutConfig
.
content
.
height
,
lineHeight
:
"
120px
"
,
paddingLeft
:
`
${
layoutConfig
.
sider
.
width
}
px`
,
};
const
siderStyle
:
React
.
CSSProperties
=
{
lineHeight
:
"
120px
"
,
position
:
"
fixed
"
,
overflow
:
"
auto
"
,
height
:
"
100vh
"
,
padding
:
"
50px 20px
"
,
color
:
"
#fff
"
,
};
const
footerStyle
:
React
.
CSSProperties
=
{
textAlign
:
"
center
"
,
height
:
layoutConfig
.
footer
.
height
,
color
:
"
#fff
"
,
paddingLeft
:
`
${
layoutConfig
.
sider
.
width
}
px`
,
};
const
NeosLayout
=
(
props
:
{
sider
:
React
.
ReactNode
;
header
:
React
.
ReactNode
;
content
:
React
.
ReactNode
;
footer
:
React
.
ReactNode
;
})
=>
{
return
(
<
Layout
hasSider
>
<
Sider
style=
{
siderStyle
}
width=
{
layoutConfig
.
sider
.
width
}
>
{
props
.
sider
}
</
Sider
>
<
Layout
>
<
Header
style=
{
headerStyle
}
>
{
props
.
header
}
</
Header
>
<
Content
style=
{
contentStyle
}
>
{
props
.
content
}
</
Content
>
<
Footer
style=
{
footerStyle
}
>
{
props
.
footer
}
</
Footer
>
</
Layout
>
</
Layout
>
);
};
export
default
NeosLayout
;
src/ui/Duel/Main.tsx
View file @
31dfb3b5
...
@@ -14,7 +14,7 @@ import {
...
@@ -14,7 +14,7 @@ import {
SortCardModal
,
SortCardModal
,
YesNoModal
,
YesNoModal
,
}
from
"
./Message
"
;
}
from
"
./Message
"
;
import
Mat
from
"
./PlayMat
2
"
;
import
Mat
from
"
./PlayMat
"
;
const
NeosDuel
=
()
=>
{
const
NeosDuel
=
()
=>
{
return
(
return
(
...
...
src/ui/Duel/PlayMat
2
/Block.tsx
→
src/ui/Duel/PlayMat/Block.tsx
View file @
31dfb3b5
File moved
src/ui/Duel/PlayMat
2
/Card.tsx
→
src/ui/Duel/PlayMat/Card.tsx
View file @
31dfb3b5
File moved
src/ui/Duel/PlayMat
2
/Mat.tsx
→
src/ui/Duel/PlayMat/Mat.tsx
View file @
31dfb3b5
File moved
src/ui/Duel/PlayMat
2
/Menu.tsx
→
src/ui/Duel/PlayMat/Menu.tsx
View file @
31dfb3b5
File moved
src/ui/Duel/PlayMat
2
/index.ts
→
src/ui/Duel/PlayMat/index.ts
View file @
31dfb3b5
File moved
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