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
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
love_飞影
Neos
Commits
c97d418d
Commit
c97d418d
authored
Jul 26, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update small
parent
b1280e79
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/ui/Start/index.module.scss
src/ui/Start/index.module.scss
+0
-0
src/ui/Start/index.tsx
src/ui/Start/index.tsx
+6
-6
No files found.
src/ui/Start/index.scss
→
src/ui/Start/index.
module.
scss
View file @
c97d418d
File moved
src/ui/Start/index.tsx
View file @
c97d418d
import
"
./index.scss
"
;
import
React
from
"
react
"
;
import
React
from
"
react
"
;
import
{
useNavigate
}
from
"
react-router-dom
"
;
import
{
useNavigate
}
from
"
react-router-dom
"
;
import
{
useConfig
}
from
"
@/config
"
;
import
{
useConfig
}
from
"
@/config
"
;
import
styles
from
"
./index.module.scss
"
;
const
NeosConfig
=
useConfig
();
const
NeosConfig
=
useConfig
();
const
Start
:
React
.
FC
=
()
=>
{
const
Start
:
React
.
FC
=
()
=>
{
const
navigate
=
useNavigate
();
const
navigate
=
useNavigate
();
return
(
return
(
<>
<>
<
div
className=
"mycard-header"
>
<
div
className=
{
styles
[
"
mycard-header
"
]
}
>
<
a
className=
"mycard-logo"
href=
"https://mycard.moe/"
>
<
a
href=
"https://mycard.moe/"
>
<
img
<
img
src=
{
`${NeosConfig.assetsPath}/mycard_logo.png`
}
src=
{
`${NeosConfig.assetsPath}/mycard_logo.png`
}
alt=
"MyCard"
alt=
"MyCard"
...
@@ -20,8 +20,8 @@ const Start: React.FC = () => {
...
@@ -20,8 +20,8 @@ const Start: React.FC = () => {
/>
/>
</
a
>
</
a
>
</
div
>
</
div
>
<
div
className=
"wrapper"
>
<
div
className=
{
styles
.
wrapper
}
>
<
div
role=
"banner"
className=
"neos-header"
>
<
div
role=
"banner"
className=
{
styles
[
"
neos-header
"
]
}
>
<
div
>
<
div
>
<
h1
>
<
h1
>
<
img
<
img
...
...
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