Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Genesys Website
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Genesys PGR
Genesys Website
Commits
a009e779
Commit
a009e779
authored
Apr 22, 2019
by
Viacheslav Pavlov
Committed by
Matija Obreza
Apr 30, 2019
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Banner on the home page is shifted
- Added mock background image with minimal resolution
parent
113a7e1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
16 deletions
+29
-16
assets/images/entrypage.jpg
assets/images/entrypage.jpg
+0
-0
src/ui/pages/welcome/index.tsx
src/ui/pages/welcome/index.tsx
+29
-16
No files found.
assets/images/entrypage.jpg
0 → 100644
View file @
a009e779
123 KB
src/ui/pages/welcome/index.tsx
View file @
a009e779
import
*
as
React
from
'
react
'
;
import
{
connect
}
from
'
react-redux
'
;
import
{
bindActionCreators
}
from
'
redux
'
;
import
{
withStyles
}
from
'
@material-ui/core/styles
'
;
import
{
connect
}
from
'
react-redux
'
;
import
{
bindActionCreators
}
from
'
redux
'
;
import
{
withStyles
}
from
'
@material-ui/core/styles
'
;
import
{
translate
}
from
'
react-i18next
'
;
// import { navigateTo } from 'actions/navigation';
...
...
@@ -36,20 +36,31 @@ const styles = (theme) => ({
},
},
backgroundImageWrapper
:{
marginTop
:
'
-25%
'
,
display
:
'
flex
'
,
alignItems
:
'
center
'
as
'
center
'
,
justifyContent
:
'
center
'
as
'
center
'
,
width
:
'
100%
'
,
zIndex
:
-
1
,
},
backgroundImage
:
{
top
:
'
-50%
'
,
display
:
'
block
'
as
'
block
'
,
marginBottom
:
'
-100%
'
,
backgroundImage
:
'
url(/images/entrypage.jpg)
'
,
backgroundRepeat
:
'
no-repeat
'
as
'
no-repeat
'
,
backgroundSize
:
'
cover
'
as
'
cover
'
,
position
:
'
absolute
'
as
'
absolute
'
,
width
:
'
100vw
'
,
'
& > img
'
:
{
width
:
'
100vw
'
,
},
[
theme
.
breakpoints
.
down
(
'
sm
'
)]:
{
minWidth
:
'
1000px
'
,
width
:
'
110%
'
,
marginTop
:
'
0px
'
,
width
:
'
initial
'
,
'
& > img
'
:
{
width
:
'
initial
'
,
},
},
},
background
:
{
overflow
:
'
hidden
'
as
'
hidden
'
,
position
:
'
relative
'
as
'
relative
'
,
},
searchBox
:
{
textAlign
:
'
center
'
as
'
center
'
,
...
...
@@ -311,12 +322,14 @@ class WelcomePage extends React.Component<IWelcomeProps, any> {
<
Markdown
source
=
{
t
(
'
common.tagline
'
)
}
/>
</
div
>
<
Grid
container
spacing
=
{
0
}
className
=
{
classes
.
background
}
>
<
div
className
=
{
classes
.
backgroundImageWrapper
}
>
<
img
className
=
{
classes
.
backgroundImage
}
srcSet
=
"
images
/
entrypage1x
.
jpg
1000w
,
images
/
entrypage2x
.
jpg
2000w
,
images
/
entrypage4x
.
jpg
4000w
"
/>
<
div
className
=
{
classes
.
backgroundImageWrapper
}
>
<
picture
className
=
{
classes
.
backgroundImage
}
>
<
source
key
=
"1"
srcSet
=
"images/entrypage.jpg"
media
=
"(max-width: 500px)"
/>
<
source
key
=
"2"
srcSet
=
"images/entrypage1x.jpg"
media
=
"(max-width: 1000px)"
/>
<
source
key
=
"3"
srcSet
=
"images/entrypage2x.jpg"
media
=
"(max-width: 2000px)"
/>
<
source
key
=
"4"
srcSet
=
"images/entrypage4x.jpg"
media
=
"(min-width: 2001px)"
/>
<
img
src
=
"images/entrypage.jpg"
/>
</
picture
>
</
div
>
<
Grid
item
xs
=
{
12
}
>
<
div
className
=
{
classes
.
searchBox
}
>
...
...
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