Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xplot
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
digit_plot
xplot
Commits
1069c68e
Commit
1069c68e
authored
Aug 29, 2024
by
dliangx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change level 1 page name
parent
16bb0fc3
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
src/App.tsx
+4
-4
src/components/common/Footer.tsx
+2
-2
src/components/layers/Layers.tsx
+3
-3
src/components/toolkit/Toolkit.tsx
+3
-3
No files found.
src/App.tsx
View file @
1069c68e
...
...
@@ -4,8 +4,8 @@ import { BrowserRouter, Route, Routes } from "react-router-dom";
import
Login
from
"./components/login/Login"
;
import
Register
from
"./components/login/Register"
;
import
Land
from
"./components/land/Land"
;
import
Notify
from
"./components/notify/Notify
"
;
import
Sale
from
"./components/sale/Sale
"
;
import
Layers
from
"./components/layers/Layers
"
;
import
Toolkit
from
"./components/toolkit/Toolkit
"
;
import
User
from
"./components/user/User"
;
type
AppContextType
=
{
theme
:
string
;
...
...
@@ -54,8 +54,8 @@ function App() {
<
BrowserRouter
>
<
Routes
>
<
Route
path=
"/"
element=
{
<
Land
/>
}
></
Route
>
<
Route
path=
"/
notify"
element=
{
<
Notify
/>
}
></
Route
>
<
Route
path=
"/
sale"
element=
{
<
Sale
/>
}
></
Route
>
<
Route
path=
"/
toolkit"
element=
{
<
Toolkit
/>
}
></
Route
>
<
Route
path=
"/
layers"
element=
{
<
Layers
/>
}
></
Route
>
<
Route
path=
"/user"
element=
{
<
User
/>
}
></
Route
>
<
Route
path=
"/login"
element=
{
<
Login
/>
}
/>
<
Route
path=
"/register"
element=
{
<
Register
/>
}
/>
...
...
src/components/common/Footer.tsx
View file @
1069c68e
...
...
@@ -33,7 +33,7 @@ const Footer = () => {
<
div
className=
"w-1/4 grid place-items-center "
>
<
Link
to=
"/
notify
"
to=
"/
toolkit
"
onClick=
{
()
=>
{
setTabIndex
(
2
);
}
}
...
...
@@ -55,7 +55,7 @@ const Footer = () => {
</
div
>
<
div
className=
"w-1/4 grid place-items-center"
>
<
Link
to=
"/
sale
"
to=
"/
layers
"
onClick=
{
()
=>
{
setTabIndex
(
3
);
}
}
...
...
src/components/
notify/Notify
.tsx
→
src/components/
layers/Layers
.tsx
View file @
1069c68e
import
Footer
from
"../common/Footer"
const
Notify
=
()
=>
{
const
Layers
=
()
=>
{
return
(<>
<
Footer
></
Footer
>
</>)
}
export
default
Notify
;
\ No newline at end of file
export
default
Layers
;
\ No newline at end of file
src/components/
sale/Sale
.tsx
→
src/components/
toolkit/Toolkit
.tsx
View file @
1069c68e
import
Footer
from
"../common/Footer"
const
Sale
=
()
=>
{
const
Toolkit
=
()
=>
{
return
(<>
<
Footer
></
Footer
>
</>)
}
export
default
Sale
;
\ No newline at end of file
export
default
Toolkit
;
\ No newline at end of file
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