Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dashboard
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
red-giant
dashboard
Commits
f6459ab0
Commit
f6459ab0
authored
4 years ago
by
fmazzini
Browse files
Options
Downloads
Patches
Plain Diff
Fixed Project
parent
40337da2
No related branches found
No related tags found
No related merge requests found
Pipeline
#11531
passed
4 years ago
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/App.tsx
+1
-1
1 addition, 1 deletion
src/App.tsx
src/components/AuthUser/Homepage/Header.tsx
+19
-33
19 additions, 33 deletions
src/components/AuthUser/Homepage/Header.tsx
src/components/AuthUser/Homepage/HomePage.tsx
+18
-25
18 additions, 25 deletions
src/components/AuthUser/Homepage/HomePage.tsx
with
38 additions
and
59 deletions
src/App.tsx
+
1
−
1
View file @
f6459ab0
import
React
,
{
FC
}
from
'
react
'
;
import
React
,
{
FC
}
from
'
react
'
;
import
{
BrowserRouter
as
Router
,
Switch
,
Route
}
from
'
react-router-dom
'
;
import
{
BrowserRouter
as
Router
,
Switch
,
Route
}
from
'
react-router-dom
'
;
import
HomePage
from
'
./components/AuthUser/Homepage/HomePage
'
;
import
{
HomePage
}
from
'
./components/AuthUser/Homepage/HomePage
'
;
export
const
App
:
FC
=
()
=>
(
export
const
App
:
FC
=
()
=>
(
<
Router
>
<
Router
>
...
...
This diff is collapsed.
Click to expand it.
src/components/AuthUser/Homepage/Header.tsx
+
19
−
33
View file @
f6459ab0
import
React
from
"
react
"
;
import
React
,
{
FC
}
from
'
react
'
;
import
{
AppBar
,
Toolbar
,
Button
}
from
'
@material-ui/core
'
;
import
{
makeStyles
}
from
'
@material-ui/core/styles
'
;
import
{
makeStyles
}
from
'
@material-ui/core/styles
'
;
import
{
AppBar
,
Toolbar
,
Button
}
from
"
@material-ui/core
"
;
//import { Home }from "@material-ui/icons";
const
useStyles
=
makeStyles
((
theme
)
=>
({
const
useStyles
=
makeStyles
((
theme
)
=>
({
button
:
{
button
:
{
margin
:
theme
.
spacing
(
1
),
margin
:
theme
.
spacing
(
1
),
},
},
}));
}));
const
Header
=
()
=>
{
export
const
Header
:
FC
=
()
=>
{
const
classes
=
useStyles
();
const
classes
=
useStyles
;
return
(
return
(
<
AppBar
position
=
"static"
>
<
Toolbar
>
<
AppBar
position
=
"static"
>
<
Button
variant
=
"contained"
className
=
{
classes
.
button
}
>
Home
<
Toolbar
>
</
Button
>
<
Button
</
Toolbar
>
variant
=
"contained"
</
AppBar
>
//color="primary"
);
className
=
{
classes
.
button
}
//startIcon={<Home />}
>
Home
</
Button
>
</
Toolbar
>
</
AppBar
>
);
};
};
export
default
Header
;
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/components/AuthUser/Homepage/HomePage.tsx
+
18
−
25
View file @
f6459ab0
import
React
from
"
react
"
;
import
React
,
{
FC
}
from
'
react
'
;
import
Header
from
"
./Header
"
;
import
{
CssBaseline
,
Grid
}
from
'
@material-ui/core
'
;
import
{
CssBaseline
,
Grid
}
from
"
@material-ui/core
"
;
import
{
Header
}
from
'
./Header
'
;
const
HomePage
=
()
=>
{
export
const
HomePage
:
FC
=
()
=>
(
<
Grid
container
direction
=
"column"
>
return
(
<
Grid
item
>
<
CssBaseline
/>
<
Grid
container
direction
=
"column"
>
<
Header
/>
<
Grid
item
>
</
Grid
>
<
CssBaseline
/>
<
Grid
item
container
>
<
Header
/>
<
Grid
item
xs
=
{
false
}
sm
=
{
2
}
/>
</
Grid
>
<
Grid
item
xs
=
{
12
}
sm
=
{
8
}
>
<
Grid
item
container
>
Content
<
Grid
item
xs
=
{
false
}
sm
=
{
2
}
/>
</
Grid
>
<
Grid
item
xs
=
{
12
}
sm
=
{
8
}
>
<
Grid
item
xs
=
{
false
}
sm
=
{
2
}
/>
</
Grid
>
</
Grid
>
</
Grid
>
<
Grid
item
xs
=
{
false
}
sm
=
{
2
}
/>
);
</
Grid
>
</
Grid
>
);
};
export
default
HomePage
;
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment