diff --git a/resources/css/components/post-infos-capsule.css b/resources/css/components/post-infos-capsule.css new file mode 100644 index 0000000..5ff0c72 --- /dev/null +++ b/resources/css/components/post-infos-capsule.css @@ -0,0 +1,50 @@ +.post-infos-capsule { + @apply flex justify-start gap-8; + &__share, + &__publication-date { + @apply bg-white text-primary + rounded-full + my-6 + px-6 + py-2 + w-fit + h-auto + flex justify-center + items-center + font-medium; + } + &__share { + @apply gap-2; + .share-button { + @apply bg-primary w-8 h-8 rounded-full p-4 relative; + transition: transform 0.3s ease-in-out; + &:before { + @apply absolute w-3 h-3 bg-contain bg-center bg-no-repeat; + width: 25px; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + content: ''; + } + &:hover { + transform: scale(1.05); + filter: brightness(1.4); + } + } + .share-button--facebook { + &:before { + background-image: url('../resources/img/graphic-assets/icone-social-facebook.svg'); + } + } + .share-button--twitter-x { + &:before { + background-image: url('../resources/img/graphic-assets/icone-social-twitter-x.svg'); + } + } + .share-button--linkedin { + &:before { + background-image: url('../resources/img/graphic-assets/icone-social-linkedin.svg'); + } + } + } +} diff --git a/resources/img/graphic-assets/icone-social-linkedin.svg b/resources/img/graphic-assets/icone-social-linkedin.svg new file mode 100644 index 0000000..32ee7f4 --- /dev/null +++ b/resources/img/graphic-assets/icone-social-linkedin.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/img/graphic-assets/icone-social-twitter-x.svg b/resources/img/graphic-assets/icone-social-twitter-x.svg new file mode 100644 index 0000000..dade40f --- /dev/null +++ b/resources/img/graphic-assets/icone-social-twitter-x.svg @@ -0,0 +1,3 @@ + + +