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
911779da
Commit
911779da
authored
Sep 02, 2024
by
dliangx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add home page
parent
229ad923
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletions
+14
-1
src/App.tsx
+3
-1
src/components/home/Home.tsx
+11
-0
No files found.
src/App.tsx
View file @
911779da
...
...
@@ -7,6 +7,7 @@ import Land from "./components/land/Land";
import
Layers
from
"./components/layers/Layers"
;
import
Toolkit
from
"./components/toolkit/Toolkit"
;
import
User
from
"./components/user/User"
;
import
Home
from
"./components/home/Home"
;
type
AppContextType
=
{
theme
:
string
;
tabIndex
:
number
;
...
...
@@ -53,7 +54,8 @@ function App() {
>
<
BrowserRouter
>
<
Routes
>
<
Route
path=
"/"
element=
{
<
Land
/>
}
></
Route
>
<
Route
path=
"/"
element=
{
<
Home
/>
}
></
Route
>
<
Route
path=
"/land"
element=
{
<
Land
/>
}
></
Route
>
<
Route
path=
"/toolkit"
element=
{
<
Toolkit
/>
}
></
Route
>
<
Route
path=
"/layers"
element=
{
<
Layers
/>
}
></
Route
>
<
Route
path=
"/user"
element=
{
<
User
/>
}
></
Route
>
...
...
src/components/home/Home.tsx
0 → 100644
View file @
911779da
import
Footer
from
"../common/Footer"
;
const
Home
=
()
=>
{
return
(
<>
<
Footer
></
Footer
>
</>
);
};
export
default
Home
;
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