Skip to content

Commit c41e404

Browse files
author
Fumito Abe
committed
CTA アニメーション調整
1 parent dd72263 commit c41e404

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

src/components/CallToAction.vue

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,14 +295,15 @@
295295
}
296296
&::before {
297297
content: 'Office Hours';
298+
filter: blur(2px);
298299
position: absolute;
299300
display: block;
300301
z-index: 0;
301302
left: 0;
302303
top: 24px;
303304
right: 0;
304305
bottom: 0;
305-
opacity: 0.1;
306+
opacity: 0.08;
306307
font-family: $font-en-light;
307308
font-size: 15vw;
308309
transition: all 0.4s cubic-bezier(0.76, 0, 0.3, 1);
@@ -312,12 +313,14 @@
312313
}
313314
@include media-breakpoint-down(sm) {
314315
top: 20%;
315-
font-size: 14vw;
316+
font-size: 14.5vw;
316317
}
317318
}
318319
&:hover::before {
319-
opacity: 0.15;
320-
}
320+
opacity: 0.2;
321+
left: 16px;
322+
filter: blur(0);
323+
}
321324
// Border
322325
&::after {
323326
content: '';

src/components/TopClients.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default {
7878
titleAnimation() {
7979
gsap
8080
.timeline({
81-
defaults: { ease: 'Expo.easeInOut', duration: 1.6 }, // timelineのプロパティ
81+
defaults: { ease: 'Expo.easeInOut', duration: 1.2 }, // timelineのプロパティ
8282
scrollTrigger: {
8383
// markers: true, // マーカーを表示するか(開発用)
8484
trigger: '.section-title', // この要素と交差するとイベントが発火
@@ -99,7 +99,6 @@ export default {
9999
.fromTo('.title-bottom-line', {
100100
width: 0,
101101
}, {
102-
delay: 0.2,
103102
width: 80,
104103
},'<')
105104
},

src/components/TopPartners.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default {
6363
titleAnimation() {
6464
gsap
6565
.timeline({
66-
defaults: { ease: 'Expo.easeInOut', duration: 1.6 }, // timelineのプロパティ
66+
defaults: { ease: 'Expo.easeInOut', duration: 1.2 }, // timelineのプロパティ
6767
scrollTrigger: {
6868
// markers: true, // マーカーを表示するか(開発用)
6969
trigger: '.section-title-partner', // この要素と交差するとイベントが発火

0 commit comments

Comments
 (0)