add pictures from zip, containers for text
16
css/main.css
@ -265,6 +265,15 @@ textarea {
|
|||||||
animations
|
animations
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
|
.container-text{
|
||||||
|
max-width: 360px;
|
||||||
|
}
|
||||||
|
.container-text-md{
|
||||||
|
max-width: 500px;
|
||||||
|
}
|
||||||
|
.container-text-lg{
|
||||||
|
max-width: 1062px;
|
||||||
|
}
|
||||||
/******** all sections *********/
|
/******** all sections *********/
|
||||||
main section {
|
main section {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
@ -305,12 +314,11 @@ main section h2{
|
|||||||
}
|
}
|
||||||
|
|
||||||
#cover {
|
#cover {
|
||||||
|
background: url('/img/BG 1.png') no-repeat;
|
||||||
background: url('/img/bg1.jpg') no-repeat;
|
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
#cover .hand{
|
#cover .hand{
|
||||||
background: url('/img/hand1.jpg');
|
background: url('/img/hand 1.png');
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -389,6 +397,6 @@ main section h2{
|
|||||||
|
|
||||||
}
|
}
|
||||||
#content_all{
|
#content_all{
|
||||||
background: url('/img/bd_content.jpg');
|
background: url('/img/bg_content.png');
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
BIN
img/BG 1.png
Normal file
After Width: | Height: | Size: 1.8 MiB |
BIN
img/BG.png
Normal file
After Width: | Height: | Size: 3.2 MiB |
BIN
img/BG2.png
Normal file
After Width: | Height: | Size: 674 KiB |
BIN
img/Black 34.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
img/Black 35.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
img/Black 36.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
img/Black 41.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
img/Capture d’écran 2023-04-05 à 17.17 1.png
Normal file
After Width: | Height: | Size: 1.4 MiB |
BIN
img/Diapositive12.png
Normal file
After Width: | Height: | Size: 420 KiB |
BIN
img/Diapositive13.png
Normal file
After Width: | Height: | Size: 270 KiB |
BIN
img/Diapositive14.png
Normal file
After Width: | Height: | Size: 385 KiB |
BIN
img/Ellipse 777.2.png
Normal file
After Width: | Height: | Size: 73 KiB |
BIN
img/Ellipse 777.3.png
Normal file
After Width: | Height: | Size: 157 KiB |
BIN
img/Ellipse 777.4.png
Normal file
After Width: | Height: | Size: 76 KiB |
BIN
img/Ellipse 777.5.png
Normal file
After Width: | Height: | Size: 85 KiB |
BIN
img/Ellipse 777.png
Normal file
After Width: | Height: | Size: 429 KiB |
BIN
img/Gommage M.A.C.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
img/Images maquette SESAME 2.zip
Normal file
BIN
img/Macbook_color 1.png
Normal file
After Width: | Height: | Size: 447 KiB |
BIN
img/Rectangle 10758.png
Normal file
After Width: | Height: | Size: 194 KiB |
BIN
img/Rectangle 10759.png
Normal file
After Width: | Height: | Size: 248 KiB |
BIN
img/Rectangle 10771.png
Normal file
After Width: | Height: | Size: 1.3 MiB |
BIN
img/Rectangle 10773.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
img/Rectangle 6-2.png
Normal file
After Width: | Height: | Size: 302 KiB |
BIN
img/Rectangle 8.png
Normal file
After Width: | Height: | Size: 280 KiB |
BIN
img/Rectangle 9.png
Normal file
After Width: | Height: | Size: 93 KiB |
BIN
img/Rouge à lèvre.png
Normal file
After Width: | Height: | Size: 64 KiB |
After Width: | Height: | Size: 307 KiB |
After Width: | Height: | Size: 92 KiB |
After Width: | Height: | Size: 127 KiB |
After Width: | Height: | Size: 92 KiB |
After Width: | Height: | Size: 112 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 97 KiB |
After Width: | Height: | Size: 79 KiB |
After Width: | Height: | Size: 89 KiB |
BIN
img/Watch 1.png
Normal file
After Width: | Height: | Size: 114 KiB |
Before Width: | Height: | Size: 1.7 MiB |
BIN
img/bg1.jpg
Before Width: | Height: | Size: 1.0 MiB |
BIN
img/bg_content.png
Normal file
After Width: | Height: | Size: 2.6 MiB |
BIN
img/bg_pink.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
img/big 1.png
Normal file
After Width: | Height: | Size: 744 KiB |
BIN
img/hand 1.png
Normal file
After Width: | Height: | Size: 964 KiB |
BIN
img/image 1.png
Normal file
After Width: | Height: | Size: 1005 KiB |
BIN
img/image adidas kids format tel.png
Normal file
After Width: | Height: | Size: 213 KiB |
BIN
img/phone_clothes.png
Normal file
After Width: | Height: | Size: 140 KiB |
BIN
img/phone_cream.png
Normal file
After Width: | Height: | Size: 236 KiB |
BIN
img/phone_face.png
Normal file
After Width: | Height: | Size: 239 KiB |
BIN
img/phone_glasses.png
Normal file
After Width: | Height: | Size: 268 KiB |
BIN
img/phone_shoes.png
Normal file
After Width: | Height: | Size: 254 KiB |
BIN
img/phone_shoes_blue.png
Normal file
After Width: | Height: | Size: 226 KiB |
BIN
img/phone_watches.png
Normal file
After Width: | Height: | Size: 108 KiB |
BIN
img/photo 2.png
Normal file
After Width: | Height: | Size: 305 KiB |
BIN
img/photo 3.png
Normal file
After Width: | Height: | Size: 124 KiB |
BIN
img/planning training.png
Normal file
After Width: | Height: | Size: 179 KiB |
BIN
img/shoppable videos.png
Normal file
After Width: | Height: | Size: 415 KiB |
30
index.html
@ -39,13 +39,14 @@
|
|||||||
<section id="cover">
|
<section id="cover">
|
||||||
<div class="hand"></div>
|
<div class="hand"></div>
|
||||||
<h1 id="main_title">Sesame</h1>
|
<h1 id="main_title">Sesame</h1>
|
||||||
<h2>
|
<h2 class="container-text">
|
||||||
We focus on online
conversion to help brands
sell better and more.
|
We focus on online
conversion to help brands sell better and more.
|
||||||
</h2>
|
</h2>
|
||||||
<button class="button">Scroll</button>
|
<button class="button">Scroll</button>
|
||||||
</section>
|
</section>
|
||||||
<section id="welcome">
|
<section id="welcome">
|
||||||
<h2>
|
|
||||||
|
<h2 class="container-text-md">
|
||||||
We come from
|
We come from
|
||||||
<span class="color-emphasis">
|
<span class="color-emphasis">
|
||||||
the
most immersive e-commerce market
|
the
most immersive e-commerce market
|
||||||
@ -66,26 +67,39 @@
|
|||||||
</h2>
|
</h2>
|
||||||
</section>
|
</section>
|
||||||
<section id="content_all">
|
<section id="content_all">
|
||||||
<h2>For all your digital uses.</h2>
|
<div class="columns">
|
||||||
<p>Our creative competitive edge
|
<div class="column">
|
||||||
|
<h2 class="container-text-md">For all your digital uses.</h2>
|
||||||
|
</div>
|
||||||
|
<div class="column">
|
||||||
|
<p class="container-text-md">
|
||||||
|
Our creative competitive edge
|
||||||
We leverage our own studio in Paris equipped to produce all e-formats. We power transactional content with our
|
We leverage our own studio in Paris equipped to produce all e-formats. We power transactional content with our
|
||||||
technology. Our content is transactional and generate online sales. We produce multi-purpose content at scale for
|
technology. Our content is transactional and generate online sales. We produce multi-purpose content at scale
|
||||||
all touchpoints to reduce costs. </p>
|
for all touchpoints to reduce costs.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
<section id="content-2">
|
<section id="content-2">
|
||||||
|
<div class="container-text">
|
||||||
|
|
||||||
<h2>Motion &
|
<h2>Motion &
|
||||||
3D design</h2>
|
3D design</h2>
|
||||||
<p>
|
<p>
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed in tortor egestas, rutrum elit at, fringilla felis.
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed in tortor egestas, rutrum elit at, fringilla felis.
|
||||||
Mauris nec erat rutrum, ultrices turpis laoreet, faucibus ante. Vestibulum.
|
Mauris nec erat rutrum, ultrices turpis laoreet, faucibus ante. Vestibulum.
|
||||||
</p>
|
</p>
|
||||||
|
</div>
|
||||||
<button>More infos</button>
|
<button>More infos</button>
|
||||||
<div class="phone-container"></div>
|
<div class="phone-container"></div>
|
||||||
</section>
|
</section>
|
||||||
<section id="content-3"></section>
|
<section id="content-3"></section>
|
||||||
<section id="content-4"></section>
|
<section id="content-4"></section>
|
||||||
<section id="content-5"></section>
|
<section id="content-5"></section>
|
||||||
<section id="popover">
|
<section id="popover" class="is-hidden">
|
||||||
<div class="phone-container"></div>
|
<div class="phone-container"></div>
|
||||||
<div id="text">
|
<div id="text">
|
||||||
<h2>
|
<h2>
|
||||||
|
93
js/main.js
@ -1,84 +1,13 @@
|
|||||||
// Color palette variables
|
|
||||||
let dark = '#252525';
|
|
||||||
let mid = '#888';
|
|
||||||
let light = 'rgba(255, 255, 255, 0.4)';
|
|
||||||
|
|
||||||
// Add scrollmagic controller
|
|
||||||
let controller = new ScrollMagic.Controller();
|
|
||||||
|
|
||||||
//------------------
|
|
||||||
//TIMELINE 1
|
|
||||||
//------------------
|
|
||||||
|
|
||||||
// Add timeline
|
|
||||||
let tl1 = anime.timeline({autoplay: false});
|
|
||||||
|
|
||||||
// Add animations
|
|
||||||
let s1a1 = {
|
|
||||||
targets: '#main_title .elem',
|
|
||||||
opacity: 1,
|
|
||||||
translateX: {
|
|
||||||
value: [250, 0],
|
|
||||||
duration: 800
|
|
||||||
},
|
|
||||||
rotate: {
|
|
||||||
value: [90, 0],
|
|
||||||
duration: 1200,
|
|
||||||
easing: 'easeInOutSine'
|
|
||||||
},
|
|
||||||
scale: {
|
|
||||||
value: [2, 1.5],
|
|
||||||
duration: 1100,
|
|
||||||
delay: 800,
|
|
||||||
easing: 'easeInOutQuart'
|
|
||||||
},
|
|
||||||
color: [light, dark],
|
|
||||||
duration: 800,
|
|
||||||
delay: 0,
|
|
||||||
easing: 'easeInOutSine'
|
|
||||||
};
|
|
||||||
|
|
||||||
let s1a2 = {
|
|
||||||
targets: '#cover .elem .blocks > div',
|
|
||||||
backgroundColor: [light, dark],
|
|
||||||
borderRadius: function(el) { return anime.random(2, 10); },
|
|
||||||
delay: function(el) { return anime.random(0, 800); }
|
|
||||||
};
|
|
||||||
|
|
||||||
let s1a3 = {
|
|
||||||
targets: '#cover p',
|
|
||||||
opacity: [0,1],
|
|
||||||
translateX: {
|
|
||||||
value: ['-100vw', '0vw'],
|
|
||||||
duration: 1500,
|
|
||||||
},
|
|
||||||
translateY: {
|
|
||||||
value: [-100, 0],
|
|
||||||
duration: 1500,
|
|
||||||
},
|
|
||||||
easing: 'easeInOutSine',
|
|
||||||
duration: 2000
|
|
||||||
};
|
|
||||||
|
|
||||||
// Add children
|
|
||||||
tl1.add(s1a3).add(s1a1, '-=1600').add(s1a2, '-=1300');
|
|
||||||
|
|
||||||
// Get section height
|
|
||||||
let oneHeight = document.getElementById("one").clientHeight;
|
|
||||||
console.log('oneHeight: ' + oneHeight);
|
|
||||||
|
|
||||||
//------------------
|
|
||||||
//SCENE 1
|
|
||||||
//------------------
|
|
||||||
|
|
||||||
//Add first scrollmagic scene
|
//Add first scrollmagic scene
|
||||||
let scene1 = new ScrollMagic.Scene({
|
// init controller
|
||||||
triggerElement: "#cover",
|
var controller = new ScrollMagic.Controller({globalSceneOptions: {duration: 100}});
|
||||||
triggerHook: 0.5,
|
|
||||||
reverse: false
|
// build scenes
|
||||||
|
var scene = new ScrollMagic.Scene({
|
||||||
|
triggerElement: "#cover"
|
||||||
})
|
})
|
||||||
// Trigger animation timeline
|
.setTween("#main_title", 0.5, {scale: 2.5}) // trigger a TweenMax.to tween
|
||||||
.on("enter", function (event) {
|
.addIndicators({name: "1"}) // add indicators (requires plugin)
|
||||||
tl1.play();
|
.addTo(controller);
|
||||||
})
|
|
||||||
.addTo(controller);
|
console.log('scene', scene)
|
||||||
|
913
package-lock.json
generated
@ -15,6 +15,7 @@
|
|||||||
"parcel-bundler": "^1.8.1"
|
"parcel-bundler": "^1.8.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"anime": "^0.1.2",
|
||||||
"bulma": "^0.9.4",
|
"bulma": "^0.9.4",
|
||||||
"scrollmagic": "^2.0.8"
|
"scrollmagic": "^2.0.8"
|
||||||
}
|
}
|
||||||
|