diff --git a/src/modules/card/components/FlipCard.vue b/src/modules/card/components/FlipCard.vue index 2e9d587..3ab0bba 100644 --- a/src/modules/card/components/FlipCard.vue +++ b/src/modules/card/components/FlipCard.vue @@ -22,12 +22,11 @@ const fail = () => emit('fail')

-
-
- failed -
-
- got it +
+

Did you remember this?

+
+
failed
+
got it
@@ -44,9 +43,12 @@ $border-radius: 0.5rem; padding: 0 1rem; margin: auto; user-select: none; + transition: 0.1s; + perspective: 1500px; &:hover { cursor: pointer; + transform: scale(1.03); } .flip-card-inner { @@ -79,4 +81,12 @@ $border-radius: 0.5rem; transform: rotateY(180deg); } } + +.actions { + text-align: center; + + p { + margin-bottom: 0.5rem; + } +} diff --git a/src/utils/twitter.ts b/src/utils/twitter.ts index 9357011..8a99076 100644 --- a/src/utils/twitter.ts +++ b/src/utils/twitter.ts @@ -1,13 +1,4 @@ // @ts-nocheck - -// https://github.com/rlidwka/markdown-it-regexp -/* -const texte = "@[tweet](21345)"; -const regex = /@\[tweet]\((.*?)\)/; -const resultat = regex.exec(texte)[1]; -console.log(resultat); -*/ - window.twttr = (function (d, s, id) { let js, fjs = d.getElementsByTagName(s)[0],