diff --git a/packages/taikoon-ui/src/components/AnimatedArrow/AnimatedArrow.svelte b/packages/taikoon-ui/src/components/AnimatedArrow/AnimatedArrow.svelte new file mode 100644 index 00000000000..baccf0fdbe2 --- /dev/null +++ b/packages/taikoon-ui/src/components/AnimatedArrow/AnimatedArrow.svelte @@ -0,0 +1,45 @@ + + +
+
+ + +
+
diff --git a/packages/taikoon-ui/src/components/AnimatedArrow/index.ts b/packages/taikoon-ui/src/components/AnimatedArrow/index.ts new file mode 100644 index 00000000000..aebf67107f0 --- /dev/null +++ b/packages/taikoon-ui/src/components/AnimatedArrow/index.ts @@ -0,0 +1 @@ +export { default as AnimatedArrow } from './AnimatedArrow.svelte'; diff --git a/packages/taikoon-ui/src/components/core/Icons/ArrowRightFilled.svelte b/packages/taikoon-ui/src/components/core/Icons/ArrowRightFilled.svelte index 2bc92dc387f..b9871473745 100644 --- a/packages/taikoon-ui/src/components/core/Icons/ArrowRightFilled.svelte +++ b/packages/taikoon-ui/src/components/core/Icons/ArrowRightFilled.svelte @@ -46,7 +46,6 @@ {desc.desc} {/if} - + fill={color} /> + fill={color} /> {:else} {desc.desc} {/if} - + fill={color} /> + fill={color} /> {/if} diff --git a/packages/taikoon-ui/src/components/sections/Heading.section.svelte b/packages/taikoon-ui/src/components/sections/Heading.section.svelte index 8231765e26d..cb72c00117f 100644 --- a/packages/taikoon-ui/src/components/sections/Heading.section.svelte +++ b/packages/taikoon-ui/src/components/sections/Heading.section.svelte @@ -3,10 +3,10 @@ import LogoBlack from '$assets/taikoons-big-black.png'; import LogoWhite from '$assets/taikoons-big-white.png'; + import { AnimatedArrow } from '$components/AnimatedArrow'; import { ResponsiveController } from '$components/core/ResponsiveController'; import { classNames } from '$lib/util/classNames'; import { Theme, theme } from '$stores/theme'; - import { Button } from '$ui/Button'; import { Section } from '$ui/Section'; $: isDarkTheme = $theme === Theme.DARK; @@ -16,14 +16,37 @@ const sectionClasses = 'items-center justify-center'; const imageClasses = classNames('w-full', 'h-auto', 'mb-20'); + + const mintNowButtonClasses = classNames( + 'bg-[#E81899]', + 'font-sans', + 'text-[#F3F3F3]', + 'px-3', + 'py-2', + 'rounded-full', + 'flex flex-row', + 'items-center', + 'justify-center', + 'text-base', + 'font-bold', + 'gap-2.5', + 'hover:bg-[#C8047D]', + ); + + $: isHovered = false;
Taikoons Logo - + (isHovered = true)} + on:mouseleave={() => (isHovered = false)} + class={mintNowButtonClasses}> + {$t('buttons.mintNow')} + +
diff --git a/packages/taikoon-ui/tailwind.config.js b/packages/taikoon-ui/tailwind.config.js index 99b2809c562..9c6c59fecaa 100644 --- a/packages/taikoon-ui/tailwind.config.js +++ b/packages/taikoon-ui/tailwind.config.js @@ -32,6 +32,10 @@ export default { '50%': { opacity: '0' }, '100%': { opacity: '1' }, }, + 'arrows-x-animation': { + '0%': { left: '0'}, + '100%': { left: '100%'}, + } }, animation: { 'cell-pulse-3': 'cell-pulse-animation 3s ease-in infinite', @@ -40,6 +44,8 @@ export default { 'cell-pulse-negative-3': 'cell-pulse-negative-animation 3s ease-in infinite', 'cell-pulse-negative-5': 'cell-pulse-negative-animation 5s ease-in infinite', 'cell-pulse-negative-7': 'cell-pulse-negative-animation 7s ease-in infinite', + 'arrows-x-3': 'arrows-x-animation 300ms linear forwards', + 'arrows-x-3-reset': 'arrows-x-animation 300ms linear reverse', }, colors: { /***************