+
+
+
+ {
+ (titles || features.titles).map(title => {
+ switch (title) {
+ case '\n':
+ return
+ default:
+ return (
+
+ {title}
+
+ )
+ }
+ })
+ }
+
+
+ {features.description}
+
+
+
+
+
{
- (titles || features.titles).map((title, index) =>
- title !== '\n' ? (
-
- {title}
-
- ) : (
-
- )
- )
- }
-
-
- {features.description}
-
-
-
-
-
-
- {features.featureTabs.workspaces.title}
-
-
- {features.featureTabs.compactMode.title}
-
-
- {features.featureTabs.glance.title}
-
-
- {features.featureTabs.splitView.title}
-
-
-
-
-
-
-
- {features.featureTabs.workspaces.title}
-
-
- {features.featureTabs.workspaces.description}
-
-
-
-
- {features.featureTabs.compactMode.title}
-
-
- {features.featureTabs.compactMode.description}
-
-
-
-
- {features.featureTabs.glance.title}
-
-
- {features.featureTabs.glance.description}
-
-
-
-
- {features.featureTabs.splitView.title}
-
-
- {features.featureTabs.splitView.description}
-
-
-
-
-
-
-
-
-
-
-
-
+ featureList.map((feature, index) => (
+
+
+
+ {feature.title}
+
+
+ {feature.description}
+
+
-
-
-
-
-
+ ))
+ }
-
-
diff --git a/src/components/Hero.astro b/src/components/Hero.astro
index 6bb3b21..da2a619 100644
--- a/src/components/Hero.astro
+++ b/src/components/Hero.astro
@@ -1,24 +1,11 @@
---
-import { motion } from 'motion/react'
-import { getTitleAnimation } from '~/animations'
import Button from '~/components/Button.astro'
-import Description from '~/components/Description.astro'
import Title from '~/components/Title.astro'
import ArrowRightIcon from '~/icons/ArrowRightIcon.astro'
import { getLocale, getPath, getUI } from '~/utils/i18n'
import SocialMediaStrip from './SocialMediaStrip.astro'
import Video from './Video.astro'
-let titleAnimationCounter = 0
-function getNewAnimationDelay() {
- titleAnimationCounter++
- return titleAnimationCounter * 0.15
-}
-
-function getHeroTitleAnimation() {
- return getTitleAnimation(getNewAnimationDelay())
-}
-
const locale = getLocale(Astro)
const getLocalePath = getPath(locale)
@@ -32,58 +19,54 @@ const {