Front modification for landing page integration

This commit is contained in:
Hugo Averty 2020-06-01 18:47:54 +02:00
parent 2d20302ab2
commit ee394296ea
11 changed files with 151 additions and 60 deletions

View file

@ -23,67 +23,79 @@
<img src="static/images/logo.png"> <img src="static/images/logo.png">
</div> </div>
<div class="title text-center"> <div class="title text-center">
<h1>Discover a pixelated new world !</h1> <h1>Your workplace<br/>but better</h1>
<h2>Start a casual conversation</h2> <h2>Discover a pixelated new world !</h2>
<h3>Start a casual conversation</h3>
</div> </div>
<div> <div class="row justify-content-md-center pt-5" style="margin-top: 100px;">
<a class="custom-link start" href="#" title="START !" onclick="startGame()"> <div class="col col-lg-3">
</a> <a class="custom-link contribute" href="#" title="CONTRIBUTE !">CONTRIBUTE
</a>
</div>
<div class="col col-lg-3">
<a class="custom-link start" href="#" title="START !" onclick="startGame()">
START !
</a>
</div>
</div> </div>
</div> </div>
</div> </div>
</header> </header>
<div class="container-fluid container-lg section bg-white how-to"> <div class="section bg-white how-to">
<div class="row justify-content-md-center"> <div class="container-fluid container-lg">
<div class="col-12 col-md-3 text-center my-3 my-md-0"> <div class="row justify-content-md-center">
<div class="image-item"> <div class="col-12 col-md-4 text-center my-3 my-md-0">
<img src="static/images/bitmap.png"> <div class="image-item">
<h2>Choose your map</h2> <h2>Choose your map</h2>
<div class="step-image"><img src="static/images/Bitmap3.png"></div>
</div>
</div> </div>
</div> <div class="col-12 col-md-4 text-center my-3 my-md-0">
<div class="col-12 col-md-3 text-center my-3 my-md-0"> <div class="image-item">
<div class="image-item"> <h2>Select your character</h2>
<img src="static/images/bitmap.png"> <div class="step-image"><img src="static/images/Bitmap2.png"></div>
<h2>Select your character</h2> </div>
</div> </div>
</div> <div class="col-12 col-md-4 text-center my-3 my-md-0">
<div class="col-12 col-md-3 text-center my-3 my-md-0"> <div class="image-item">
<div class="image-item"> <h2>Let's go explore and talk&nbsp;!</h2>
<img src="static/images/bitmap.png"> <div class="step-image"><img src="static/images/bitmap.png"></div>
<h2>Let's go explore and talk&nbsp;!</h2> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="row justify-content-md-center pt-5">
<div class="col col-lg-3">
<a class="custom-link light demo" href="#" title="DEMO !" onclick="startGame()">
</a>
</div>
<div class="col col-lg-3">
<a class="custom-link start" href="#" title="START !" onclick="startGame()">
</a>
</div>
</div>
</div> </div>
<div class="section bg-white">
<div class="container-fluid container-lg bg-gray section used-by"> <div class="container-fluid container-lg">
<h2 class="text-center pb-4">Used by millions of people worldwilde and companies such as :</h2> <div class="col-12 credits">
<div class="row justify-content-md-center align-items-center"> <h2>Credits</h2>
<div class="col col-md-auto"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<img src="static/images/atari.png"> <p>Sed ultrices finibus lacus a scelerisque. Mauris non tellus blandit, pulvinar ipsum ac, bibendum ligula. Ut enim est, posuere sit amet nunc nec, vestibulum iaculis est. Cras nec nunc tempor, ultricies felis eget, elementum augue. Nam id gravida erat. Cras vel ligula hendrerit, euismod nulla vestibulum, vulputate tortor. Mauris convallis cursus leo, vitae consectetur magna mollis at.</p>
</div> <p>
<div class="col col-md-auto"> Donec cursus mauris mi, non porttitor neque auctor eget. Pellentesque mi orci, imperdiet vitae malesuada at, sollicitudin vitae justo. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Mauris et cursus enim. Cras viverra lorem in sem hendrerit tempus. Praesent dignissim volutpat lorem, id dapibus turpis placerat eget.
<img src="static/images/super-nintendo.png"> </p>
</div>
<div class="col col-md-auto">
<img src="static/images/amstrad.png">
</div>
<div class="col col-md-auto">
<img src="static/images/sinclair-2.png">
</div> </div>
</div> </div>
</div> </div>
<div class="bg-gray section used-by">
<div class="container-fluid container-lg">
<h2 class="text-center pb-4">Used by millions of people worldwilde and companies such as :</h2>
<div class="row justify-content-md-center align-items-center">
<div class="col col-md-auto">
<img src="static/images/atari.png">
</div>
<div class="col col-md-auto">
<img src="static/images/super-nintendo.png">
</div>
<div class="col col-md-auto">
<img src="static/images/amstrad.png">
</div>
<div class="col col-md-auto">
<img src="static/images/sinclair-2.png">
</div>
</div>
</div>
</div>
<div class="container-fluid container-lg section quotes"> <div class="container-fluid container-lg section quotes">
<h2 class="text-center">People love WorkAdventure</h2> <h2 class="text-center">People love WorkAdventure</h2>
<div class="row justify-content-center"> <div class="row justify-content-center">
@ -103,7 +115,11 @@
</div> </div>
</div> </div>
</div>
<div class="section bg-white footer">
<div class="container-fluid container-lg">
<img src="static/images/Logo TCM.png">
</div>
</div> </div>
</body> </body>

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 KiB

After

Width:  |  Height:  |  Size: 110 KiB

View file

@ -12,12 +12,21 @@
font-weight: normal; font-weight: normal;
src: local('04b03'), url('../fonts/04B_03.woff') format('woff'); src: local('04b03'), url('../fonts/04B_03.woff') format('woff');
} }
@font-face {
font-family: 'Karmatic Arcade';
src: url('../fonts/ka1.ttf') format('truetype');
}
@font-face {
font-family: 'VCR OSD Mono';
src: url('../fonts/VCR_OSD.ttf') format('truetype');
}
header { header {
background: url("../images/header.png") no-repeat; background: #28A7FC url("../images/header.png") no-repeat bottom;
background-size: 100%; background-size: 100%;
height: 28rem; height: 37rem;
background-attachment: fixed;
background-position: 0px 67%;
.section{ .section{
position: relative; position: relative;
} }
@ -28,38 +37,71 @@ header {
top: 0; top: 0;
left: 0; left: 0;
right: 0; right: 0;
height: 33rem;
.logo{ .logo{
margin: 1rem 0; margin: 1rem 0;
} }
.title { .title {
padding: 5rem 0; padding: 5rem 0;
color: black;
h1 {
font-family: 'Karmatic Arcade';
font-size: 44px;
margin-bottom: 20px;
}
} }
} }
} }
.custom-link{ .custom-link{
font-family: "VCR OSD Mono";
font-size: 18px;
letter-spacing: 3,75;
color: white;
display: block; display: block;
margin: 0 auto; margin: 0 auto;
width: 250px; width: 250px;
height: 80px; height: 64px;
background-image: url('../images/btn-bg.png'); background-image: url('../images/btn-bg.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100%; background-size: 100%;
position: relative; position: absolute;
left: 0;
right: 0;
bottom: -24px;
padding: 20px;
text-align: center;
transition: all 0.5s ease;
-webkit-transition: all 500ms cubic-bezier(0.000, 0, 1.000, 1); /* older webkit */
-webkit-transition: all 500ms cubic-bezier(0.000, -0.600, 1.000, 1.650);
-moz-transition: all 500ms cubic-bezier(0.000, -0.600, 1.000, 1.650);
-o-transition: all 500ms cubic-bezier(0.000, -0.600, 1.000, 1.650);
transition: all 500ms cubic-bezier(0.000, -0.600, 1.000, 1.650); /* custom */
-webkit-transition-timing-function: cubic-bezier(0.000, 0, 1.000, 1); /* older webkit */
-webkit-transition-timing-function: cubic-bezier(0.000, -0.600, 1.000, 1.650);
-moz-transition-timing-function: cubic-bezier(0.000, -0.600, 1.000, 1.650);
-o-transition-timing-function: cubic-bezier(0.000, -0.600, 1.000, 1.650);
transition-timing-function: cubic-bezier(0.000, -0.600, 1.000, 1.650); /* custom */
&:hover {
transform: scale(1.1);
color: white;
}
&.contribute {
background-image: url('../images/btn-bg-2.png');
}
&.light{ &.light{
background-image: url('../images/btn-bg-light.png'); background-image: url('../images/btn-bg-light.png');
} }
&::after{ /*&::after{
content: ""; content: "";
position: absolute; position: absolute;
background-size: 60%; background-size: 60%;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }*/
&.start::after{ &.start::after{
background: url("../images/start.png") no-repeat center center; background: url("../images/start.png") no-repeat center center;
@ -80,6 +122,20 @@ img{
.bg-gray{ .bg-gray{
background-color: #3b3b3b !important; background-color: #3b3b3b !important;
} }
.credits {
text-align: center;
h2{
padding: 1rem 0;
margin: 0;
min-height: 6rem;
font-family: 'Karmatic Arcade';
font-size: 34px;
margin-bottom: 20px;
}
p {
}
}
.section{ .section{
padding-top: 2rem; padding-top: 2rem;
padding-bottom: 5rem; padding-bottom: 5rem;
@ -91,16 +147,35 @@ img{
} }
&.how-to{ &.how-to{
padding: 175px 0;
.image-item{ .image-item{
height: 100%; height: 100%;
max-width: 300px;
margin: 0 auto; margin: 0 auto;
background-color: #f9dcb0; padding: 20px;
padding: 1rem; .step-image {
position: relative;
&:after {
content:"";
height: 100%;
width: 100%;
background: #dcdcdc;
position: absolute;
bottom: -25px;
left: 25px;
}
img {
width: 100%;
z-index: 2;
position: relative;
}
}
h2{ h2{
padding: 1rem 0; padding: 1rem 0;
margin: 0; margin: 0;
min-height: 6rem;
font-family: 'Karmatic Arcade';
font-size: 22px;
margin-bottom: 20px;
} }
} }
} }