-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFeatures.tsx
More file actions
73 lines (69 loc) · 2.16 KB
/
Features.tsx
File metadata and controls
73 lines (69 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import { motion } from "framer-motion";
import BentoGrid, { type BentoItem } from "../../../components/BentoGrid";
import OccupancyCard from "../../../components/OccupancyCard";
import styles from "./Features.module.css";
const featureItems: BentoItem[] = [
{
title: "Live Occupancy",
description: "Real-time occupancy, no reload required",
component: <OccupancyCard />,
size: "medium",
theme: "gold",
},
{
title: "Customisable",
description: "Custom Gauges, App Icons and more",
image: "/images/features/customization.webp",
size: "medium",
theme: "spectrum",
},
{
title: "Widgets",
description: "Glanceable on your Home and Lock Screen",
image: "/images/features/widgets.webp",
imageDark: "/images/features/widgets-dark.webp",
size: "large",
theme: "ios26",
},
{
title: "Details, Detailed",
description: "Entry Requirements, Opening Hours, and Historic Occupancy",
image: "/images/features/details.webp",
imageDark: "/images/features/details-dark.webp",
size: "medium",
},
{
title: "Cutting Edge",
description: "Support for the latest system updates and features",
image: "/images/features/cutting-edge.webp",
size: "medium",
theme: "night",
},
{
title: "Everywhere, Anytime",
description: "Enjoy Loungebird on iPhone, iPad and Mac",
image: "/images/features/devices.webp",
imageDark: "/images/features/devices-dark.webp",
size: "full",
},
];
export default function Features() {
return (
<section id="features" className={styles.features}>
<div className={styles.container}>
<motion.div
className={styles.header}
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: "-100px" }}
transition={{ duration: 0.6 }}
>
<span className="capsule">Features</span>
<h2 className={styles.title}>Tailored Travel</h2>
<p className={styles.subtitle}>The best way to effortlessly unwind and relax before your flight</p>
</motion.div>
<BentoGrid items={featureItems} />
</div>
</section>
);
}