From 4be4914a09c72a03732f73435750e15670d45e95 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Mon, 9 Sep 2024 15:55:19 +0200 Subject: [PATCH] add community --- src/components/Community.jsx | 97 ++++++++++++++++++++++++++++++++++++ src/components/Header.jsx | 8 +-- src/components/Homepage.jsx | 14 +++--- 3 files changed, 108 insertions(+), 11 deletions(-) create mode 100644 src/components/Community.jsx diff --git a/src/components/Community.jsx b/src/components/Community.jsx new file mode 100644 index 0000000..a53cc15 --- /dev/null +++ b/src/components/Community.jsx @@ -0,0 +1,97 @@ +const featuredPost = { + id: 1, + title: 'FutureFest 2024', + href: '#', + description: + 'Embrace the possibilities at FutureFest 2024, a landmark event that invites you to explore the converging worlds of technology, creativity, and sustainability.', + date: 'Mar 16, 2020', + datetime: '2020-03-16', + } + const posts = [ + { + id: 2, + title: 'Boost your conversion rate', + href: '#', + description: + 'Illo sint voluptas. Error voluptates culpa eligendi. Hic vel totam vitae illo. Non aliquid explicabo necessitatibus unde. Sed exercitationem placeat consectetur nulla deserunt vel iusto corrupti dicta laboris incididunt.', + date: 'Mar 10, 2020', + datetime: '2020-03-16', + }, + { + id: 3, + title: 'Boost your conversion rate', + href: '#', + description: + 'Illo sint voluptas. Error voluptates culpa eligendi. Hic vel totam vitae illo. Non aliquid explicabo necessitatibus unde. Sed exercitationem placeat consectetur nulla deserunt vel iusto corrupti dicta laboris incididunt.', + date: 'Mar 10, 2020', + datetime: '2020-03-16', + }, + // More posts... + ] + + export default function Example() { + return ( +
+
+
+

Community

+ +

+ {featuredPost.title} +

+ +

{featuredPost.description}

+
+ + +
+
+
+
+ {posts.map((post) => ( + + + ))} +
+
+
+
+ ) + } + \ No newline at end of file diff --git a/src/components/Header.jsx b/src/components/Header.jsx index 9ec6e6c..24b6beb 100644 --- a/src/components/Header.jsx +++ b/src/components/Header.jsx @@ -10,8 +10,8 @@ import { Bars3Icon, XMarkIcon } from '@heroicons/react/24/outline'; const navigationItems = [ { name: 'Home', href: '/' }, { name: 'Features', href: '#' }, - { name: 'Usecases', href: '#' }, - { name: 'Events', href: '#' }, + { name: 'Usecases', href: 'usecases' }, + { name: 'Community', href: '#' }, ]; export function Header() { @@ -33,7 +33,7 @@ export function Header() { -
+
diff --git a/src/components/Homepage.jsx b/src/components/Homepage.jsx index 19de45c..a44303e 100644 --- a/src/components/Homepage.jsx +++ b/src/components/Homepage.jsx @@ -15,34 +15,34 @@ export function Homepage() { playsInline className="absolute inset-0 w-full h-full object-cover -z-10" > - + Your browser does not support the video tag.
- + What's new - + Announcing: VerseFest 2024
-

+

A New, Vibrant Virtual World.

-
-

Discover OurVerse, a new virtual space designed for everyone, +

+

Discover OurVerse, a new virtual space designed for everyone, where you can express yourself freely, build meaningful relationships, and explore endless possibilities in an environment that celebrates diversity and authenticity.

Join OurVerse