@armoyu/ui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/layout.d.ts +7 -0
- package/dist/app/layout.d.ts.map +1 -0
- package/dist/app/layout.js +31 -0
- package/dist/app/layout.js.map +1 -0
- package/dist/app/page.d.ts +2 -0
- package/dist/app/page.d.ts.map +1 -0
- package/dist/app/page.js +40 -0
- package/dist/app/page.js.map +1 -0
- package/dist/components/Button.d.ts +8 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/Button.js +16 -0
- package/dist/components/Button.js.map +1 -0
- package/dist/components/GenderStatsBar.d.ts +6 -0
- package/dist/components/GenderStatsBar.d.ts.map +1 -0
- package/dist/components/GenderStatsBar.js +8 -0
- package/dist/components/GenderStatsBar.js.map +1 -0
- package/dist/components/RollingNumber.d.ts +7 -0
- package/dist/components/RollingNumber.d.ts.map +1 -0
- package/dist/components/RollingNumber.js +24 -0
- package/dist/components/RollingNumber.js.map +1 -0
- package/dist/components/Slider.d.ts +11 -0
- package/dist/components/Slider.d.ts.map +1 -0
- package/dist/components/Slider.js +36 -0
- package/dist/components/Slider.js.map +1 -0
- package/dist/components/StatsGrid.d.ts +6 -0
- package/dist/components/StatsGrid.d.ts.map +1 -0
- package/dist/components/StatsGrid.js +14 -0
- package/dist/components/StatsGrid.js.map +1 -0
- package/dist/components/ViewModeToggle.d.ts +8 -0
- package/dist/components/ViewModeToggle.d.ts.map +1 -0
- package/dist/components/ViewModeToggle.js +10 -0
- package/dist/components/ViewModeToggle.js.map +1 -0
- package/dist/components/modules/auth/Dashboard.d.ts +2 -0
- package/dist/components/modules/auth/Dashboard.d.ts.map +1 -0
- package/dist/components/modules/auth/Dashboard.js +251 -0
- package/dist/components/modules/auth/Dashboard.js.map +1 -0
- package/dist/components/modules/auth/MediaLightbox.d.ts +14 -0
- package/dist/components/modules/auth/MediaLightbox.d.ts.map +1 -0
- package/dist/components/modules/auth/MediaLightbox.js +47 -0
- package/dist/components/modules/auth/MediaLightbox.js.map +1 -0
- package/dist/components/modules/auth/PostCard.d.ts +25 -0
- package/dist/components/modules/auth/PostCard.d.ts.map +1 -0
- package/dist/components/modules/auth/PostCard.js +113 -0
- package/dist/components/modules/auth/PostCard.js.map +1 -0
- package/dist/components/modules/auth/PostInteractionsModal.d.ts +12 -0
- package/dist/components/modules/auth/PostInteractionsModal.d.ts.map +1 -0
- package/dist/components/modules/auth/PostInteractionsModal.js +13 -0
- package/dist/components/modules/auth/PostInteractionsModal.js.map +1 -0
- package/dist/components/modules/auth/RepostModal.d.ts +22 -0
- package/dist/components/modules/auth/RepostModal.d.ts.map +1 -0
- package/dist/components/modules/auth/RepostModal.js +76 -0
- package/dist/components/modules/auth/RepostModal.js.map +1 -0
- package/dist/components/modules/auth/SidebarLeft.d.ts +2 -0
- package/dist/components/modules/auth/SidebarLeft.d.ts.map +1 -0
- package/dist/components/modules/auth/SidebarLeft.js +41 -0
- package/dist/components/modules/auth/SidebarLeft.js.map +1 -0
- package/dist/components/modules/auth/Stories.d.ts +2 -0
- package/dist/components/modules/auth/Stories.d.ts.map +1 -0
- package/dist/components/modules/auth/Stories.js +16 -0
- package/dist/components/modules/auth/Stories.js.map +1 -0
- package/dist/components/modules/auth/StoryViewer.d.ts +10 -0
- package/dist/components/modules/auth/StoryViewer.d.ts.map +1 -0
- package/dist/components/modules/auth/StoryViewer.js +48 -0
- package/dist/components/modules/auth/StoryViewer.js.map +1 -0
- package/dist/components/modules/chat/ChatContainer.d.ts +2 -0
- package/dist/components/modules/chat/ChatContainer.d.ts.map +1 -0
- package/dist/components/modules/chat/ChatContainer.js +197 -0
- package/dist/components/modules/chat/ChatContainer.js.map +1 -0
- package/dist/components/modules/chat/ChatInput.d.ts +5 -0
- package/dist/components/modules/chat/ChatInput.d.ts.map +1 -0
- package/dist/components/modules/chat/ChatInput.js +31 -0
- package/dist/components/modules/chat/ChatInput.js.map +1 -0
- package/dist/components/modules/chat/ChatList.d.ts +7 -0
- package/dist/components/modules/chat/ChatList.d.ts.map +1 -0
- package/dist/components/modules/chat/ChatList.js +52 -0
- package/dist/components/modules/chat/ChatList.js.map +1 -0
- package/dist/components/modules/chat/ChatMessage.d.ts +12 -0
- package/dist/components/modules/chat/ChatMessage.d.ts.map +1 -0
- package/dist/components/modules/chat/ChatMessage.js +7 -0
- package/dist/components/modules/chat/ChatMessage.js.map +1 -0
- package/dist/components/modules/chat/ChatNotes.d.ts +2 -0
- package/dist/components/modules/chat/ChatNotes.d.ts.map +1 -0
- package/dist/components/modules/chat/ChatNotes.js +12 -0
- package/dist/components/modules/chat/ChatNotes.js.map +1 -0
- package/dist/components/modules/community/GroupHeader.d.ts +11 -0
- package/dist/components/modules/community/GroupHeader.d.ts.map +1 -0
- package/dist/components/modules/community/GroupHeader.js +18 -0
- package/dist/components/modules/community/GroupHeader.js.map +1 -0
- package/dist/components/modules/community/GroupMenu.d.ts +10 -0
- package/dist/components/modules/community/GroupMenu.d.ts.map +1 -0
- package/dist/components/modules/community/GroupMenu.js +17 -0
- package/dist/components/modules/community/GroupMenu.js.map +1 -0
- package/dist/components/modules/community/SchoolCard.d.ts +7 -0
- package/dist/components/modules/community/SchoolCard.d.ts.map +1 -0
- package/dist/components/modules/community/SchoolCard.js +8 -0
- package/dist/components/modules/community/SchoolCard.js.map +1 -0
- package/dist/components/modules/community/SurveyCard.d.ts +7 -0
- package/dist/components/modules/community/SurveyCard.d.ts.map +1 -0
- package/dist/components/modules/community/SurveyCard.js +38 -0
- package/dist/components/modules/community/SurveyCard.js.map +1 -0
- package/dist/components/modules/forum/ForumBoard.d.ts +17 -0
- package/dist/components/modules/forum/ForumBoard.d.ts.map +1 -0
- package/dist/components/modules/forum/ForumBoard.js +7 -0
- package/dist/components/modules/forum/ForumBoard.js.map +1 -0
- package/dist/components/modules/forum/ForumPost.d.ts +14 -0
- package/dist/components/modules/forum/ForumPost.d.ts.map +1 -0
- package/dist/components/modules/forum/ForumPost.js +6 -0
- package/dist/components/modules/forum/ForumPost.js.map +1 -0
- package/dist/components/modules/forum/NewTopicModal.d.ts +8 -0
- package/dist/components/modules/forum/NewTopicModal.d.ts.map +1 -0
- package/dist/components/modules/forum/NewTopicModal.js +27 -0
- package/dist/components/modules/forum/NewTopicModal.js.map +1 -0
- package/dist/components/modules/forum/TopicItem.d.ts +16 -0
- package/dist/components/modules/forum/TopicItem.d.ts.map +1 -0
- package/dist/components/modules/forum/TopicItem.js +7 -0
- package/dist/components/modules/forum/TopicItem.js.map +1 -0
- package/dist/components/modules/galleries/GalleryCard.d.ts +10 -0
- package/dist/components/modules/galleries/GalleryCard.d.ts.map +1 -0
- package/dist/components/modules/galleries/GalleryCard.js +6 -0
- package/dist/components/modules/galleries/GalleryCard.js.map +1 -0
- package/dist/components/modules/giveaways/GiveawayCard.d.ts +10 -0
- package/dist/components/modules/giveaways/GiveawayCard.d.ts.map +1 -0
- package/dist/components/modules/giveaways/GiveawayCard.js +7 -0
- package/dist/components/modules/giveaways/GiveawayCard.js.map +1 -0
- package/dist/components/modules/groups/ApplicationModal.d.ts +8 -0
- package/dist/components/modules/groups/ApplicationModal.d.ts.map +1 -0
- package/dist/components/modules/groups/ApplicationModal.js +28 -0
- package/dist/components/modules/groups/ApplicationModal.js.map +1 -0
- package/dist/components/modules/groups/GroupCard.d.ts +13 -0
- package/dist/components/modules/groups/GroupCard.d.ts.map +1 -0
- package/dist/components/modules/groups/GroupCard.js +7 -0
- package/dist/components/modules/groups/GroupCard.js.map +1 -0
- package/dist/components/modules/guest/Introduction.d.ts +2 -0
- package/dist/components/modules/guest/Introduction.d.ts.map +1 -0
- package/dist/components/modules/guest/Introduction.js +14 -0
- package/dist/components/modules/guest/Introduction.js.map +1 -0
- package/dist/components/modules/magaza/BackToStore.d.ts +2 -0
- package/dist/components/modules/magaza/BackToStore.d.ts.map +1 -0
- package/dist/components/modules/magaza/BackToStore.js +11 -0
- package/dist/components/modules/magaza/BackToStore.js.map +1 -0
- package/dist/components/modules/magaza/StoreHeader.d.ts +6 -0
- package/dist/components/modules/magaza/StoreHeader.d.ts.map +1 -0
- package/dist/components/modules/magaza/StoreHeader.js +9 -0
- package/dist/components/modules/magaza/StoreHeader.js.map +1 -0
- package/dist/components/modules/news/NewsCard.d.ts +12 -0
- package/dist/components/modules/news/NewsCard.d.ts.map +1 -0
- package/dist/components/modules/news/NewsCard.js +7 -0
- package/dist/components/modules/news/NewsCard.js.map +1 -0
- package/dist/components/modules/news/NewsComments.d.ts +2 -0
- package/dist/components/modules/news/NewsComments.d.ts.map +1 -0
- package/dist/components/modules/news/NewsComments.js +53 -0
- package/dist/components/modules/news/NewsComments.js.map +1 -0
- package/dist/components/modules/profile/CloudStorageModal.d.ts +9 -0
- package/dist/components/modules/profile/CloudStorageModal.d.ts.map +1 -0
- package/dist/components/modules/profile/CloudStorageModal.js +32 -0
- package/dist/components/modules/profile/CloudStorageModal.js.map +1 -0
- package/dist/components/modules/profile/EditProfileModal.d.ts +9 -0
- package/dist/components/modules/profile/EditProfileModal.d.ts.map +1 -0
- package/dist/components/modules/profile/EditProfileModal.js +28 -0
- package/dist/components/modules/profile/EditProfileModal.js.map +1 -0
- package/dist/components/modules/profile/ProfileContent.d.ts +5 -0
- package/dist/components/modules/profile/ProfileContent.d.ts.map +1 -0
- package/dist/components/modules/profile/ProfileContent.js +71 -0
- package/dist/components/modules/profile/ProfileContent.js.map +1 -0
- package/dist/components/modules/profile/ProfileHeader.d.ts +8 -0
- package/dist/components/modules/profile/ProfileHeader.d.ts.map +1 -0
- package/dist/components/modules/profile/ProfileHeader.js +20 -0
- package/dist/components/modules/profile/ProfileHeader.js.map +1 -0
- package/dist/components/modules/profile/ProfileStats.d.ts +2 -0
- package/dist/components/modules/profile/ProfileStats.d.ts.map +1 -0
- package/dist/components/modules/profile/ProfileStats.js +15 -0
- package/dist/components/modules/profile/ProfileStats.js.map +1 -0
- package/dist/components/modules/profile/TeamSelectorModal.d.ts +11 -0
- package/dist/components/modules/profile/TeamSelectorModal.d.ts.map +1 -0
- package/dist/components/modules/profile/TeamSelectorModal.js +17 -0
- package/dist/components/modules/profile/TeamSelectorModal.js.map +1 -0
- package/dist/components/modules/stations/StationCard.d.ts +3 -0
- package/dist/components/modules/stations/StationCard.d.ts.map +1 -0
- package/dist/components/modules/stations/StationCard.js +26 -0
- package/dist/components/modules/stations/StationCard.js.map +1 -0
- package/dist/components/modules/stations/StationQRModal.d.ts +10 -0
- package/dist/components/modules/stations/StationQRModal.d.ts.map +1 -0
- package/dist/components/modules/stations/StationQRModal.js +13 -0
- package/dist/components/modules/stations/StationQRModal.js.map +1 -0
- package/dist/components/shared/FloatingChatButton.d.ts +5 -0
- package/dist/components/shared/FloatingChatButton.d.ts.map +1 -0
- package/dist/components/shared/FloatingChatButton.js +21 -0
- package/dist/components/shared/FloatingChatButton.js.map +1 -0
- package/dist/components/shared/Footer.d.ts +2 -0
- package/dist/components/shared/Footer.d.ts.map +1 -0
- package/dist/components/shared/Footer.js +10 -0
- package/dist/components/shared/Footer.js.map +1 -0
- package/dist/components/shared/Header.d.ts +2 -0
- package/dist/components/shared/Header.d.ts.map +1 -0
- package/dist/components/shared/Header.js +98 -0
- package/dist/components/shared/Header.js.map +1 -0
- package/dist/components/shared/LoginModal.d.ts +5 -0
- package/dist/components/shared/LoginModal.d.ts.map +1 -0
- package/dist/components/shared/LoginModal.js +70 -0
- package/dist/components/shared/LoginModal.js.map +1 -0
- package/dist/components/shared/MainLayoutWrapper.d.ts +4 -0
- package/dist/components/shared/MainLayoutWrapper.d.ts.map +1 -0
- package/dist/components/shared/MainLayoutWrapper.js +8 -0
- package/dist/components/shared/MainLayoutWrapper.js.map +1 -0
- package/dist/components/shared/PageWidth.d.ts +6 -0
- package/dist/components/shared/PageWidth.d.ts.map +1 -0
- package/dist/components/shared/PageWidth.js +14 -0
- package/dist/components/shared/PageWidth.js.map +1 -0
- package/dist/components/showcase/CommunityTab.d.ts +2 -0
- package/dist/components/showcase/CommunityTab.d.ts.map +1 -0
- package/dist/components/showcase/CommunityTab.js +6 -0
- package/dist/components/showcase/CommunityTab.js.map +1 -0
- package/dist/components/showcase/CorporateTab.d.ts +2 -0
- package/dist/components/showcase/CorporateTab.d.ts.map +1 -0
- package/dist/components/showcase/CorporateTab.js +6 -0
- package/dist/components/showcase/CorporateTab.js.map +1 -0
- package/dist/components/showcase/GeneralTab.d.ts +2 -0
- package/dist/components/showcase/GeneralTab.d.ts.map +1 -0
- package/dist/components/showcase/GeneralTab.js +6 -0
- package/dist/components/showcase/GeneralTab.js.map +1 -0
- package/dist/components/showcase/MessagesTab.d.ts +2 -0
- package/dist/components/showcase/MessagesTab.d.ts.map +1 -0
- package/dist/components/showcase/MessagesTab.js +6 -0
- package/dist/components/showcase/MessagesTab.js.map +1 -0
- package/dist/components/showcase/ProfileTab.d.ts +2 -0
- package/dist/components/showcase/ProfileTab.d.ts.map +1 -0
- package/dist/components/showcase/ProfileTab.js +7 -0
- package/dist/components/showcase/ProfileTab.js.map +1 -0
- package/dist/components/showcase/ShopTab.d.ts +2 -0
- package/dist/components/showcase/ShopTab.d.ts.map +1 -0
- package/dist/components/showcase/ShopTab.js +6 -0
- package/dist/components/showcase/ShopTab.js.map +1 -0
- package/dist/components/showcase/SocialTab.d.ts +2 -0
- package/dist/components/showcase/SocialTab.d.ts.map +1 -0
- package/dist/components/showcase/SocialTab.js +7 -0
- package/dist/components/showcase/SocialTab.js.map +1 -0
- package/dist/context/AuthContext.d.ts +19 -0
- package/dist/context/AuthContext.d.ts.map +1 -0
- package/dist/context/AuthContext.js +75 -0
- package/dist/context/AuthContext.js.map +1 -0
- package/dist/context/CartContext.d.ts +17 -0
- package/dist/context/CartContext.d.ts.map +1 -0
- package/dist/context/CartContext.js +64 -0
- package/dist/context/CartContext.js.map +1 -0
- package/dist/context/ChatContext.d.ts +13 -0
- package/dist/context/ChatContext.d.ts.map +1 -0
- package/dist/context/ChatContext.js +18 -0
- package/dist/context/ChatContext.js.map +1 -0
- package/dist/context/LayoutContext.d.ts +11 -0
- package/dist/context/LayoutContext.d.ts.map +1 -0
- package/dist/context/LayoutContext.js +17 -0
- package/dist/context/LayoutContext.js.map +1 -0
- package/dist/context/SocketContext.d.ts +13 -0
- package/dist/context/SocketContext.d.ts.map +1 -0
- package/dist/context/SocketContext.js +31 -0
- package/dist/context/SocketContext.js.map +1 -0
- package/dist/context/ThemeContext.d.ts +11 -0
- package/dist/context/ThemeContext.d.ts.map +1 -0
- package/dist/context/ThemeContext.js +40 -0
- package/dist/context/ThemeContext.js.map +1 -0
- package/dist/index.d.ts +66 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +81 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/constants/educationData.d.ts +8 -0
- package/dist/lib/constants/educationData.d.ts.map +1 -0
- package/dist/lib/constants/educationData.js +118 -0
- package/dist/lib/constants/educationData.js.map +1 -0
- package/dist/lib/constants/punishmentData.d.ts +30 -0
- package/dist/lib/constants/punishmentData.d.ts.map +1 -0
- package/dist/lib/constants/punishmentData.js +184 -0
- package/dist/lib/constants/punishmentData.js.map +1 -0
- package/dist/lib/constants/seedData.d.ts +165 -0
- package/dist/lib/constants/seedData.d.ts.map +1 -0
- package/dist/lib/constants/seedData.js +709 -0
- package/dist/lib/constants/seedData.js.map +1 -0
- package/dist/lib/constants/stationData.d.ts +14 -0
- package/dist/lib/constants/stationData.d.ts.map +1 -0
- package/dist/lib/constants/stationData.js +167 -0
- package/dist/lib/constants/stationData.js.map +1 -0
- package/dist/lib/constants/surveyData.d.ts +3 -0
- package/dist/lib/constants/surveyData.d.ts.map +1 -0
- package/dist/lib/constants/surveyData.js +50 -0
- package/dist/lib/constants/surveyData.js.map +1 -0
- package/dist/lib/constants/teamData.d.ts +13 -0
- package/dist/lib/constants/teamData.d.ts.map +1 -0
- package/dist/lib/constants/teamData.js +66 -0
- package/dist/lib/constants/teamData.js.map +1 -0
- package/dist/lib/utils/numberFormat.d.ts +10 -0
- package/dist/lib/utils/numberFormat.d.ts.map +1 -0
- package/dist/lib/utils/numberFormat.js +17 -0
- package/dist/lib/utils/numberFormat.js.map +1 -0
- package/dist/lib/utils/odpUtils.d.ts +16 -0
- package/dist/lib/utils/odpUtils.d.ts.map +1 -0
- package/dist/lib/utils/odpUtils.js +44 -0
- package/dist/lib/utils/odpUtils.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/stats.d.ts +18 -0
- package/dist/types/stats.d.ts.map +1 -0
- package/dist/types/stats.js +2 -0
- package/dist/types/stats.js.map +1 -0
- package/next.config.ts +13 -0
- package/package.json +46 -0
- package/postcss.config.js +6 -0
- package/src/app/layout.tsx +64 -0
- package/src/app/page.tsx +101 -0
- package/src/components/Button.tsx +41 -0
- package/src/components/GenderStatsBar.tsx +66 -0
- package/src/components/RollingNumber.tsx +50 -0
- package/src/components/Slider.tsx +114 -0
- package/src/components/StatsGrid.tsx +35 -0
- package/src/components/ViewModeToggle.tsx +39 -0
- package/src/components/modules/auth/Dashboard.tsx +649 -0
- package/src/components/modules/auth/MediaLightbox.tsx +112 -0
- package/src/components/modules/auth/PostCard.tsx +556 -0
- package/src/components/modules/auth/PostInteractionsModal.tsx +138 -0
- package/src/components/modules/auth/RepostModal.tsx +167 -0
- package/src/components/modules/auth/SidebarLeft.tsx +237 -0
- package/src/components/modules/auth/Stories.tsx +69 -0
- package/src/components/modules/auth/StoryViewer.tsx +146 -0
- package/src/components/modules/chat/ChatContainer.tsx +332 -0
- package/src/components/modules/chat/ChatInput.tsx +57 -0
- package/src/components/modules/chat/ChatList.tsx +179 -0
- package/src/components/modules/chat/ChatMessage.tsx +43 -0
- package/src/components/modules/chat/ChatNotes.tsx +58 -0
- package/src/components/modules/community/GroupHeader.tsx +111 -0
- package/src/components/modules/community/GroupMenu.tsx +82 -0
- package/src/components/modules/community/SchoolCard.tsx +104 -0
- package/src/components/modules/community/SurveyCard.tsx +149 -0
- package/src/components/modules/forum/ForumBoard.tsx +78 -0
- package/src/components/modules/forum/ForumPost.tsx +71 -0
- package/src/components/modules/forum/NewTopicModal.tsx +112 -0
- package/src/components/modules/forum/TopicItem.tsx +72 -0
- package/src/components/modules/galleries/GalleryCard.tsx +66 -0
- package/src/components/modules/giveaways/GiveawayCard.tsx +76 -0
- package/src/components/modules/groups/ApplicationModal.tsx +133 -0
- package/src/components/modules/groups/GroupCard.tsx +96 -0
- package/src/components/modules/guest/Introduction.tsx +60 -0
- package/src/components/modules/magaza/BackToStore.tsx +53 -0
- package/src/components/modules/magaza/StoreHeader.tsx +74 -0
- package/src/components/modules/news/NewsCard.tsx +66 -0
- package/src/components/modules/news/NewsComments.tsx +141 -0
- package/src/components/modules/profile/CloudStorageModal.tsx +200 -0
- package/src/components/modules/profile/EditProfileModal.tsx +191 -0
- package/src/components/modules/profile/ProfileContent.tsx +491 -0
- package/src/components/modules/profile/ProfileHeader.tsx +128 -0
- package/src/components/modules/profile/ProfileStats.tsx +72 -0
- package/src/components/modules/profile/TeamSelectorModal.tsx +129 -0
- package/src/components/modules/stations/StationCard.tsx +95 -0
- package/src/components/modules/stations/StationQRModal.tsx +102 -0
- package/src/components/shared/FloatingChatButton.tsx +57 -0
- package/src/components/shared/Footer.tsx +77 -0
- package/src/components/shared/Header.tsx +799 -0
- package/src/components/shared/LoginModal.tsx +208 -0
- package/src/components/shared/MainLayoutWrapper.tsx +15 -0
- package/src/components/shared/PageWidth.tsx +22 -0
- package/src/components/showcase/CommunityTab.tsx +22 -0
- package/src/components/showcase/CorporateTab.tsx +38 -0
- package/src/components/showcase/GeneralTab.tsx +41 -0
- package/src/components/showcase/MessagesTab.tsx +26 -0
- package/src/components/showcase/ProfileTab.tsx +20 -0
- package/src/components/showcase/ShopTab.tsx +24 -0
- package/src/components/showcase/SocialTab.tsx +28 -0
- package/src/context/AuthContext.tsx +104 -0
- package/src/context/CartContext.tsx +93 -0
- package/src/context/ChatContext.tsx +32 -0
- package/src/context/LayoutContext.tsx +29 -0
- package/src/context/SocketContext.tsx +50 -0
- package/src/context/ThemeContext.tsx +52 -0
- package/src/globals.css +187 -0
- package/src/index.ts +96 -0
- package/src/lib/constants/educationData.ts +124 -0
- package/src/lib/constants/punishmentData.ts +201 -0
- package/src/lib/constants/seedData.ts +758 -0
- package/src/lib/constants/stationData.ts +170 -0
- package/src/lib/constants/surveyData.ts +53 -0
- package/src/lib/constants/teamData.ts +69 -0
- package/src/lib/utils/numberFormat.ts +16 -0
- package/src/lib/utils/odpUtils.ts +51 -0
- package/src/types/index.ts +1 -0
- package/src/types/stats.ts +17 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import Link from 'next/link';
|
|
4
|
+
import { GraduationCap, Users, Trophy, ChevronRight, MapPin } from 'lucide-react';
|
|
5
|
+
export function SchoolCard({ school }) {
|
|
6
|
+
return (_jsx(Link, { href: `/egitim/${school.slug}`, className: "block group", children: _jsxs("div", { className: "glass-panel relative overflow-hidden rounded-[40px] border border-armoyu-card-border bg-armoyu-card-bg hover:border-blue-500/50 hover:shadow-2xl hover:shadow-blue-500/10 transition-all duration-500 group", children: [_jsx("div", { className: "absolute top-0 left-0 w-full h-32 bg-gradient-to-br from-blue-600/20 to-purple-600/20 opacity-30 group-hover:opacity-50 transition-opacity" }), _jsxs("div", { className: "relative p-8 pt-12", children: [_jsxs("div", { className: "flex items-start justify-between mb-8", children: [_jsxs("div", { className: "relative", children: [_jsx("div", { className: "w-24 h-24 rounded-3xl bg-white dark:bg-zinc-900 border-4 border-armoyu-bg overflow-hidden shadow-xl group-hover:scale-105 transition-transform duration-500", children: _jsx("img", { src: school.logo, alt: school.name, className: "w-full h-full object-contain p-2" }) }), _jsx("div", { className: "absolute -bottom-2 -right-2 px-3 py-1 bg-blue-600 text-white text-[10px] font-black italic rounded-lg shadow-lg uppercase tracking-widest border-2 border-armoyu-bg", children: "Onayl\u0131 Okul" })] }), _jsx("div", { className: "flex gap-2", children: _jsx("div", { className: "px-5 py-2.5 rounded-2xl bg-black/5 dark:bg-white/5 border border-armoyu-card-border text-[10px] font-black text-armoyu-text-muted uppercase tracking-[0.2em]", children: school.id.toUpperCase() }) })] }), _jsxs("div", { className: "space-y-4 mb-8", children: [_jsx("h3", { className: "text-2xl font-black text-armoyu-text uppercase tracking-tighter italic leading-none group-hover:text-blue-500 transition-colors", children: school.name }), _jsxs("div", { className: "flex items-center gap-2 text-armoyu-text-muted", children: [_jsx(MapPin, { size: 14, className: "text-blue-500" }), _jsx("span", { className: "text-[11px] font-bold uppercase tracking-widest opacity-60", children: "T\u00FCrkiye / \u0130stanbul" })] })] }), _jsxs("div", { className: "grid grid-cols-3 gap-2 py-4 border-y border-armoyu-card-border", children: [_jsxs("div", { className: "text-center group/stat", children: [_jsxs("div", { className: "flex items-center justify-center gap-1.5 text-armoyu-text-muted mb-1", children: [_jsx(Users, { size: 12, className: "group-hover/stat:text-blue-500 transition-colors" }), _jsx("span", { className: "text-[9px] font-black uppercase tracking-widest opacity-50", children: "\u00D6\u011Frenci" })] }), _jsx("div", { className: "text-sm font-black text-armoyu-text", children: school.memberCount })] }), _jsxs("div", { className: "text-center group/stat border-x border-armoyu-card-border px-2", children: [_jsxs("div", { className: "flex items-center justify-center gap-1.5 text-armoyu-text-muted mb-1", children: [_jsx(GraduationCap, { size: 12, className: "group-hover/stat:text-blue-500 transition-colors" }), _jsx("span", { className: "text-[9px] font-black uppercase tracking-widest opacity-50", children: "Fak\u00FClte" })] }), _jsx("div", { className: "text-sm font-black text-armoyu-text", children: (school.faculties || []).length })] }), _jsxs("div", { className: "text-center group/stat", children: [_jsxs("div", { className: "flex items-center justify-center gap-1.5 text-armoyu-text-muted mb-1", children: [_jsx(Trophy, { size: 12, className: "group-hover/stat:text-blue-500 transition-colors" }), _jsx("span", { className: "text-[9px] font-black uppercase tracking-widest opacity-50", children: "Tak\u0131mlar" })] }), _jsx("div", { className: "text-sm font-black text-armoyu-text", children: (school.teams || []).length })] })] }), _jsxs("div", { className: "mt-8 flex items-center justify-between", children: [_jsxs("div", { className: "flex -space-x-3", children: [[1, 2, 3, 4].map((i) => (_jsx("img", { src: `https://api.dicebear.com/7.x/avataaars/svg?seed=Armoyu${i + school.id}`, className: "w-8 h-8 rounded-full border-2 border-armoyu-bg", alt: "Member" }, i))), _jsxs("div", { className: "w-8 h-8 rounded-full bg-black/5 dark:bg-white/5 border-2 border-armoyu-bg flex items-center justify-center text-[8px] font-black text-armoyu-text-muted uppercase", children: ["+", (school.memberCount || 0) - 4] })] }), _jsxs("div", { className: "flex items-center gap-2 text-blue-500 text-[10px] font-black uppercase tracking-widest group-hover:translate-x-2 transition-transform", children: ["OKUL PORTALI ", _jsx(ChevronRight, { size: 16, strokeWidth: 3 })] })] })] }), _jsx("div", { className: "absolute -bottom-8 -right-8 w-32 h-32 bg-blue-500/5 blur-[40px] rounded-full group-hover:bg-blue-500/10 transition-colors" })] }) }));
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=SchoolCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchoolCard.js","sourceRoot":"","sources":["../../../../src/components/modules/community/SchoolCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAMlF,MAAM,UAAU,UAAU,CAAC,EAAE,MAAM,EAAmB;IACpD,OAAO,CACL,KAAC,IAAI,IAAC,IAAI,EAAE,WAAW,MAAM,CAAC,IAAI,EAAE,EAAE,SAAS,EAAC,aAAa,YAC3D,eAAK,SAAS,EAAC,6MAA6M,aAG1N,cAAK,SAAS,EAAC,4IAA4I,GAAG,EAE9J,eAAK,SAAS,EAAC,oBAAoB,aACjC,eAAK,SAAS,EAAC,uC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AAC,sEAAsE,aACnF,KAAC,MAAM,IAAC,IAAI,EAAE,EAAE,EAAE,SAAS,EAAC,kDAAkD,GAAG,EACjF,eAAM,SAAS,EAAC,4DAA4D,8BAAgB,IACxF,EACN,cAAK,SAAS,EAAC,qCAAqC,YAAE,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,GAAO,IACpF,IACF,EAEN,eAAK,SAAS,EAAC,wCAAwC,aACrD,eAAK,SAAS,EAAC,iBAAiB,aAC7B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CACvB,cAEE,GAAG,EAAE,yDAAyD,CAAC,GAAI,MAAM,CAAC,EAAU,EAAE,EACtF,SAAS,EAAC,gDAAgD,EAC1D,GAAG,EAAC,QAAQ,IAHP,CAAC,CAIN,CACH,CAAC,EACF,eAAK,SAAS,EAAC,mKAAmK,kBAC9K,CAAC,MAAM,CAAC,WAAW,IAAI,CAAC,CAAC,GAAG,CAAC,IAC3B,IACF,EAEN,eAAK,SAAS,EAAC,uIAAuI,8BACvI,KAAC,YAAY,IAAC,IAAI,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC,GAAI,IACnD,IACF,IACF,EAGN,cAAK,SAAS,EAAC,2HAA2H,GAAG,IACzI,GACD,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SurveyCard.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/community/SurveyCard.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAgB,MAAM,cAAc,CAAC;AAGpD,UAAU,eAAe;IACvB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,eAAe,2CAyIrD"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import { SurveyAnswer } from '@armoyu/core';
|
|
5
|
+
import { CheckCircle2, Users, Calendar, BarChart3 } from 'lucide-react';
|
|
6
|
+
export function SurveyCard({ survey }) {
|
|
7
|
+
const [hasVoted, setHasVoted] = useState(survey.hasVoted);
|
|
8
|
+
const [myVoteId, setMyVoteId] = useState(survey.myVoteId);
|
|
9
|
+
const [options, setOptions] = useState(survey.options);
|
|
10
|
+
const [totalVotes, setTotalVotes] = useState(survey.totalVotes);
|
|
11
|
+
const handleVote = (optionId) => {
|
|
12
|
+
if (hasVoted)
|
|
13
|
+
return;
|
|
14
|
+
// Optimistic Update
|
|
15
|
+
setHasVoted(true);
|
|
16
|
+
setMyVoteId(optionId);
|
|
17
|
+
setTotalVotes(prev => prev + 1);
|
|
18
|
+
setOptions(prev => prev.map(opt => {
|
|
19
|
+
if (opt.id === optionId) {
|
|
20
|
+
return new SurveyAnswer({ ...opt, votes: opt.votes + 1 });
|
|
21
|
+
}
|
|
22
|
+
return opt;
|
|
23
|
+
}));
|
|
24
|
+
};
|
|
25
|
+
const getPercentage = (votes) => {
|
|
26
|
+
if (totalVotes === 0)
|
|
27
|
+
return 0;
|
|
28
|
+
return Math.round((votes / totalVotes) * 100);
|
|
29
|
+
};
|
|
30
|
+
return (_jsxs("div", { className: "glass-panel p-6 md:p-8 rounded-[40px] border border-armoyu-card-border bg-armoyu-card-bg shadow-xl hover:shadow-2xl transition-all duration-500 overflow-hidden relative group", children: [_jsx("div", { className: "absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-blue-500 via-indigo-500 to-purple-500 opacity-70" }), _jsxs("div", { className: "flex flex-col md:flex-row md:items-start justify-between gap-6 mb-8", children: [_jsxs("div", { className: "flex-1", children: [_jsxs("div", { className: "flex items-center gap-3 mb-4", children: [_jsx("div", { className: "w-10 h-10 rounded-2xl bg-blue-500/10 flex items-center justify-center text-blue-500", children: _jsx(BarChart3, { size: 20 }) }), _jsxs("div", { children: [_jsx("p", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-widest leading-none mb-1", children: "Topluluk Anketi" }), _jsxs("div", { className: "flex items-center gap-2", children: [_jsx("img", { src: survey.author?.avatar, className: "w-4 h-4 rounded-full", alt: "" }), _jsxs("p", { className: "text-[10px] font-bold text-armoyu-text/60 uppercase", children: [survey.author?.displayName, " taraf\u0131ndan"] })] })] })] }), _jsx("h3", { className: "text-xl md:text-2xl font-black text-armoyu-text uppercase tracking-tight italic leading-tight mb-3", children: survey.question }), survey.description && (_jsx("p", { className: "text-xs font-medium text-armoyu-text-muted leading-relaxed max-w-2xl", children: survey.description }))] }), _jsxs("div", { className: "flex flex-col md:items-end gap-2 shrink-0", children: [_jsxs("div", { className: "flex items-center gap-2 px-3 py-1.5 bg-black/5 dark:bg-white/5 rounded-xl border border-black/5 dark:border-white/5", children: [_jsx(Users, { size: 14, className: "text-blue-500" }), _jsxs("span", { className: "text-[10px] font-black text-armoyu-text uppercase tracking-widest", children: [totalVotes, " Toplam Oy"] })] }), survey.expiresAt && (_jsxs("div", { className: "flex items-center gap-2 px-3 py-1.5 bg-black/5 dark:bg-white/5 rounded-xl border border-black/5 dark:border-white/5", children: [_jsx(Calendar, { size: 14, className: "text-orange-500" }), _jsxs("span", { className: "text-[10px] font-black text-armoyu-text uppercase tracking-widest", children: ["Biti\u015F: ", survey.expiresAt] })] }))] })] }), _jsx("div", { className: "space-y-4", children: options.map((opt) => {
|
|
31
|
+
const percentage = getPercentage(opt.votes);
|
|
32
|
+
const isSelected = myVoteId === opt.id;
|
|
33
|
+
return (_jsxs("div", { className: "relative group/opt", onClick: () => handleVote(opt.id), children: [_jsxs("div", { className: `flex items-center justify-between p-4 md:p-5 rounded-2xl border transition-all cursor-pointer relative z-10
|
|
34
|
+
${isSelected ? 'bg-blue-500/10 border-blue-500/50' : 'bg-black/5 dark:bg-white/5 border-transparent hover:border-blue-500/20'}`, children: [_jsxs("div", { className: "flex items-center gap-4 flex-1", children: [_jsx("div", { className: `w-6 h-6 rounded-lg border-2 flex items-center justify-center transition-all
|
|
35
|
+
${isSelected ? 'bg-blue-500 border-blue-500 text-white' : 'border-armoyu-card-border group-hover/opt:border-blue-500/50'}`, children: isSelected && _jsx(CheckCircle2, { size: 14 }) }), _jsx("span", { className: `text-sm md:text-base font-black uppercase tracking-tight ${isSelected ? 'text-blue-500' : 'text-armoyu-text'}`, children: opt.text })] }), hasVoted && (_jsxs("div", { className: "flex items-center gap-3", children: [_jsxs("span", { className: "text-xs font-black text-armoyu-text/40", children: [opt.votes, " OY"] }), _jsxs("span", { className: "text-lg font-black text-armoyu-text italic", children: ["%", percentage] })] }))] }), hasVoted && (_jsx("div", { className: "absolute inset-0 z-0 p-1", children: _jsx("div", { className: "h-full bg-blue-500/10 rounded-xl transition-all duration-1000 ease-out", style: { width: `${percentage}%` } }) }))] }, opt.id));
|
|
36
|
+
}) }), !hasVoted && (_jsx("div", { className: "mt-8 pt-6 border-t border-armoyu-card-border flex items-center justify-center", children: _jsx("p", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-[0.2em] animate-pulse", children: "Se\u00E7iminizi yapmak i\u00E7in bir se\u00E7ene\u011Fe t\u0131klay\u0131n" }) })), hasVoted && (_jsxs("div", { className: "mt-8 pt-6 border-t border-armoyu-card-border flex items-center justify-between", children: [_jsxs("p", { className: "text-[10px] font-black text-emerald-500 uppercase tracking-widest flex items-center gap-2", children: [_jsx(CheckCircle2, { size: 12 }), " Kat\u0131l\u0131m\u0131n\u0131z i\u00E7in te\u015Fekk\u00FCrler"] }), _jsx("button", { className: "text-[9px] font-black text-armoyu-text-muted hover:text-blue-500 uppercase tracking-widest transition-colors", onClick: () => window.location.reload(), children: "ANKET\u0130 SIFIRLA (TEST)" })] }))] }));
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=SurveyCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SurveyCard.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,GAAG,EAAE,GAAQ,GAC9H,CACP,KA/BI,GAAG,CAAC,EAAE,CAgCP,CACP,CAAC;gBACJ,CAAC,CAAC,GACE,EAEL,CAAC,QAAQ,IAAI,CACZ,cAAK,SAAS,EAAC,+EAA+E,YAC5F,YAAG,SAAS,EAAC,wFAAwF,2FAEjG,GACA,CACP,EAEA,QAAQ,IAAI,CACX,eAAK,SAAS,EAAC,gFAAgF,aAC5F,aAAG,SAAS,EAAC,2FAA2F,aACtG,KAAC,YAAY,IAAC,IAAI,EAAE,EAAE,GAAI,wEACxB,EACJ,iBACE,SAAS,EAAC,8GAA8G,EACxH,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,2CAGhC,IACN,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ForumBoardProps {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
desc: string;
|
|
6
|
+
topicCount: number;
|
|
7
|
+
postCount: number;
|
|
8
|
+
lastPost?: {
|
|
9
|
+
topicTitle: string;
|
|
10
|
+
author: string;
|
|
11
|
+
avatar: string;
|
|
12
|
+
time: string;
|
|
13
|
+
};
|
|
14
|
+
icon?: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare function ForumBoard({ id, name, desc, topicCount, postCount, lastPost, icon }: ForumBoardProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=ForumBoard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ForumBoard.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/forum/ForumBoard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE;QACT,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAED,wBAAgB,UAAU,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,eAAe,2CAyDpG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import Link from 'next/link';
|
|
4
|
+
export function ForumBoard({ id, name, desc, topicCount, postCount, lastPost, icon }) {
|
|
5
|
+
return (_jsx(Link, { href: `/forum/${id}`, className: "block", children: _jsxs("div", { className: "group flex flex-col md:flex-row items-center gap-6 p-6 md:p-8 glass-panel bg-armoyu-card-bg border border-armoyu-card-border hover:shadow-2xl transition-all duration-300 hover:border-blue-500/30", children: [_jsx("div", { className: "w-16 h-16 rounded-[22px] bg-blue-500/10 dark:bg-white/5 flex items-center justify-center text-blue-500 group-hover:bg-blue-600 group-hover:text-white transition-all shrink-0", children: icon || _jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", children: _jsx("path", { d: "M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z" }) }) }), _jsxs("div", { className: "flex-1 min-w-0 text-center md:text-left", children: [_jsx("h3", { className: "text-xl font-black text-armoyu-text mb-1 uppercase tracking-tight group-hover:text-blue-500 transition-colors", children: name }), _jsx("p", { className: "text-sm text-armoyu-text-muted font-medium line-clamp-2 leading-relaxed opacity-80", children: desc })] }), _jsxs("div", { className: "hidden lg:flex items-center gap-10 px-8 border-x border-armoyu-card-border/50", children: [_jsxs("div", { className: "text-center", children: [_jsx("span", { className: "block text-xl font-black text-armoyu-text", children: topicCount }), _jsx("span", { className: "text-[10px] font-bold text-armoyu-text-muted uppercase tracking-widest", children: "KONU" })] }), _jsxs("div", { className: "text-center", children: [_jsx("span", { className: "block text-xl font-black text-armoyu-text", children: postCount }), _jsx("span", { className: "text-[10px] font-bold text-armoyu-text-muted uppercase tracking-widest", children: "MESAJ" })] })] }), _jsx("div", { className: "hidden xl:flex items-center gap-4 w-64 shrink-0", children: lastPost ? (_jsxs(_Fragment, { children: [_jsx("img", { src: lastPost.avatar, alt: lastPost.author, className: "w-10 h-10 rounded-full border border-blue-500/20" }), _jsxs("div", { className: "min-w-0", children: [_jsx("p", { className: "text-xs font-bold text-armoyu-text truncate hover:text-blue-500 cursor-pointer", children: lastPost.topicTitle }), _jsxs("p", { className: "text-[10px] font-medium text-armoyu-text-muted mt-0.5 uppercase tracking-tighter", children: [_jsx("span", { className: "text-blue-500 font-bold", children: lastPost.author }), " \u2022 ", lastPost.time] })] })] })) : (_jsx("span", { className: "text-xs font-bold text-armoyu-text-muted italic opacity-50 uppercase tracking-widest", children: "HEN\u00DCZ KONU YOK" })) }), _jsx("div", { className: "md:hidden lg:flex shrink-0 w-10 h-10 rounded-full bg-black/5 dark:bg-white/5 items-center justify-center opacity-0 group-hover:opacity-100 group-hover:translate-x-1 transition-all", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", children: [_jsx("line", { x1: "5", y1: "12", x2: "19", y2: "12" }), _jsx("polyline", { points: "12 5 19 12 12 19" })] }) })] }) }));
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=ForumBoard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ForumBoard.js","sourceRoot":"","sources":["../../../../src/components/modules/forum/ForumBoard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,IAAI,MAAM,WAAW,CAAC;AAiB7B,MAAM,UAAU,UAAU,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAmB;IACnG,OAAO,CACL,KAAC,IAAI,IAAC,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,SAAS,EAAC,OAAO,YAC3C,eAAK,SAAS,EAAC,oMAAoM,aAGjN,cAAK,SAAS,EAAC,+KAA+K,YAC1L,IAAI,IAAI,cAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,KAAK,YAAC,eAAM,CAAC,EAAC,0LAA0L,GAAQ,GAAM,GAC1T,EAGN,eAAK,SAAS,EAAC,yCAAyC,aACrD,aAAI,SAAS,EAAC,+GAA+G,YACzH,IAAI,GACH,EACL,YAAG,SAAS,EAAC,oFAAoF,YAC7F,IAAI,GACJ,IACD,EAGN,eAAK,SAAS,EAAC,+EAA+E,aAC3F,eAAK,SAAS,EAAC,aAAa,aACzB,eAAM,SAAS,EAAC,2CAA2C,YAAE,UAAU,GAAQ,EAC/E,eAAM,SAAS,EAAC,wEAAwE,qBAAY,IACjG,EACN,eAAK,SAAS,EAAC,aAAa,aACzB,eAAM,SAAS,EAAC,2CAA2C,YAAE,SAAS,GAAQ,EAC9E,eAAM,SAAS,EAAC,wEAAwE,sBAAa,IAClG,IACH,EAGN,cAAK,SAAS,EAAC,iDAAiD,YAC3D,QAAQ,CAAC,CAAC,CAAC,CACV,8BACG,cAAK,GAAG,EAAE,QAAQ,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,CAAC,MAAM,EAAE,SAAS,EAAC,kDAAkD,GAAG,EAChH,eAAK,SAAS,EAAC,SAAS,aACrB,YAAG,SAAS,EAAC,gFAAgF,YAAE,QAAQ,CAAC,UAAU,GAAK,EACvH,aAAG,SAAS,EAAC,kFAAkF,aAC5F,eAAM,SAAS,EAAC,yBAAyB,YAAE,QAAQ,CAAC,MAAM,GAAQ,cAAI,QAAQ,CAAC,IAAI,IAClF,IACD,IACN,CACJ,CAAC,CAAC,CAAC,CACF,eAAM,SAAS,EAAC,sFAAsF,oCAAsB,CAC7H,GACC,EAGN,cAAK,SAAS,EAAC,qLAAqL,YACjM,eAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,GAAG,aAAC,eAAM,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,GAAQ,EAAA,mBAAU,MAAM,EAAC,kBAAkB,GAAY,IAAM,GACnO,IAEF,GACD,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface ForumPostProps {
|
|
2
|
+
id: string;
|
|
3
|
+
author: string;
|
|
4
|
+
authorAvatar: string;
|
|
5
|
+
authorRank: string;
|
|
6
|
+
authorRankColor: string;
|
|
7
|
+
authorJoined: string;
|
|
8
|
+
authorPosts: number;
|
|
9
|
+
content: string;
|
|
10
|
+
time: string;
|
|
11
|
+
isMainPost?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function ForumPost({ author, authorAvatar, authorRank, authorRankColor, authorJoined, authorPosts, content, time, isMainPost }: ForumPostProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=ForumPost.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ForumPost.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/forum/ForumPost.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,YAAY,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,cAAc,2CAqDpJ"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
export function ForumPost({ author, authorAvatar, authorRank, authorRankColor, authorJoined, authorPosts, content, time, isMainPost }) {
|
|
4
|
+
return (_jsxs("div", { className: `flex flex-col lg:flex-row gap-0 glass-panel bg-armoyu-card-bg border border-armoyu-card-border rounded-[40px] overflow-hidden ${isMainPost ? 'border-blue-500/30' : ''}`, children: [_jsxs("div", { className: "w-full lg:w-48 xl:w-64 bg-black/5 dark:bg-white/5 p-8 flex flex-col items-center border-b lg:border-r border-armoyu-card-border shrink-0", children: [_jsx("img", { src: authorAvatar, alt: author, className: "w-20 h-20 rounded-full border-4 border-armoyu-bg mb-4 shadow-xl" }), _jsx("h3", { className: "text-sm font-black text-armoyu-text mb-2 uppercase tracking-tight text-center", children: author }), _jsx("span", { className: `px-4 py-1.5 rounded-full text-[8px] font-black uppercase tracking-widest text-white mb-6 shadow-lg shadow-${authorRankColor}-500/20 bg-${authorRankColor}-500`, children: authorRank }), _jsxs("div", { className: "space-y-4 w-full", children: [_jsxs("div", { className: "flex flex-col items-center", children: [_jsx("span", { className: "text-[10px] font-black text-armoyu-text", children: "\u00DCyelik" }), _jsx("span", { className: "text-[8px] font-bold text-armoyu-text-muted uppercase tracking-widest", children: authorJoined })] }), _jsxs("div", { className: "flex flex-col items-center", children: [_jsx("span", { className: "text-[10px] font-black text-armoyu-text", children: "Toplam Mesaj" }), _jsx("span", { className: "text-[8px] font-bold text-armoyu-text-muted uppercase tracking-widest font-black text-blue-500", children: authorPosts })] })] })] }), _jsxs("div", { className: "flex-1 p-8 md:p-12 relative flex flex-col", children: [_jsxs("div", { className: "pb-6 mb-8 border-b border-armoyu-card-border flex justify-between items-center opacity-40", children: [_jsx("p", { className: "text-[8px] font-black uppercase tracking-widest", children: time }), _jsxs("div", { className: "flex gap-4", children: [_jsx("button", { className: "text-[8px] font-black uppercase tracking-widest hover:text-blue-500 transition-colors", children: "#1" }), _jsx("button", { className: "text-[8px] font-black uppercase tracking-widest hover:text-blue-500 transition-colors", children: "\u015E\u0130KAYET ET" })] })] }), _jsx("div", { className: "prose prose-sm dark:prose-invert max-w-none flex-1 text-armoyu-text text-md font-medium leading-[1.8] opacity-90 whitespace-pre-wrap", children: content }), _jsxs("div", { className: "mt-12 pt-8 border-t border-armoyu-card-border flex flex-wrap gap-4", children: [_jsxs("button", { className: "flex items-center gap-2 px-6 py-3 bg-blue-600 hover:bg-blue-500 text-white font-black text-[10px] uppercase tracking-widest rounded-2xl transition-all shadow-xl shadow-blue-500/20 active:scale-95", children: [_jsx("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", children: _jsx("path", { d: "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" }) }), "ALINTILA"] }), _jsxs("button", { className: "flex items-center gap-2 px-6 py-3 bg-black/5 dark:bg-white/5 border border-armoyu-card-border hover:bg-black/10 text-armoyu-text font-black text-[10px] uppercase tracking-widest rounded-2xl transition-all active:scale-95", children: [_jsx("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", children: _jsx("path", { d: "M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z" }) }), "BE\u011EEN"] })] })] })] }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=ForumPost.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ForumPost.js","sourceRoot":"","sources":["../../../../src/components/modules/forum/ForumPost.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAiBb,MAAM,UAAU,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,YAAY,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAkB;IACnJ,OAAO,CACL,eAAK,SAAS,EAAE,iIAAiI,UAAU,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,EAAE,aAGvL,eAAK,SAAS,EAAC,0IAA0I,aACtJ,cAAK,GAAG,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAC,iEAAiE,GAAG,EACnH,aAAI,SAAS,EAAC,+EAA+E,YAAE,MAAM,GAAM,EAC3G,eAAM,SAAS,EAAE,6GAA6G,eAAe,cAAc,eAAe,MAAM,YAC5K,UAAU,GACP,EAEP,eAAK,SAAS,EAAC,kBAAkB,aAC9B,eAAK,SAAS,EAAC,4BAA4B,aACxC,eAAM,SAAS,EAAC,yCAAyC,4BAAc,EACvE,eAAM,SAAS,EAAC,uEAAuE,YAAE,YAAY,GAAQ,IAC1G,EACN,eAAK,SAAS,EAAC,4BAA4B,aACxC,eAAM,SAAS,EAAC,yCAAyC,6BAAoB,EAC7E,eAAM,SAAS,EAAC,gGAAgG,YAAE,WAAW,GAAQ,IAClI,IACH,IACH,EAGN,eAAK,SAAS,EAAC,2CAA2C,aACvD,eAAK,SAAS,EAAC,2FAA2F,aACvG,YAAG,SAAS,EAAC,iDAAiD,YAAE,IAAI,GAAK,EACzE,eAAK,SAAS,EAAC,YAAY,aACxB,iBAAQ,SAAS,EAAC,uFAAuF,mBAAY,EACrH,iBAAQ,SAAS,EAAC,uFAAuF,qCAAoB,IAC1H,IACH,EAEN,cAAK,SAAS,EAAC,sIAAsI,YACjJ,OAAO,GACL,EAGN,eAAK,SAAS,EAAC,oEAAoE,aAChF,kBAAQ,SAAS,EAAC,qMAAqM,aACpN,cAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,GAAG,YAAC,eAAM,CAAC,EAAC,+DAA+D,GAAQ,GAAM,gBAEjL,EACT,kBAAQ,SAAS,EAAC,8NAA8N,aAC7O,cAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,GAAG,YAAC,eAAM,CAAC,EAAC,0IAA0I,GAAQ,GAAM,kBAE5P,IACN,IACH,IAEF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface NewTopicModalProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
defaultBoard?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function NewTopicModal({ isOpen, onClose, defaultBoard }: NewTopicModalProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=NewTopicModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NewTopicModal.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/forum/NewTopicModal.tsx"],"names":[],"mappings":"AAIA,UAAU,kBAAkB;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAaD,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,kBAAkB,kDA0FlF"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect } from 'react';
|
|
4
|
+
const BOARDS = [
|
|
5
|
+
"Duyurular & Haberler",
|
|
6
|
+
"Kurallar & Rehberler",
|
|
7
|
+
"Minecraft",
|
|
8
|
+
"Counter-Strike",
|
|
9
|
+
"Assetto Corsa",
|
|
10
|
+
"Web Geliştirme",
|
|
11
|
+
"Python & AI",
|
|
12
|
+
"Genel Sohbet"
|
|
13
|
+
];
|
|
14
|
+
export function NewTopicModal({ isOpen, onClose, defaultBoard }) {
|
|
15
|
+
useEffect(() => {
|
|
16
|
+
const handleEsc = (e) => {
|
|
17
|
+
if (e.key === 'Escape')
|
|
18
|
+
onClose();
|
|
19
|
+
};
|
|
20
|
+
window.addEventListener('keydown', handleEsc);
|
|
21
|
+
return () => window.removeEventListener('keydown', handleEsc);
|
|
22
|
+
}, [onClose]);
|
|
23
|
+
if (!isOpen)
|
|
24
|
+
return null;
|
|
25
|
+
return (_jsxs("div", { className: "fixed inset-0 z-[100] flex items-center justify-center p-4", children: [_jsx("div", { className: "absolute inset-0 bg-black/80 backdrop-blur-sm animate-in fade-in duration-300", onClick: onClose }), _jsxs("div", { className: "relative w-full max-w-2xl bg-white dark:bg-[#12121a] border border-gray-200 dark:border-white/10 rounded-[40px] shadow-2xl overflow-hidden animate-in zoom-in-95 fade-in duration-300", children: [_jsxs("div", { className: "p-8 border-b border-gray-100 dark:border-white/5 flex items-center justify-between", children: [_jsxs("div", { children: [_jsx("h2", { className: "text-2xl font-black text-gray-900 dark:text-white uppercase tracking-tighter italic", children: "YEN\u0130 KONU OLU\u015ETUR" }), _jsx("p", { className: "text-[10px] font-bold text-blue-500 uppercase tracking-widest mt-1", children: "TOPLULUKLA PAYLA\u015EIMA BA\u015ELA" })] }), _jsx("button", { onClick: onClose, className: "w-10 h-10 rounded-full bg-gray-100 dark:bg-white/5 flex items-center justify-center hover:bg-gray-200 dark:hover:bg-white/10 transition-colors", children: _jsxs("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", className: "text-gray-900 dark:text-white", children: [_jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), _jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] }) })] }), _jsxs("form", { className: "p-8 space-y-6", onSubmit: (e) => { e.preventDefault(); alert('Konunuz başarıyla oluşturuldu!'); onClose(); }, children: [_jsxs("div", { className: "space-y-4", children: [_jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [_jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-[10px] font-black uppercase tracking-widest text-gray-500 dark:text-gray-400 ml-1", children: "KATEGOR\u0130 SE\u00C7\u0130N" }), _jsxs("div", { className: "relative", children: [_jsx("select", { defaultValue: defaultBoard || "Genel Sohbet", className: "w-full bg-gray-50 dark:bg-white/5 border border-gray-200 dark:border-white/10 rounded-2xl px-5 py-4 text-gray-900 dark:text-white focus:outline-none focus:ring-2 focus:ring-blue-500 transition-all font-bold text-sm appearance-none cursor-pointer", children: BOARDS.map(board => (_jsx("option", { value: board, className: "bg-white dark:bg-[#12121a]", children: board }, board))) }), _jsx("div", { className: "absolute right-5 top-1/2 -translate-y-1/2 pointer-events-none text-gray-400", children: _jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", children: _jsx("polyline", { points: "6 9 12 15 18 9" }) }) })] })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-[10px] font-black uppercase tracking-widest text-gray-500 dark:text-gray-400 ml-1", children: "ET\u0130KETLER (OPS\u0130YONEL)" }), _jsx("input", { type: "text", className: "w-full bg-gray-50 dark:bg-white/5 border border-gray-200 dark:border-white/10 rounded-2xl px-5 py-4 text-gray-900 dark:text-white placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-blue-500 transition-all font-bold text-sm", placeholder: "soru, minecraft, hata..." })] })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-[10px] font-black uppercase tracking-widest text-gray-500 dark:text-gray-400 ml-1", children: "KONU BA\u015ELI\u011EI" }), _jsx("input", { required: true, type: "text", className: "w-full bg-gray-50 dark:bg-white/5 border border-gray-200 dark:border-white/10 rounded-2xl px-5 py-4 text-gray-900 dark:text-white placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-blue-500 transition-all font-bold text-sm", placeholder: "Konunuzu \u00F6zetleyen k\u0131sa bir ba\u015Fl\u0131k..." })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-[10px] font-black uppercase tracking-widest text-gray-500 dark:text-gray-400 ml-1", children: "KONU \u0130\u00C7ER\u0130\u011E\u0130" }), _jsxs("div", { className: "relative group", children: [_jsx("textarea", { required: true, rows: 8, className: "w-full bg-gray-50 dark:bg-white/5 border border-gray-200 dark:border-white/10 rounded-3xl px-6 py-5 text-gray-900 dark:text-white placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-blue-500 transition-all font-bold text-sm no-scrollbar leading-relaxed", placeholder: "Konu detaylar\u0131n\u0131 buraya yaz\u0131n..." }), _jsx("div", { className: "absolute bottom-4 right-6 flex items-center gap-2 opacity-50 text-[10px] font-bold uppercase tracking-widest pointer-events-none", children: _jsx("span", { children: "Markdown Desteklenir" }) })] })] })] }), _jsxs("div", { className: "flex flex-col sm:flex-row gap-4 pt-4", children: [_jsx("button", { type: "button", onClick: onClose, className: "flex-1 py-5 bg-gray-100 dark:bg-white/5 hover:bg-gray-200 dark:hover:bg-white/10 text-gray-900 dark:text-white font-black text-xs uppercase tracking-widest rounded-2xl transition-all", children: "\u0130PTAL ET" }), _jsx("button", { className: "flex-[2] py-5 bg-blue-600 hover:bg-blue-500 text-white font-black text-xs uppercase tracking-widest rounded-2xl shadow-xl shadow-blue-500/30 transition-all active:scale-95", children: "KONUYU YAYINLA" })] })] })] })] }));
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=NewTopicModal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NewTopicModal.js","sourceRoot":"","sources":["../../../../src/components/modules/forum/NewTopicModal.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQzC,MAAM,MAAM,GAAG;IACb,sBAAsB;IACtB,sBAAsB;IACtB,WAAW;IACX,gBAAgB;IAChB,eAAe;IACf,gBAAgB;IAChB,aAAa;IACb,cAAc;CACf,CAAC;AAEF,MAAM,UAAU,aAAa,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAsB;IACjF,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,SAAS,GAAG,CAAC,CAAgB,EAAE,EAAE;YACrC,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ;gBAAE,OAAO,EAAE,CAAC;QACpC,CAAC,CAAC;QACF,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;QAC9C,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IAChE,CAAC,EAAE,C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F,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface TopicItemProps {
|
|
2
|
+
id: string;
|
|
3
|
+
boardId: string;
|
|
4
|
+
title: string;
|
|
5
|
+
author: string;
|
|
6
|
+
authorAvatar: string;
|
|
7
|
+
replies: number;
|
|
8
|
+
views: number;
|
|
9
|
+
lastActivity: string;
|
|
10
|
+
lastAuthor: string;
|
|
11
|
+
isPinned?: boolean;
|
|
12
|
+
isHot?: boolean;
|
|
13
|
+
isSolved?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare function TopicItem({ id, boardId, title, author, authorAvatar, replies, views, lastActivity, lastAuthor, isPinned, isHot, isSolved }: TopicItemProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=TopicItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TopicItem.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/forum/TopicItem.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,SAAS,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,cAAc,2CAmD1J"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import Link from 'next/link';
|
|
4
|
+
export function TopicItem({ id, boardId, title, author, authorAvatar, replies, views, lastActivity, lastAuthor, isPinned, isHot, isSolved }) {
|
|
5
|
+
return (_jsxs("div", { className: "group flex flex-col md:flex-row items-center gap-6 p-5 md:p-6 glass-panel bg-armoyu-card-bg border border-armoyu-card-border hover:shadow-xl transition-all duration-300 hover:border-blue-500/20", children: [_jsxs("div", { className: "flex-1 min-w-0 flex items-center gap-4 w-full", children: [_jsx("img", { src: authorAvatar, alt: author, className: "w-10 h-10 rounded-full border border-blue-500/20" }), _jsxs("div", { className: "min-w-0", children: [_jsxs("div", { className: "flex items-center gap-2 mb-1 flex-wrap", children: [isPinned && _jsx("span", { className: "px-2 py-0.5 bg-red-500 text-white text-[8px] font-black uppercase tracking-widest rounded-md", children: "BA\u015EA TUTTURULDU" }), isHot && _jsx("span", { className: "px-2 py-0.5 bg-orange-500 text-white text-[8px] font-black uppercase tracking-widest rounded-md", children: "POP\u00DCLER" }), isSolved && _jsx("span", { className: "px-2 py-0.5 bg-emerald-500 text-white text-[8px] font-black uppercase tracking-widest rounded-md", children: "\u00C7\u00D6Z\u00DCLD\u00DC" }), _jsx(Link, { href: `/forum/${boardId}/${id}`, className: "text-sm md:text-base font-black text-armoyu-text hover:text-blue-500 transition-colors truncate block", children: title })] }), _jsxs("p", { className: "text-[10px] font-bold text-armoyu-text-muted uppercase tracking-widest", children: [_jsx("span", { className: "text-blue-500", children: author }), " taraf\u0131ndan ba\u015Flat\u0131ld\u0131"] })] })] }), _jsxs("div", { className: "hidden lg:flex items-center gap-10 px-8 border-x border-armoyu-card-border/50 shrink-0", children: [_jsxs("div", { className: "text-center", children: [_jsx("span", { className: "block text-sm font-black text-armoyu-text", children: replies }), _jsx("span", { className: "text-[8px] font-bold text-armoyu-text-muted uppercase tracking-widest", children: "YANIT" })] }), _jsxs("div", { className: "text-center", children: [_jsx("span", { className: "block text-sm font-black text-armoyu-text", children: views }), _jsx("span", { className: "text-[8px] font-bold text-armoyu-text-muted uppercase tracking-widest", children: "\u0130ZLENME" })] })] }), _jsxs("div", { className: "hidden md:flex flex-col text-right w-40 shrink-0", children: [_jsx("span", { className: "text-xs font-black text-armoyu-text mb-0.5 truncate", children: lastAuthor }), _jsx("span", { className: "text-[9px] font-bold text-armoyu-text-muted uppercase tracking-tighter", children: lastActivity })] }), _jsxs("div", { className: "md:hidden flex items-center justify-between w-full pt-4 border-t border-armoyu-card-border mt-2", children: [_jsxs("div", { className: "flex gap-4", children: [_jsxs("span", { className: "text-[10px] font-bold text-armoyu-text-muted uppercase tracking-widest", children: [replies, " Yan\u0131t"] }), _jsxs("span", { className: "text-[10px] font-bold text-armoyu-text-muted uppercase tracking-widest", children: [views, " \u0130zlenme"] })] }), _jsx("span", { className: "text-[10px] font-bold text-blue-500 uppercase tracking-widest", children: lastActivity })] })] }));
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=TopicItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TopicItem.js","sourceRoot":"","sources":["../../../../src/components/modules/forum/TopicItem.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,IAAI,MAAM,WAAW,CAAC;AAiB7B,MAAM,UAAU,SAAS,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAkB;IACzJ,OAAO,CACL,eAAK,SAAS,EAAC,mMAAmM,aAGhN,eAAK,SAAS,EAAC,+CAA+C,aAC3D,cAAK,GAAG,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAC,kDAAkD,GAAG,EACpG,eAAK,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+
author: string;
|
|
5
|
+
date: string;
|
|
6
|
+
category: string;
|
|
7
|
+
image: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function GalleryCard({ title, count, author, date, category, image }: GalleryCardProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=GalleryCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryCard.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/galleries/GalleryCard.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,gBAAgB,2CAoD5F"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
export function GalleryCard({ title, count, author, date, category, image }) {
|
|
4
|
+
return (_jsxs("div", { className: "group relative glass-panel rounded-3xl overflow-hidden border border-armoyu-card-border bg-armoyu-card-bg shadow-sm hover:shadow-2xl transition-all duration-500 cursor-pointer", children: [_jsxs("div", { className: "aspect-[4/3] overflow-hidden relative", children: [_jsx("img", { src: image, alt: title, className: "w-full h-full object-cover group-hover:scale-110 transition-transform duration-1000" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent opacity-60 group-hover:opacity-80 transition-opacity" }), _jsxs("div", { className: "absolute top-4 right-4 bg-white/10 backdrop-blur-md border border-white/20 px-3 py-1.5 rounded-2xl text-[10px] font-black text-white flex items-center gap-2", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", children: [_jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }), _jsx("circle", { cx: "8.5", cy: "8.5", r: "1.5" }), _jsx("polyline", { points: "21 15 16 10 5 21" })] }), count, " Foto\u011Fraf"] })] }), _jsxs("div", { className: "p-5", children: [_jsxs("div", { className: "flex items-center gap-2 mb-2", children: [_jsx("span", { className: "text-[10px] font-black uppercase tracking-widest text-blue-500 bg-blue-500/10 px-2 py-0.5 rounded-md", children: category }), _jsx("span", { className: "text-[10px] font-bold text-armoyu-text-muted opacity-60", children: date })] }), _jsx("h3", { className: "text-lg font-black text-armoyu-text group-hover:text-blue-500 transition-colors mb-4 line-clamp-1", children: title }), _jsxs("div", { className: "flex items-center justify-between pt-4 border-t border-armoyu-card-border", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("img", { src: `https://api.dicebear.com/7.x/avataaars/svg?seed=${author}`, alt: author, className: "w-6 h-6 rounded-full bg-white/5 border border-black/10" }), _jsxs("span", { className: "text-xs font-bold text-armoyu-text-muted", children: ["@", author] })] }), _jsx("button", { className: "p-2 rounded-xl bg-black/5 dark:bg-white/5 text-armoyu-text-muted hover:text-blue-500 hover:bg-blue-500/10 transition-all", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", children: _jsx("polyline", { points: "9 18 15 12 9 6" }) }) })] })] })] }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=GalleryCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryCard.js","sourceRoot":"","sources":["../../../../src/components/modules/galleries/GalleryCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAab,MAAM,UAAU,WAAW,CAAC,EAAE,KAAK,EAAE,KAAK,E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AAQ,SAAS,EAAC,0HAA0H,YACzI,cAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,KAAK,YAAC,mBAAU,MAAM,EAAC,gBAAgB,GAAY,GAAM,GACpL,IACN,IACF,IAEF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface GiveawayCardProps {
|
|
2
|
+
title: string;
|
|
3
|
+
prize: string;
|
|
4
|
+
status: 'active' | 'ended';
|
|
5
|
+
participants: number;
|
|
6
|
+
timeLeft: string;
|
|
7
|
+
image: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function GiveawayCard({ title, prize, status, participants, timeLeft, image }: GiveawayCardProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=GiveawayCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GiveawayCard.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/giveaways/GiveawayCard.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,iBAAiB,2CA8DtG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
export function GiveawayCard({ title, prize, status, participants, timeLeft, image }) {
|
|
4
|
+
const isActive = status === 'active';
|
|
5
|
+
return (_jsxs("div", { className: `group glass-panel rounded-[40px] overflow-hidden border transition-all duration-700 flex flex-col h-full bg-armoyu-card-bg shadow-sm ${isActive ? 'border-blue-500/20 hover:border-blue-500/50 hover:shadow-2xl hover:shadow-blue-500/20' : 'border-armoyu-card-border opacity-60 grayscale-[0.5]'}`, children: [_jsxs("div", { className: "aspect-square p-8 relative flex items-center justify-center", children: [_jsx("div", { className: `absolute inset-0 bg-gradient-to-br transition-opacity duration-500 ${isActive ? 'from-blue-600/10 to-indigo-600/10 opacity-100' : 'from-gray-500/5 to-gray-600/5 opacity-50'}` }), _jsx("img", { src: image, alt: prize, className: "w-48 h-48 object-contain group-hover:scale-110 transition-transform duration-700 drop-shadow-2xl relative z-10" }), _jsx("div", { className: "absolute top-6 left-6 z-20", children: _jsxs("span", { className: `px-4 py-2 rounded-2xl text-[9px] font-black uppercase tracking-widest flex items-center gap-2 shadow-xl backdrop-blur-md border ${isActive ? 'bg-emerald-500/80 text-white border-emerald-400/30 shadow-emerald-500/20' : 'bg-gray-200 dark:bg-zinc-800/80 text-gray-500 dark:text-zinc-400 border-black/5 dark:border-white/5 shadow-black/5 dark:shadow-black/20'}`, children: [isActive && _jsx("span", { className: "w-1.5 h-1.5 rounded-full bg-white animate-pulse shadow-[0_0_8px_rgba(255,255,255,0.8)]" }), isActive ? 'Aktif' : 'Bitti'] }) })] }), _jsxs("div", { className: "px-8 pb-8 flex-1 flex flex-col text-center mt-[-40px]", children: [_jsxs("div", { className: "relative z-10 p-6 rounded-[32px] bg-white dark:bg-zinc-900 border border-armoyu-card-border shadow-xl shadow-black/[0.03] dark:shadow-2xl backdrop-blur-xl", children: [_jsx("h3", { className: "text-xl font-black text-blue-600 dark:text-white mb-2 line-clamp-1 leading-tight", children: prize }), _jsx("p", { className: "text-[10px] font-black text-blue-500 uppercase tracking-widest mb-6 block border-b border-black/5 dark:border-white/5 pb-2", children: title }), _jsxs("div", { className: "grid grid-cols-2 gap-3 mb-8", children: [_jsxs("div", { className: "p-3 rounded-2xl bg-black/5 dark:bg-white/5 border border-black/5 dark:border-white/5 flex flex-col items-center justify-center", children: [_jsx("span", { className: "block text-[7px] font-black text-armoyu-text-muted uppercase mb-1 tracking-tighter", children: "Kalan S\u00FCre" }), _jsx("span", { className: `block text-xs font-black uppercase ${isActive ? 'text-blue-500' : 'text-zinc-500'}`, children: isActive ? timeLeft : 'Bitti' })] }), _jsxs("div", { className: "p-3 rounded-2xl bg-black/5 dark:bg-white/5 border border-black/5 dark:border-white/5 flex flex-col items-center justify-center", children: [_jsx("span", { className: "block text-[7px] font-black text-armoyu-text-muted uppercase mb-1 tracking-tighter", children: "Kat\u0131l\u0131mc\u0131" }), _jsxs("span", { className: "block text-xs font-black text-armoyu-text leading-none", children: [participants, " ", _jsx("span", { className: "text-[8px] opacity-60", children: "Ki\u015Fi" })] })] })] }), _jsxs("button", { disabled: !isActive, className: `w-full py-4 rounded-2xl font-black text-[11px] uppercase tracking-widest transition-all shadow-xl relative overflow-hidden group/btn ${isActive ? 'bg-blue-600 hover:bg-blue-500 text-white shadow-blue-500/20 active:scale-95' : 'bg-gray-100 dark:bg-zinc-800 text-gray-400 dark:text-zinc-500 cursor-not-allowed border border-black/5 dark:border-white/5 shadow-none'}`, children: [_jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-white/10 to-transparent -translate-x-full group-hover/btn:translate-x-full transition-transform duration-1000" }), isActive ? 'Çekilişe Katıl' : 'Sonuçları Gör'] })] }), _jsxs("div", { className: "mt-8 flex justify-center -space-x-3", children: [[1, 2, 3, 4].map(i => (_jsx("img", { src: `https://api.dicebear.com/7.x/avataaars/svg?seed=${i + 12}`, className: "w-8 h-8 rounded-full border-2 border-armoyu-card-bg bg-white/10", alt: "part" }, i))), _jsxs("div", { className: "w-8 h-8 rounded-full border-2 border-armoyu-card-bg bg-armoyu-card-border flex items-center justify-center text-[10px] font-black text-armoyu-text", children: ["+", participants - 4] })] })] })] }));
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=GiveawayCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GiveawayCard.js","sourceRoot":"","sources":["../../../../src/components/modules/giveaways/GiveawayCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAab,MAAM,UAAU,YAAY,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,KAAK,EAAqB;IACrG,MAAM,QAAQ,GAAG,MAAM,KAAK,QAAQ,CAAC;IAErC,OAAO,CACL,eAAK,SAAS,EAAE,wIAAwI,QAAQ,CAAC,CAAC,CAAC,uFAAuF,CAAC,CAAC,CAAC,sDAAsD,EAAE,aAGnT,eAAK,SAAS,EAAC,6DAA6D,aACxE,cAAK,SAAS,EAAE,sEAAsE,QAAQ,CAAC,CAAC,CAAC,+CAA+C,CAAC,CAAC,CAAC,0CAA0C,EAAE,GAAI,EACnM,cACE,GAAG,EAAE,KAAK,EACV,GAAG,EAAE,KAAK,EACV,SAAS,EAAC,gHAAgH,GAC1H,EAGF,cAAK,SAAS,EAAC,4BAA4B,YACxC,gBAAM,SAAS,EAAE,mIAAmI,QAAQ,CAAC,CAAC,CAAC,0EAA0E,CAAC,CAAC,CAAC,yIAAyI,EAAE,aACnX,QAAQ,IAAI,eAAM,SAAS,EAAC,wFAAwF,GAAG,EACvH,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,IACzB,GACJ,IACJ,EAGN,eAAK,SAAS,EAAC,uDAAuD,aAClE,eAAK,SAAS,EAAC,4JAA4J,aACxK,aAAI,SAAS,EAAC,kFAAkF,YAAE,KAAK,GAAM,EAC7G,YAAG,SAAS,EAAC,4HAA4H,YACrI,KAAK,GACL,EAGJ,eAAK,SAAS,EAAC,6BAA6B,aACzC,eAAK,SAAS,EAAC,gIAAgI,aAC5I,eAAM,SAAS,EAAC,oFAAoF,gCAAkB,EACtH,eAAM,SAAS,EAAE,sCAAsC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,eAAe,EAAE,YAAG,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,GAAQ,IAC1I,EACN,eAAK,SAAS,EAAC,gIAAgI,aAC5I,eAAM,SAAS,EAAC,oFAAoF,yCAAiB,EACrH,gBAAM,SAAS,EAAC,wDAAwD,aAAE,YAAY,OAAE,eAAM,SAAS,EAAC,uBAAuB,0BAAY,IAAO,IAC/I,IACH,EAEN,kBACE,QAAQ,EAAE,CAAC,QAAQ,EACnB,SAAS,EAAE,wIAAwI,QAAQ,CAAC,CAAC,CAAC,6EAA6E,CAAC,CAAC,CAAC,wIAAwI,EAAE,aAEvX,cAAK,SAAS,EAAC,sKAAsK,GAAG,EACvL,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,eAAe,IACxC,IACN,EAEP,eAAK,SAAS,EAAC,qCAAqC,aAC/C,CAAC,CAAC,EAAC,CAAC,EAAC,CAAC,EAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAClB,cAAa,GAAG,EAAE,mDAAmD,CAAC,GAAC,EAAE,EAAE,EAAE,SAAS,EAAC,iEAAiE,EAAC,GAAG,EAAC,MAAM,IAAzJ,CAAC,CAA2J,CACvK,CAAC,EACF,eAAK,SAAS,EAAC,oJAAoJ,kBAAG,YAAY,GAAG,CAAC,IAAO,IAC3L,IACH,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface ApplicationModalProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
selectedRole?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function ApplicationModal({ isOpen, onClose, selectedRole }: ApplicationModalProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=ApplicationModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationModal.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/groups/ApplicationModal.tsx"],"names":[],"mappings":"AAIA,UAAU,qBAAqB;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAaD,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,qBAAqB,kDA+GxF"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect } from 'react';
|
|
4
|
+
const ACTIVE_ROLES = [
|
|
5
|
+
"Genel Başvuru",
|
|
6
|
+
"Yazılım Geliştirici",
|
|
7
|
+
"Grafik Tasarımcı",
|
|
8
|
+
"Sosyal Medya Sorumlusu",
|
|
9
|
+
"Oyun Yetkilisi",
|
|
10
|
+
"Yayıncı",
|
|
11
|
+
"E-Spor Oyuncusu",
|
|
12
|
+
"Moderatör"
|
|
13
|
+
];
|
|
14
|
+
export function ApplicationModal({ isOpen, onClose, selectedRole }) {
|
|
15
|
+
// ESC tuşu ile kapatma
|
|
16
|
+
useEffect(() => {
|
|
17
|
+
const handleEsc = (e) => {
|
|
18
|
+
if (e.key === 'Escape')
|
|
19
|
+
onClose();
|
|
20
|
+
};
|
|
21
|
+
window.addEventListener('keydown', handleEsc);
|
|
22
|
+
return () => window.removeEventListener('keydown', handleEsc);
|
|
23
|
+
}, [onClose]);
|
|
24
|
+
if (!isOpen)
|
|
25
|
+
return null;
|
|
26
|
+
return (_jsxs("div", { className: "fixed inset-0 z-[100] flex items-center justify-center p-4", children: [_jsx("div", { className: "absolute inset-0 bg-[#0a0a0f]/90 backdrop-blur-xl animate-in fade-in duration-500", onClick: onClose }), _jsxs("div", { className: "relative w-full max-w-xl glass-panel bg-armoyu-card-bg border border-armoyu-card-border rounded-[40px] shadow-[0_32px_120px_rgba(0,0,0,0.6)] overflow-hidden animate-in zoom-in-95 fade-in duration-500", children: [_jsx("div", { className: "absolute top-0 right-0 w-64 h-64 bg-blue-600/10 blur-[100px] rounded-full -mr-32 -mt-32 pointer-events-none" }), _jsx("div", { className: "absolute bottom-0 left-0 w-48 h-48 bg-blue-400/5 blur-[80px] rounded-full -ml-24 -mb-24 pointer-events-none" }), _jsxs("div", { className: "p-10 pb-8 border-b border-armoyu-card-border flex items-start justify-between relative z-10", children: [_jsxs("div", { children: [_jsx("h2", { className: "text-3xl font-black text-armoyu-text uppercase tracking-tighter italic leading-none", children: "EK\u0130P BA\u015EVURUSU" }), _jsxs("div", { className: "flex items-center gap-2 mt-3", children: [_jsx("span", { className: "w-2 h-2 rounded-full bg-blue-500 animate-pulse shadow-[0_0_8px_rgba(59,130,246,0.8)]" }), _jsx("p", { className: "text-[10px] font-black text-blue-500 uppercase tracking-[0.2em]", children: "ARMOYU AKADEM\u0130S\u0130NE HO\u015E GELD\u0130N\u0130Z" })] })] }), _jsx("button", { onClick: onClose, className: "w-12 h-12 rounded-2xl bg-black/5 dark:bg-white/5 border border-armoyu-card-border flex items-center justify-center hover:bg-red-500 hover:text-white hover:border-red-500 transition-all group active:scale-90", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", className: "group-hover:rotate-90 transition-transform", children: [_jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), _jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] }) })] }), _jsxs("form", { className: "p-10 pt-8 space-y-8 relative z-10", onSubmit: (e) => { e.preventDefault(); alert('Başvurunuz başarıyla alındı!'); onClose(); }, children: [_jsxs("div", { className: "space-y-6", children: [_jsxs("div", { className: "space-y-2.5", children: [_jsxs("label", { className: "text-[10px] font-black uppercase tracking-widest text-armoyu-text-muted ml-1 flex items-center gap-2", children: [_jsx("span", { className: "w-1.5 h-1.5 rounded-full bg-blue-500/50" }), "Pozisyon (Aktif \u0130lanlar)"] }), _jsxs("div", { className: "relative group", children: [_jsx("select", { defaultValue: selectedRole || "Genel Başvuru", className: "w-full bg-black/10 dark:bg-black/20 border border-armoyu-card-border rounded-2xl px-6 py-4 text-armoyu-text focus:outline-none focus:border-blue-500/50 focus:ring-1 focus:ring-blue-500/50 transition-all font-black text-sm appearance-none cursor-pointer group-hover:border-armoyu-text-muted/30 uppercase tracking-tight", children: ACTIVE_ROLES.map(role => (_jsx("option", { value: role, className: "bg-[#12121a] text-white py-4", children: role }, role))) }), _jsx("div", { className: "absolute right-6 top-1/2 -translate-y-1/2 pointer-events-none text-armoyu-text-muted transition-transform group-hover:translate-y-[-40%]", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", children: _jsx("polyline", { points: "6 9 12 15 18 9" }) }) })] })] }), _jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [_jsxs("div", { className: "space-y-2.5", children: [_jsx("label", { className: "text-[10px] font-black uppercase tracking-widest text-armoyu-text-muted ml-1", children: "AD SOYAD" }), _jsx("input", { required: true, type: "text", className: "w-full bg-black/10 dark:bg-black/20 border border-armoyu-card-border rounded-2xl px-6 py-4 text-armoyu-text placeholder:text-armoyu-text-muted/40 focus:outline-none focus:border-blue-500/50 focus:ring-1 focus:ring-blue-500/50 transition-all font-bold text-sm uppercase tracking-tight", placeholder: "\u00D6rn: Berkay Tikeno\u011Flu" })] }), _jsxs("div", { className: "space-y-2.5", children: [_jsx("label", { className: "text-[10px] font-black uppercase tracking-widest text-armoyu-text-muted ml-1", children: "YA\u015E" }), _jsx("input", { required: true, type: "number", min: "13", max: "99", className: "w-full bg-black/10 dark:bg-black/20 border border-armoyu-card-border rounded-2xl px-6 py-4 text-armoyu-text focus:outline-none focus:border-blue-500/50 focus:ring-1 focus:ring-blue-500/50 transition-all font-bold text-sm", placeholder: "\u00D6rn: 24" })] })] }), _jsxs("div", { className: "space-y-2.5", children: [_jsx("label", { className: "text-[10px] font-black uppercase tracking-widest text-armoyu-text-muted ml-1", children: "E-POSTA ADRES\u0130" }), _jsx("input", { required: true, type: "email", className: "w-full bg-black/10 dark:bg-black/20 border border-armoyu-card-border rounded-2xl px-6 py-4 text-armoyu-text placeholder:text-armoyu-text-muted/40 focus:outline-none focus:border-blue-500/50 focus:ring-1 focus:ring-blue-500/50 transition-all font-bold text-sm", placeholder: "ornek@armoyu.com" })] }), _jsxs("div", { className: "space-y-2.5", children: [_jsx("label", { className: "text-[10px] font-black uppercase tracking-widest text-armoyu-text-muted ml-1", children: "TECR\u00DCBELER & KEND\u0130NDEN BAHSET" }), _jsx("textarea", { required: true, rows: 4, className: "w-full bg-black/10 dark:bg-black/20 border border-armoyu-card-border rounded-2xl px-6 py-4 text-armoyu-text placeholder:text-armoyu-text-muted/40 focus:outline-none focus:border-blue-500/50 focus:ring-1 focus:ring-blue-500/50 transition-all font-medium text-sm no-scrollbar resize-none leading-relaxed", placeholder: "Neden sizi aram\u0131za almal\u0131y\u0131z? \u0130lgili tecr\u00FCbeleriniz nelerdir?.." })] })] }), _jsx("div", { className: "pt-4", children: _jsxs("button", { className: "w-full py-5 bg-blue-600 hover:bg-blue-500 text-white font-black text-xs uppercase tracking-[0.2em] rounded-2xl shadow-2xl shadow-blue-600/20 transition-all active:scale-95 relative overflow-hidden group/btn", children: [_jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-white/10 to-transparent -translate-x-full group-hover/btn:translate-x-full transition-transform duration-1000" }), "BA\u015EVURUYU TAMAMLA"] }) }), _jsxs("div", { className: "flex items-center gap-3 p-4 bg-blue-500/5 border border-blue-500/10 rounded-2xl", children: [_jsx("div", { className: "w-1.5 h-full bg-blue-500 rounded-full" }), _jsx("p", { className: "text-[9px] text-armoyu-text-muted uppercase tracking-widest leading-relaxed font-bold", children: "Ba\u015Fvurunuz incelendikten sonra e-posta ve SMS yoluyla taraf\u0131n\u0131za bilgilendirme yap\u0131lacakt\u0131r. L\u00FCtfen bilgilerin do\u011Frulu\u011Fundan emin olun. \u2728" })] })] })] })] }));
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=ApplicationModal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationModal.js","sourceRoot":"","sources":["../../../../src/components/modules/groups/ApplicationModal.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQzC,MAAM,YAAY,GAAG;IACnB,eAAe;IACf,qBAAqB;IACrB,kBAAkB;IAClB,wBAAwB;IACxB,gBAAgB;IAChB,SAAS;IACT,iBAAiB;IACjB,WAAW;CACZ,CAAC;AAEF,MAAM,UAAU,gBAAgB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAyB;IACvF,uBAAuB;IACvB,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,SAAS,GAAG,CAAC,CAAgB,EAAE,EAAE;YACrC,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ;gBAAE,OAAO,EAAE,CAAC;QACpC,CAAC,CAAC;QACF,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;QAC9C,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IAChE,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,IAAI,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IAEzB,OAAO,CACL,eAAK,SAAS,EAAC,4DAA4D,aAEzE,cACE,SAAS,EAAC,mFAAmF,EAC7F,OAAO,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AQ,QAAC,IAAI,EAAE,CAAC,EAAE,SAAS,EAAC,+SAA+S,EAAC,WAAW,EAAC,0FAAiE,GAAG,IACna,IACH,EAEN,cAAK,SAAS,EAAC,MAAM,YAClB,kBAAQ,SAAS,EAAC,gNAAgN,aAC/N,cAAK,SAAS,EAAC,sKAAsK,GAAG,8BAElL,GACN,EAEN,eAAK,SAAS,EAAC,iFAAiF,aAC7F,cAAK,SAAS,EAAC,uCAAuC,GAAG,EACzD,YAAG,SAAS,EAAC,uFAAuF,uMAEhG,IACD,IACF,IACH,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface GroupCardProps {
|
|
2
|
+
name: string;
|
|
3
|
+
shortName: string;
|
|
4
|
+
description: string;
|
|
5
|
+
recruitment: string;
|
|
6
|
+
date: string;
|
|
7
|
+
category: string;
|
|
8
|
+
tag: string;
|
|
9
|
+
banner: string;
|
|
10
|
+
logo: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function GroupCard({ name, shortName, description, recruitment, date, category, tag, banner, logo }: GroupCardProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=GroupCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupCard.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/groups/GroupCard.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,SAAS,EACT,WAAW,EACX,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,GAAG,EACH,MAAM,EACN,IAAI,EACL,EAAE,cAAc,2CAoEhB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import Link from 'next/link';
|
|
4
|
+
export function GroupCard({ name, shortName, description, recruitment, date, category, tag, banner, logo }) {
|
|
5
|
+
return (_jsxs("div", { className: "group relative glass-panel rounded-3xl overflow-hidden border border-armoyu-card-border bg-armoyu-card-bg shadow-sm hover:shadow-xl hover:scale-[1.01] transition-all duration-300", children: [_jsxs("div", { className: "h-32 w-full relative overflow-hidden", children: [_jsx("img", { src: banner, alt: name, className: "w-full h-full object-cover group-hover:scale-110 transition-transform duration-700" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/60 to-transparent" }), _jsx("div", { className: "absolute top-4 right-4 bg-white/10 backdrop-blur-md border border-white/20 px-3 py-1 rounded-full text-[10px] font-black text-white uppercase tracking-wider", children: category })] }), _jsxs("div", { className: "px-5 pb-6 relative", children: [_jsxs("div", { className: "relative -mt-10 mb-4 inline-block", children: [_jsx("img", { src: logo, alt: "Logo", className: "w-20 h-20 rounded-2xl border-4 border-armoyu-bg bg-white dark:bg-zinc-900 object-cover shadow-lg" }), _jsx("div", { className: "absolute -bottom-1 -right-1 w-6 h-6 bg-blue-500 rounded-full border-2 border-armoyu-bg flex items-center justify-center text-white", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", children: _jsx("polyline", { points: "20 6 9 17 4 12" }) }) })] }), _jsxs("div", { className: "flex items-center justify-between mb-2", children: [_jsxs("div", { children: [_jsx("h3", { className: "text-xl font-black text-armoyu-text group-hover:text-blue-500 transition-colors uppercase tracking-tight", children: name }), _jsxs("span", { className: "text-xs font-bold text-blue-500 bg-blue-500/10 px-2 py-0.5 rounded-md", children: ["@", shortName] })] }), _jsx("div", { className: "text-right", children: _jsx("span", { className: "block text-emerald-500 text-xs font-black uppercase tracking-widest", children: recruitment }) })] }), _jsx("p", { className: "text-sm text-armoyu-text-muted font-medium line-clamp-2 min-h-[40px] mb-5", children: description }), _jsxs("div", { className: "grid grid-cols-2 gap-3 mb-5", children: [_jsxs("div", { className: "flex items-center gap-2 p-2 rounded-xl bg-black/5 dark:bg-white/5 border border-black/5 dark:border-white/5", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", className: "text-armoyu-text-muted opacity-60", children: [_jsx("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }), _jsx("line", { x1: "16", y1: "2", x2: "16", y2: "6" }), _jsx("line", { x1: "8", y1: "2", x2: "8", y2: "6" }), _jsx("line", { x1: "3", y1: "10", x2: "21", y2: "10" })] }), _jsx("span", { className: "text-[11px] font-bold text-armoyu-text-muted", children: date })] }), _jsxs("div", { className: "flex items-center gap-2 p-2 rounded-xl bg-black/5 dark:bg-white/5 border border-black/5 dark:border-white/5", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", className: "text-armoyu-text-muted opacity-60", children: [_jsx("path", { d: "M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z" }), _jsx("polyline", { points: "3.27 6.96 12 12.01 20.73 6.96" }), _jsx("line", { x1: "12", y1: "22.08", x2: "12", y2: "12" })] }), _jsx("span", { className: "text-[11px] font-bold text-armoyu-text-muted", children: tag })] })] }), _jsx(Link, { href: `/gruplar/${name.toLowerCase().replace(/\s+/g, '-')}`, className: "w-full py-3.5 block text-center rounded-2xl bg-gradient-to-r from-blue-600 to-indigo-600 hover:from-blue-500 hover:to-indigo-500 text-white font-black text-xs uppercase tracking-widest shadow-lg shadow-blue-500/20 transform active:scale-95 transition-all", children: "Gruba Kat\u0131l / G\u00F6r\u00FCnt\u00FCle" })] })] }));
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=GroupCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupCard.js","sourceRoot":"","sources":["../../../../src/components/modules/groups/GroupCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,IAAI,MAAM,WAAW,CAAC;AAc7B,MAAM,UAAU,SAAS,CAAC,EACxB,IAAI,EACJ,SAAS,EACT,WAAW,EACX,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,GAAG,EACH,MAAM,EACN,IAAI,EACW;IACf,OAAO,CACL,eAAK,SAAS,EAAC,oLAAoL,aAGjM,eAAK,SAAS,EAAC,sCAAsC,aACnD,cACE,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,IAAI,EACT,SAAS,EAAC,oFAAoF,GAC9F,EACF,cAAK,SAAS,EAAC,gEAAgE,GAAG,EAGlF,cAAK,SAAS,EAAC,8JAA8J,YACzK,QAAQ,GACN,IACF,EAGN,eAAK,SAAS,EAAC,oBAAoB,aACjC,eAAK,SAAS,EAAC,mCAAmC,aAC/C,cACE,GAAG,EAAE,IAAI,EACT,GAAG,EAAC,MAAM,EACV,SAAS,EAAC,kGAAkG,GAC5G,EACF,cAAK,SAAS,EAAC,oIAAoI,YAChJ,cAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,GAAG,YAAC,mBAAU,MAAM,EAAC,gBAAgB,GAAY,GAAM,GACrL,IACH,EAEN,eAAK,SAAS,EAAC,w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EAAC,MAAM,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,KAAK,EAAC,SAAS,EAAC,mCAAmC,aAAC,eAAM,CAAC,EAAC,2HAA2H,GAAQ,EAAA,mBAAU,MAAM,EAAC,+BAA+B,GAAY,EAAA,eAAM,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,OAAO,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,GAAQ,IAAM,EAClb,eAAM,SAAS,EAAC,8CAA8C,YAAE,GAAG,GAAQ,IACxE,IACH,EAEN,KAAC,IAAI,IACH,IAAI,EAAE,YAAY,IAAI,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,EAC3D,SAAS,EAAC,gQAAgQ,4DAGrQ,IACH,IAEF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Introduction.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/guest/Introduction.tsx"],"names":[],"mappings":"AAMA,wBAAgB,YAAY,4CAqD3B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Button } from '../../Button';
|
|
3
|
+
import { Slider } from '../../Slider';
|
|
4
|
+
import { GenderStatsBar } from '../../GenderStatsBar';
|
|
5
|
+
import { StatsGrid } from '../../StatsGrid';
|
|
6
|
+
import { mockGlobalStats } from "../../../lib/constants/seedData";
|
|
7
|
+
export function Introduction() {
|
|
8
|
+
return (_jsxs("div", { className: "flex flex-col items-center min-h-[80vh] text-center space-y-16 animate-in fade-in duration-1000 pb-16 pt-4", children: [_jsx("div", { className: "w-full h-[500px] lg:h-[600px]", children: _jsx(Slider, { durationTime: 6000 }) }), _jsxs("div", { className: "flex flex-col sm:flex-row gap-4", children: [_jsx(Button, { variant: "primary", className: "h-14 px-10 text-lg rounded-full shadow-lg shadow-blue-500/30", children: "Hemen Aram\u0131za Kat\u0131l" }), _jsx(Button, { variant: "secondary", className: "h-14 px-10 text-lg rounded-full shadow-lg border-white/20", children: "Sosyal Ak\u0131\u015F\u0131 Ke\u015Ffet" })] }), _jsx("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-6 w-full max-w-5xl text-left relative z-10", children: [
|
|
9
|
+
{ title: 'Topluluk', desc: 'Binlerce oyuncuyla tanışın ve ekipler kurun.' },
|
|
10
|
+
{ title: 'Forum', desc: 'Oyunlar hakkında tartışın, rehberler oluşturun.' },
|
|
11
|
+
{ title: 'Minecraft', desc: 'mc.armoyu.com adresinden sunucumuza katılın.' }
|
|
12
|
+
].map((feature, i) => (_jsxs("div", { className: "glass-panel p-6 rounded-3xl hover:-translate-y-2 transition-transform duration-300 border border-white/5 shadow-xl", children: [_jsx("h3", { className: "text-xl font-bold mb-2 text-white", children: feature.title }), _jsx("p", { className: "text-gray-400 leading-relaxed", children: feature.desc })] }, i))) }), _jsxs("div", { className: "w-full max-w-5xl mt-12 glass-panel p-8 md:p-12 rounded-3xl border border-white/5 relative z-10 shadow-2xl flex flex-col gap-10", children: [_jsxs("div", { children: [_jsx("h3", { className: "text-2xl md:text-3xl font-bold text-white mb-2 text-center", children: "Topluluk Demografisi" }), _jsx("p", { className: "text-gray-400 text-center mb-10 max-w-2xl mx-auto", children: "Zengin ve \u00E7e\u015Fitli oyuncu ekosistemimizde her ge\u00E7en g\u00FCn birlikte daha b\u00FCy\u00FCk projelere ve e\u011Flencelere imza at\u0131yoruz." }), _jsx(GenderStatsBar, { maleCount: mockGlobalStats.malePlayers, femaleCount: mockGlobalStats.femalePlayers })] }), _jsxs("div", { className: "border-t border-white/10 pt-10", children: [_jsx("h3", { className: "text-xl md:text-2xl font-bold text-white mb-6 text-left", children: "Genel \u0130statistikler" }), _jsx(StatsGrid, { stats: mockGlobalStats })] })] })] }));
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=Introduction.js.map
|
|
@@ -0,0 +1 @@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aAAI,SAAS,EAAC,4DAA4D,qCAA0B,EACpG,YAAG,SAAS,EAAC,mDAAmD,2KAE5D,EACJ,KAAC,cAAc,IAAC,SAAS,EAAE,eAAe,CAAC,WAAW,EAAE,WAAW,EAAE,eAAe,CAAC,aAAa,GAAI,IAClG,EAGN,eAAK,SAAS,EAAC,gCAAgC,aAC7C,aAAI,SAAS,EAAC,yDAAyD,yCAAyB,EAChG,KAAC,SAAS,IAAC,KAAK,EAAE,eAAe,GAAI,IACjC,IAEF,IAEF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackToStore.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/magaza/BackToStore.tsx"],"names":[],"mappings":"AAMA,wBAAgB,WAAW,4CA8C1B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import Link from 'next/link';
|
|
5
|
+
import { useCart } from '../../../context/CartContext';
|
|
6
|
+
export function BackToStore() {
|
|
7
|
+
const [searchQuery, setSearchQuery] = useState('');
|
|
8
|
+
const { totalItems } = useCart();
|
|
9
|
+
return (_jsxs("div", { className: "mb-10 flex flex-col sm:flex-row sm:items-center justify-between gap-6 animate-in fade-in slide-in-from-top-4 duration-500 bg-black/5 dark:bg-white/5 p-4 rounded-[32px] border border-black/10 dark:border-white/10 backdrop-blur-md", children: [_jsxs(Link, { href: "/magaza", className: "inline-flex items-center gap-3 px-6 py-3 bg-blue-600 text-white rounded-2xl font-black text-[10px] uppercase tracking-widest group transition-all shadow-xl shadow-blue-500/20 active:scale-95 shrink-0", children: [_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", className: "group-hover:-translate-x-1.5 transition-transform duration-300", children: _jsx("polyline", { points: "15 18 9 12 15 6" }) }), _jsx("span", { children: "MA\u011EAZA ANA SAYFA" })] }), _jsxs("div", { className: "flex items-center gap-4 flex-1 justify-end", children: [_jsxs("div", { className: "relative group max-w-[300px] flex-1", children: [_jsx("div", { className: "absolute inset-y-0 left-4 flex items-center pointer-events-none text-armoyu-text-muted group-focus-within:text-blue-500 transition-colors", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("circle", { cx: "11", cy: "11", r: "8" }), _jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })] }) }), _jsx("input", { type: "text", placeholder: "\u00DCr\u00FCn ara...", value: searchQuery, onChange: (e) => setSearchQuery(e.target.value), className: "w-full bg-black/10 dark:bg-black/40 border border-transparent focus:border-blue-500/50 rounded-xl pl-11 pr-4 py-3 text-xs font-bold text-armoyu-text placeholder:text-armoyu-text-muted focus:outline-none transition-all" })] }), _jsxs(Link, { href: "/magaza/sepet", className: "relative p-3 bg-white/10 hover:bg-white/20 text-armoyu-text rounded-xl transition-all active:scale-95 border border-white/5", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("circle", { cx: "9", cy: "21", r: "1" }), _jsx("circle", { cx: "20", cy: "21", r: "1" }), _jsx("path", { d: "M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6" })] }), totalItems > 0 && (_jsx("span", { className: "absolute -top-1 -right-1 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-[10px] font-black text-white ring-2 ring-[#121216]", children: totalItems }))] })] })] }));
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=BackToStore.js.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AAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,GAAU,EAAA,eAAM,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,OAAO,EAAC,EAAE,EAAC,OAAO,GAAQ,IAAM,GAChR,EACN,gBACE,IAAI,EAAC,MAAM,EACX,WAAW,EAAC,uBAAa,EACzB,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAC/C,SAAS,EAAC,2NAA2N,GACrO,IACE,EAGN,MAAC,IAAI,IAAC,IAAI,EAAC,eAAe,EAAC,SAAS,EAAC,6HAA6H,aAChK,eAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,KAAK,EAAC,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,aAAC,iBAAQ,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,GAAU,EAAA,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,GAAU,EAAA,eAAM,CAAC,EAAC,iEAAiE,GAAQ,IAAM,EACvV,UAAU,GAAG,CAAC,IAAI,CACjB,eAAM,SAAS,EAAC,mJAAmJ,YAChK,UAAU,GACN,CACR,IACI,IACH,IAEF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface StoreHeaderProps {
|
|
2
|
+
searchQuery: string;
|
|
3
|
+
setSearchQuery: (query: string) => void;
|
|
4
|
+
}
|
|
5
|
+
export declare function StoreHeader({ searchQuery, setSearchQuery }: StoreHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=StoreHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoreHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/magaza/StoreHeader.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAED,wBAAgB,WAAW,CAAC,EAAE,WAAW,EAAE,cAAc,EAAE,EAAE,gBAAgB,2CA6D5E"}
|