Compare commits

..
55 Commits
Author SHA1 Message Date
arraysid 46f1e43114 feat: update .env.example to include TURNSTILE_SECRET_KEY and correct NEXT_PUBLIC_TURNSTILE_SITEKEY 2025-05-29 19:34:30 +07:00
arraysid 84c60dcffa feat: wrap VerificationTabs in Suspense 2025-05-29 19:28:55 +07:00
arraysid f432085eb8 chore: add @radix-ui/react-label deps 2025-05-29 19:18:08 +07:00
arraysid a4e543d30e feat: remove all unused components in landing 2025-05-29 19:08:59 +07:00
arraysid 69b32f7a46 feat: update footer component with additional social media links and icons 2025-05-29 19:02:42 +07:00
arraysid 37f926a74d feat: create initial Page component for articles section 2025-05-29 18:53:10 +07:00
arraysid 88e8649b2a feat: add navigation entries for Roadmap and Artikel sections 2025-05-29 18:52:50 +07:00
arraysid 031256ec4e refactor: remove console log and enhance error handling in signin and resend OTP actions 2025-05-29 18:15:15 +07:00
arraysid d96df63660 feat: implement Turnstile captcha verification for forgot password and signup actions 2025-05-28 02:02:53 +07:00
arraysid 8fb3e9a37f feat: implement reset password functionality with validation and UI components 2025-05-28 01:41:20 +07:00
arraysid 2280bd6085 feat: enable rich colors for Toaster component in layout 2025-05-28 01:39:18 +07:00
arraysid d39960f446 fix: update password validation rules for clarity and consistency 2025-05-28 01:39:09 +07:00
arraysid 1c1c66fc0f feat: implement forgot password functionality with validation and UI components 2025-05-28 00:57:23 +07:00
arraysid 60f0e98476 feat: add base styles for borders and background to improve UI consistency 2025-05-28 00:49:54 +07:00
arraysid 472e02e0b0 refactor: clean up unused ThemeProvider code and CSS variables 2025-05-28 00:47:28 +07:00
arraysid 8d71173897 feat: add "Forgot Password?" link to the signin form 2025-05-27 16:35:59 +07:00
arraysid d2292a7fa0 feat: add signin link to the signup page 2025-05-27 16:35:51 +07:00
arraysid b655de92c0 feat: implement verification page 2025-05-27 16:22:24 +07:00
arraysid 761eb0963a feat: integrate Turnstile captcha verification in signup process 2025-05-27 13:49:02 +07:00
arraysid fc3c275fea feat: add signup page 2025-05-27 13:00:17 +07:00
arraysid 3527458bc9 refactor: replace hardcoded testimonials with dynamic data from JSON 2025-05-27 09:42:05 +07:00
arraysid a7a7abddd2 feat: implement HeroSection component with dynamic content and animations 2025-05-27 09:33:07 +07:00
arraysid 06c71e8dcd feat: update Footer component to use dynamic navigation and social links 2025-05-27 09:28:03 +07:00
arraysid 50b9380add feat: add CommunitySection component and integrate it into the main page 2025-05-27 09:27:58 +07:00
arraysid 9bd326d7ad fix: update text in CTASection for improved emphasis and consistency 2025-05-27 09:14:12 +07:00
arraysid 432a2d8d9e fix: update join URL in hero content for consistency 2025-05-27 09:11:57 +07:00
arraysid a9ec7e947f feat: add CTASection component with interactive elements and background pattern 2025-05-27 09:11:52 +07:00
arraysid a867891001 fix: update section ID from 'komunitas' to 'community' for consistency 2025-05-27 09:11:49 +07:00
arraysid 6850313fe3 feat: add TestimonialSection component and update testimonials data 2025-05-27 09:11:42 +07:00
arraysid c3c203b555 fix: replace text logo with LogoSimple component in Footer and restore Footer in Layout 2025-05-27 09:11:31 +07:00
arraysid 341b4eef98 fix: update font imports in layout components for consistency 2025-05-27 08:32:34 +07:00
arraysid d03deb2d91 fix: adjust grid gap in Communities component for better layout 2025-05-27 06:13:19 +07:00
arraysid 5f97352031 feat: add communites component and integrate social links from JSON data 2025-05-27 06:12:18 +07:00
arraysid 3b71a97d16 fix: correct link path for testimonial submission 2025-05-27 05:30:49 +07:00
arraysid 6e940d749a feat: implement testimonials display and add submission page 2025-05-27 05:30:07 +07:00
arraysid e971d33a05 fix: update navigations import to uppercase and add missing Testimoni entry 2025-05-27 05:16:32 +07:00
arraysid 0296a891eb feat: add HERO_CONTENT data and integrate into Hero component 2025-05-27 05:04:03 +07:00
arraysid 47c8a25574 feat: add signup button and page 2025-05-27 04:37:05 +07:00
arraysid 671a4f596b feat: implement EventsPage component with event listing and details 2025-05-27 04:28:44 +07:00
arraysid 8c8e2c646f fix: update label for tutorial stat in hero-stats.json 2025-05-27 04:12:51 +07:00
arraysid 035f7fa8cd feat: replace Image component with LogoSimple in Header and update Logo component to accept props 2025-05-27 04:11:18 +07:00
arraysid 0a4921f2ef fix: header style 2025-05-27 04:03:26 +07:00
arraysid dbaaddab2e feat: hide the footer 2025-05-27 03:47:45 +07:00
arraysid 6c640f1cd4 feat: add react query support 2025-05-27 03:40:32 +07:00
arraysid e6f1b80cd3 feat: move old components to __old__ dir 2025-05-27 03:38:35 +07:00
arraysid 5ca4caa0ba feat: update dependencies and enhance button and form components with new variants and context 2025-05-27 03:37:02 +07:00
arraysid 5e70f36a7e feat: expand theme colors in index.css for improved styling options 2025-05-27 03:36:49 +07:00
arraysid d009adcd70 feat: add Poppins font to the font utility 2025-05-27 03:35:52 +07:00
arraysid 92842c29bb feat: add signin 2025-05-27 03:35:41 +07:00
arraysid 684f299194 feat: replace Inter font with Bai Jamjuree in layout and add font utility 2025-05-27 02:33:04 +07:00
arraysid d5607b456b feat: implement cookie management for access and refresh tokens 2025-05-27 02:19:45 +07:00
arraysid bb9c2f30a8 feat: add auth layout 2025-05-27 02:16:02 +07:00
arraysid 6819c24c6a feat: movee landing providers 2025-05-27 02:12:16 +07:00
arraysid f05fd5331d feat: seperate landing layouts 2025-05-27 02:07:46 +07:00
arraysid b1d9a56dda feat: setup openapi libs for landing 2025-05-27 02:03:01 +07:00
5 changed files with 4 additions and 300 deletions
@@ -1,51 +0,0 @@
'use client';
import { motion } from 'framer-motion';
import { FiPlus } from 'react-icons/fi';
export function FeatureRequestCTA() {
const handleSubmitFeature = () => {
alert('Feature submission form would appear here!');
};
return (
<motion.div
initial={{ opacity: 0, y: -20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.4 }}
className="bg-primary-500 rounded-xl px-4 py-8 md:p-8 mb-8 text-center mx-auto max-w-7xl"
>
<div className="max-w-3xl mx-auto">
<motion.h1
className="text-2xl md:text-3xl font-bold text-white mb-3"
initial={{ scale: 0.95 }}
animate={{ scale: 1 }}
transition={{ delay: 0.2, type: 'spring' }}
>
Punya Ide Bagus untuk IMPHNEN?
</motion.h1>
<motion.p
className="text-white/90 mb-6 text-lg text-balance"
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
transition={{ delay: 0.4 }}
>
Bagikan ide fitur atau layanan yang ingin Anda lihat di komunitas. Ide
terbaik dengan vote tertinggi akan kami prioritaskan!
</motion.p>
<motion.button
whileHover={{ scale: 1.05 }}
whileTap={{ scale: 0.95 }}
onClick={handleSubmitFeature}
className="bg-white text-primary-500 font-semibold py-3 px-8 rounded-full flex items-center justify-center gap-2 mx-auto shadow-lg hover:shadow-xl transition-all"
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ delay: 0.6 }}
>
<FiPlus className="w-5 h-5" />
<span>Ajukan Fitur</span>
</motion.button>
</div>
</motion.div>
);
}
@@ -1,233 +0,0 @@
'use client';
import { Button, Card, CardContent, CardHeader, CardTitle } from '@components';
import { AnimatePresence, motion } from 'framer-motion';
import { useState } from 'react';
import { BiUpvote } from 'react-icons/bi';
import { FiCheckCircle } from 'react-icons/fi';
import { MdOutlineOpenInNew } from 'react-icons/md';
export default function ProjectsVote() {
const [upcomingItems, setUpcomingItems] = useState([
{
title: 'IMPHNEN Meme Generator',
description: 'Bikin meme kocak kapanpun dengan mudah',
votes: 42,
voted: false,
},
]);
const inProgressItems = [
{
title: 'IMPHNEN Twibbon',
description: 'Buat Twibbon kece untuk profile media sosialmu',
},
{
title: 'IMPHNEN Certificate',
description: 'Cetak sertifikat keren secara instan untuk anggota IMPHNEN',
},
];
const completedItems = [
{
title: 'IMPHNEN List Event',
description:
'Koleksi daftar event dan kolaborasi seru yang bisa kamu ikuti',
},
{
title: 'IMPHNEN Testimoni',
description: 'Berikan testimonial gokil buat komunitas IMPHNEN',
},
{
title: 'IMPHNEN Roadmap by Vote',
description: 'Usulkan ide fitur seru dan ajak anggota lain buat voting',
},
];
const handleVote = (index: number) => {
const newItems = [...upcomingItems];
newItems[index] = {
...newItems[index],
votes: newItems[index].voted
? newItems[index].votes - 1
: newItems[index].votes + 1,
voted: !newItems[index].voted,
};
setUpcomingItems(newItems);
};
const containerVariants = {
hidden: { opacity: 0 },
visible: {
opacity: 1,
transition: {
staggerChildren: 0.05,
},
},
};
const itemVariants = {
hidden: { opacity: 0, y: 10 },
visible: { opacity: 1, y: 0, transition: { duration: 0.2 } },
};
return (
<div className="grid grid-cols-1 lg:grid-cols-3 gap-6 max-w-7xl mx-auto">
{/* Vote Now Column */}
<div className="space-y-6">
<div className="flex items-center gap-3 px-2">
<div className="flex items-center justify-center w-10 h-10 bg-amber-100 text-amber-600 rounded-lg">
🔥
</div>
<h2 className="text-xl font-semibold text-gray-900">Vote Now</h2>
</div>
<AnimatePresence>
<motion.div
variants={containerVariants}
initial="hidden"
animate="visible"
className="space-y-5"
>
{upcomingItems.map((item, index) => (
<motion.div key={index} variants={itemVariants} layout>
<Card className="bg-white border border-gray-200 hover:border-primary-200 shadow-sm hover:shadow-md transition-all h-full flex flex-col">
<CardHeader className="pb-3">
<CardTitle className="text-lg font-semibold text-gray-900 flex items-start">
{item.title}
</CardTitle>
</CardHeader>
<CardContent className="flex-grow">
<p className="text-gray-600 text-sm mb-4">
{item.description}
</p>
<div className="flex items-center justify-between border-t border-gray-100 pt-3">
<motion.button
whileTap={{ scale: 0.95 }}
onClick={() => handleVote(index)}
className={`flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium transition-all ${
item.voted
? 'bg-primary-500 text-white hover:bg-primary-600'
: 'bg-gray-100 text-gray-700 hover:bg-gray-200'
}`}
>
<motion.span
animate={{ scale: item.voted ? [1, 1.2, 1] : 1 }}
transition={{ duration: 0.2 }}
>
<BiUpvote
className={`w-4 h-4 ${
item.voted ? 'text-white' : 'text-gray-600'
}`}
/>
</motion.span>
<span>{item.voted ? 'Voted' : 'Vote'}</span>
</motion.button>
<div className="flex items-center gap-2 bg-gray-50 px-3 py-1.5 rounded-lg">
<BiUpvote className="w-4 h-4 text-gray-500" />
<span className="text-sm font-medium text-gray-700">
{item.votes}
</span>
</div>
</div>
</CardContent>
</Card>
</motion.div>
))}
</motion.div>
</AnimatePresence>
</div>
{/* In Progress Column */}
<div className="space-y-6">
<div className="flex items-center gap-3 px-2">
<div className="flex items-center justify-center w-10 h-10 bg-primary-100 text-primary-600 rounded-lg">
🧑🔧
</div>
<h2 className="text-xl font-semibold text-gray-900">In Progress</h2>
</div>
<AnimatePresence>
<motion.div
variants={containerVariants}
initial="hidden"
animate="visible"
className="space-y-5"
>
{inProgressItems.map((item, index) => (
<motion.div key={index} variants={itemVariants} layout>
<Card className="bg-white border border-gray-200 hover:border-primary-200 shadow-sm hover:shadow-md transition-all h-full">
<CardHeader className="pb-3">
<CardTitle className="text-lg font-semibold text-gray-900 flex items-start">
{item.title}
</CardTitle>
</CardHeader>
<CardContent>
<p className="text-gray-600 text-sm">{item.description}</p>
<div className="mt-4 pt-3 border-t border-gray-100">
<div className="w-full bg-gray-200 rounded-full h-1.5">
<div
className="bg-primary-500 h-1.5 rounded-full"
style={{ width: `${(index + 1) * 33}%` }}
></div>
</div>
<p className="text-xs text-gray-500 mt-2">
{index === 0 ? 'Development started' : 'In development'}
</p>
</div>
</CardContent>
</Card>
</motion.div>
))}
</motion.div>
</AnimatePresence>
</div>
{/* Completed Column */}
<div className="space-y-6">
<div className="flex items-center gap-3 px-2">
<div className="flex items-center justify-center w-10 h-10 bg-green-100 text-green-600 rounded-lg">
🤓
</div>
<h2 className="text-xl font-semibold text-gray-900">Completed</h2>
</div>
<AnimatePresence>
<motion.div
variants={containerVariants}
initial="hidden"
animate="visible"
className="space-y-5"
>
{completedItems.map((item, index) => (
<motion.div key={index} variants={itemVariants} layout>
<Card className="bg-white border border-gray-200 hover:border-green-200 shadow-sm hover:shadow-md transition-all h-full">
<CardHeader className="pb-3">
<CardTitle className="text-lg font-semibold text-gray-900 flex items-start">
{item.title}
</CardTitle>
</CardHeader>
<CardContent>
<p className="text-gray-600 text-sm mb-3">
{item.description}
</p>
<div className="flex justify-between">
<div className="flex items-center gap-2 text-green-600">
<FiCheckCircle className="w-4 h-4" />
<span className="text-sm font-medium">Implemented</span>
</div>
<Button size="sm" className="flex gap-x-2">
Coba sekarang
<MdOutlineOpenInNew className="size-4" />
</Button>
</div>
</CardContent>
</Card>
</motion.div>
))}
</motion.div>
</AnimatePresence>
</div>
</div>
);
}
@@ -1,11 +0,0 @@
import { FeatureRequestCTA } from './_components/feature-request-cta';
import ProjectsVote from './_components/projects-vote';
export default function Page() {
return (
<div className="p-4 md:p-6 bg-gray-50 min-h-screen">
<FeatureRequestCTA />
<ProjectsVote />
</div>
);
}
@@ -0,0 +1,3 @@
export default function Page() {
return <></>;
}
+1 -5
View File
@@ -13,14 +13,10 @@
},
{
"title": "Roadmap",
"link": "/roadmap"
"link": "/roadmaps"
},
{
"title": "Artikel",
"link": "/articles"
},
{
"title": "Team",
"link": "/teams"
}
]