Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kszkepzes-frontend
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
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
Köpeczi-Bócz Gergely
kszkepzes-frontend
Commits
41c5a80a
Commit
41c5a80a
authored
6 years ago
by
Chif Gergő
Browse files
Options
Downloads
Patches
Plain Diff
Add imports to MobileContainer, modify Header in App.js
parent
d6ea73a8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/App.js
+5
-6
5 additions, 6 deletions
src/components/App.js
src/components/menus/MobileContainer.js
+5
-2
5 additions, 2 deletions
src/components/menus/MobileContainer.js
with
10 additions
and
8 deletions
src/components/App.js
+
5
−
6
View file @
41c5a80a
...
...
@@ -5,12 +5,11 @@ import Footer from './Footer';
const
App
=
()
=>
(
<
div
style
=
{{
minHeight
:
'
100%
'
,
position
:
'
relative
'
}}
>
<
header
id
=
'
header
'
>
<
Header
/>
<
/header
>
<
main
id
=
'
main
'
style
=
{{
minHeight
:
'
100%
'
,
position
:
'
relative
'
}}
>
<
Main
/>
<
/main
>
<
Header
className
=
'
header
'
>
<
main
id
=
'
main
'
style
=
{{
minHeight
:
'
100%
'
,
position
:
'
relative
'
}}
>
<
Main
/>
<
/main
>
<
/Header
>
<
footer
id
=
'
footer
'
style
=
{{
position
:
'
absolute
'
,
width
:
'
100%
'
,
bottom
:
'
0
'
}}
>
<
Footer
/>
<
/footer
>
...
...
This diff is collapsed.
Click to expand it.
src/components/menus/MobileContainer.js
+
5
−
2
View file @
41c5a80a
...
...
@@ -6,8 +6,11 @@ import {
Button
,
Segment
,
Image
,
Responsive
,
Sidebar
,
Icon
,
}
from
'
semantic-ui-react
'
;
import
KSZKlogo
from
'
./images/kszk_logo.svg
'
;
import
KSZKlogo
from
'
.
.
/images/kszk_logo.svg
'
;
class
MobileContainer
extends
Component
{
...
...
@@ -23,7 +26,7 @@ class MobileContainer extends Component {
render
()
{
const
visible
=
this
.
state
.
sidebarVisible
;
const
{
children
,
user
}
=
this
.
props
;
const
{
children
,
user
,
menuItems
}
=
this
.
props
;
return
(
<
Responsive
maxWidth
=
{
768
}
>
<
Segment
inverted
textAlign
=
'
center
'
vertical
>
...
...
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