-
+
{currentStageData.title}
@@ -139,7 +137,7 @@ const Index = () => {
{currentStageData.choices.map((choice) => (
handleChoice(choice.id)}
>
diff --git a/tailwind.config.ts b/tailwind.config.ts
index 8706086..7f674fe 100644
--- a/tailwind.config.ts
+++ b/tailwind.config.ts
@@ -18,6 +18,39 @@ export default {
}
},
extend: {
+ keyframes: {
+ 'accordion-down': {
+ from: {
+ height: '0'
+ },
+ to: {
+ height: 'var(--radix-accordion-content-height)'
+ }
+ },
+ 'accordion-up': {
+ from: {
+ height: 'var(--radix-accordion-content-height)'
+ },
+ to: {
+ height: '0'
+ }
+ },
+ 'fade-in': {
+ '0%': {
+ opacity: '0',
+ transform: 'translateY(10px)'
+ },
+ '100%': {
+ opacity: '1',
+ transform: 'translateY(0)'
+ }
+ }
+ },
+ animation: {
+ 'accordion-down': 'accordion-down 0.2s ease-out',
+ 'accordion-up': 'accordion-up 0.2s ease-out',
+ 'fade-in': 'fade-in 1s ease-out'
+ },
colors: {
border: 'hsl(var(--border))',
input: 'hsl(var(--input))',
@@ -67,28 +100,6 @@ export default {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)'
- },
- keyframes: {
- 'accordion-down': {
- from: {
- height: '0'
- },
- to: {
- height: 'var(--radix-accordion-content-height)'
- }
- },
- 'accordion-up': {
- from: {
- height: 'var(--radix-accordion-content-height)'
- },
- to: {
- height: '0'
- }
- }
- },
- animation: {
- 'accordion-down': 'accordion-down 0.2s ease-out',
- 'accordion-up': 'accordion-up 0.2s ease-out'
}
}
},