From 685d3af7d5ae978348924086ed1ca574f605fdeb Mon Sep 17 00:00:00 2001 From: Antoine M Date: Thu, 1 Feb 2024 18:23:00 +0100 Subject: [PATCH] new cta variations --- src/assets/css/components/cta.scss | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/assets/css/components/cta.scss b/src/assets/css/components/cta.scss index ed98b40..a3335ea 100644 --- a/src/assets/css/components/cta.scss +++ b/src/assets/css/components/cta.scss @@ -7,17 +7,26 @@ &--construction { @apply bg-construction; } - &--play { + &--button-icon { @apply relative; &:after { @apply absolute w-12 h-12 z-20 left-1/2 top-1/2; content: ""; transform: translate(-50%, -50%); - background-image: url("../../img/icon-play.svg"); background-position: center; background-size: contain; background-repeat: no-repeat; } } + &--play { + &:after { + background-image: url("../../img/icon-play.svg"); + } + } + &--next { + &:after { + background-image: url("../../img/arrow-next.svg"); + } + } }