@armoyu/ui 1.1.1 → 1.1.4
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/Providers.d.ts.map +1 -1
- package/dist/app/Providers.js +1 -6
- package/dist/app/Providers.js.map +1 -1
- package/dist/app/page.js +2 -2
- package/dist/app/page.js.map +1 -1
- package/dist/components/Button.d.ts +7 -7
- package/dist/components/Button.js +15 -15
- package/dist/components/GenderStatsBar.d.ts +5 -5
- package/dist/components/GenderStatsBar.js +7 -7
- package/dist/components/RollingNumber.d.ts +6 -6
- package/dist/components/RollingNumber.js +23 -23
- package/dist/components/Slider.d.ts +10 -10
- package/dist/components/Slider.js +35 -35
- package/dist/components/StatsGrid.js +13 -13
- package/dist/components/ViewModeToggle.d.ts +7 -7
- package/dist/components/ViewModeToggle.js +9 -9
- package/dist/components/modules/chat/widgets/ChatList.js +1 -1
- package/dist/components/modules/chat/widgets/ChatList.js.map +1 -1
- package/dist/components/modules/community/CommunityLayout.d.ts.map +1 -1
- package/dist/components/modules/community/CommunityLayout.js +4 -3
- package/dist/components/modules/community/CommunityLayout.js.map +1 -1
- package/dist/components/modules/community/widgets/EventDetailLayout.d.ts +7 -0
- package/dist/components/modules/community/widgets/EventDetailLayout.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/EventDetailLayout.js +54 -0
- package/dist/components/modules/community/widgets/EventDetailLayout.js.map +1 -0
- package/dist/components/modules/events/DetailLayout.d.ts +7 -0
- package/dist/components/modules/events/DetailLayout.d.ts.map +1 -0
- package/dist/components/modules/events/DetailLayout.js +54 -0
- package/dist/components/modules/events/DetailLayout.js.map +1 -0
- package/dist/components/modules/events/DetailPage.d.ts +7 -0
- package/dist/components/modules/events/DetailPage.d.ts.map +1 -0
- package/dist/components/modules/events/DetailPage.js +54 -0
- package/dist/components/modules/events/DetailPage.js.map +1 -0
- package/dist/components/modules/events/EventsLayout.d.ts +8 -0
- package/dist/components/modules/events/EventsLayout.d.ts.map +1 -0
- package/dist/components/modules/events/EventsLayout.js +6 -0
- package/dist/components/modules/events/EventsLayout.js.map +1 -0
- package/dist/components/modules/events/EventsPage.d.ts +8 -0
- package/dist/components/modules/events/EventsPage.d.ts.map +1 -0
- package/dist/components/modules/events/EventsPage.js +75 -0
- package/dist/components/modules/events/EventsPage.js.map +1 -0
- package/dist/components/modules/events/index.d.ts +7 -0
- package/dist/components/modules/events/index.d.ts.map +1 -0
- package/dist/components/modules/events/index.js +7 -0
- package/dist/components/modules/events/index.js.map +1 -0
- package/dist/components/modules/events/widgets/EventCard.d.ts +11 -0
- package/dist/components/modules/events/widgets/EventCard.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventCard.js +10 -0
- package/dist/components/modules/events/widgets/EventCard.js.map +1 -0
- package/dist/components/modules/events/widgets/EventFormModal.d.ts +9 -0
- package/dist/components/modules/events/widgets/EventFormModal.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventFormModal.js +24 -0
- package/dist/components/modules/events/widgets/EventFormModal.js.map +1 -0
- package/dist/components/modules/events/widgets/EventList.d.ts +10 -0
- package/dist/components/modules/events/widgets/EventList.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventList.js +29 -0
- package/dist/components/modules/events/widgets/EventList.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostCard.d.ts +9 -1
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/PostCard.js +103 -40
- package/dist/components/modules/posts/widgets/PostCard.js.map +1 -1
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts +19 -0
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/SocialFeed.js +117 -0
- package/dist/components/modules/posts/widgets/SocialFeed.js.map +1 -0
- package/dist/components/modules/posts/widgets/Stories.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/Stories.js +4 -1
- package/dist/components/modules/posts/widgets/Stories.js.map +1 -1
- package/dist/components/modules/profile/ProfileLayout.d.ts.map +1 -1
- package/dist/components/modules/profile/ProfileLayout.js +1 -2
- package/dist/components/modules/profile/ProfileLayout.js.map +1 -1
- package/dist/components/modules/profile/tabs/PostsTab.d.ts.map +1 -1
- package/dist/components/modules/profile/tabs/PostsTab.js +5 -63
- package/dist/components/modules/profile/tabs/PostsTab.js.map +1 -1
- package/dist/components/modules/social/SocialLayout.d.ts.map +1 -1
- package/dist/components/modules/social/SocialLayout.js +23 -147
- package/dist/components/modules/social/SocialLayout.js.map +1 -1
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/EconomyWidget.js +8 -1
- package/dist/components/modules/social/widgets/EconomyWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/LeagueWidget.js +8 -1
- package/dist/components/modules/social/widgets/LeagueWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.js +8 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/RankingWidget.js +7 -1
- package/dist/components/modules/social/widgets/RankingWidget.js.map +1 -1
- package/dist/components/shared/Footer.d.ts +1 -1
- package/dist/components/shared/Footer.js +9 -9
- package/dist/components/shared/Header.d.ts.map +1 -1
- package/dist/components/shared/Header.js +33 -10
- package/dist/components/shared/Header.js.map +1 -1
- package/dist/components/shared/PageWidth.d.ts +5 -5
- package/dist/components/shared/PageWidth.js +13 -13
- package/dist/components/showcase/EventsTab.d.ts.map +1 -1
- package/dist/components/showcase/EventsTab.js +22 -7
- package/dist/components/showcase/EventsTab.js.map +1 -1
- package/dist/components/showcase/GroupTab.js +1 -1
- package/dist/components/showcase/GroupTab.js.map +1 -1
- package/dist/components/showcase/SocialTab.d.ts.map +1 -1
- package/dist/components/showcase/SocialTab.js +14 -97
- package/dist/components/showcase/SocialTab.js.map +1 -1
- package/dist/context/ArmoyuContext.js +1 -1
- package/dist/context/ArmoyuContext.js.map +1 -1
- package/dist/context/AuthContext.d.ts.map +1 -1
- package/dist/context/AuthContext.js +4 -7
- package/dist/context/AuthContext.js.map +1 -1
- package/dist/context/CartContext.js +63 -63
- package/dist/context/ChatContext.d.ts.map +1 -1
- package/dist/context/ChatContext.js +3 -2
- package/dist/context/ChatContext.js.map +1 -1
- package/dist/context/LayoutContext.d.ts +10 -10
- package/dist/context/LayoutContext.js +16 -16
- package/dist/context/ThemeContext.d.ts +10 -10
- package/dist/context/ThemeContext.js +39 -39
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/constants/educationData.js +117 -117
- package/dist/lib/constants/punishmentData.d.ts +29 -29
- package/dist/lib/constants/punishmentData.js +183 -183
- package/dist/lib/constants/surveyData.js +49 -49
- package/dist/lib/constants/teamData.js +65 -65
- package/dist/lib/utils/postUtils.d.ts +7 -0
- package/dist/lib/utils/postUtils.d.ts.map +1 -0
- package/dist/lib/utils/postUtils.js +49 -0
- package/dist/lib/utils/postUtils.js.map +1 -0
- package/dist/types/stats.d.ts +17 -17
- package/dist/types/stats.js +1 -1
- package/package.json +2 -2
- package/dist/components/modules/auth/Dashboard.d.ts +0 -2
- package/dist/components/modules/auth/Dashboard.d.ts.map +0 -1
- package/dist/components/modules/auth/Dashboard.js +0 -251
- package/dist/components/modules/auth/Dashboard.js.map +0 -1
- package/dist/components/modules/auth/MediaLightbox.d.ts +0 -14
- package/dist/components/modules/auth/MediaLightbox.d.ts.map +0 -1
- package/dist/components/modules/auth/MediaLightbox.js +0 -47
- package/dist/components/modules/auth/MediaLightbox.js.map +0 -1
- package/dist/components/modules/auth/PostCard.d.ts +0 -26
- package/dist/components/modules/auth/PostCard.d.ts.map +0 -1
- package/dist/components/modules/auth/PostCard.js +0 -116
- package/dist/components/modules/auth/PostCard.js.map +0 -1
- package/dist/components/modules/auth/PostInteractionsModal.d.ts +0 -12
- package/dist/components/modules/auth/PostInteractionsModal.d.ts.map +0 -1
- package/dist/components/modules/auth/PostInteractionsModal.js +0 -13
- package/dist/components/modules/auth/PostInteractionsModal.js.map +0 -1
- package/dist/components/modules/auth/RepostModal.d.ts +0 -22
- package/dist/components/modules/auth/RepostModal.d.ts.map +0 -1
- package/dist/components/modules/auth/RepostModal.js +0 -76
- package/dist/components/modules/auth/RepostModal.js.map +0 -1
- package/dist/components/modules/auth/SidebarLeft.d.ts +0 -2
- package/dist/components/modules/auth/SidebarLeft.d.ts.map +0 -1
- package/dist/components/modules/auth/SidebarLeft.js +0 -9
- package/dist/components/modules/auth/SidebarLeft.js.map +0 -1
- package/dist/components/modules/auth/Stories.d.ts +0 -2
- package/dist/components/modules/auth/Stories.d.ts.map +0 -1
- package/dist/components/modules/auth/Stories.js +0 -16
- package/dist/components/modules/auth/Stories.js.map +0 -1
- package/dist/components/modules/auth/StoryViewer.d.ts +0 -10
- package/dist/components/modules/auth/StoryViewer.d.ts.map +0 -1
- package/dist/components/modules/auth/StoryViewer.js +0 -48
- package/dist/components/modules/auth/StoryViewer.js.map +0 -1
- package/dist/components/modules/auth/widgets/EconomyWidget.d.ts +0 -2
- package/dist/components/modules/auth/widgets/EconomyWidget.d.ts.map +0 -1
- package/dist/components/modules/auth/widgets/EconomyWidget.js +0 -38
- package/dist/components/modules/auth/widgets/EconomyWidget.js.map +0 -1
- package/dist/components/modules/auth/widgets/LeagueWidget.d.ts +0 -2
- package/dist/components/modules/auth/widgets/LeagueWidget.d.ts.map +0 -1
- package/dist/components/modules/auth/widgets/LeagueWidget.js +0 -36
- package/dist/components/modules/auth/widgets/LeagueWidget.js.map +0 -1
- package/dist/components/modules/auth/widgets/MinecraftWidget.d.ts +0 -2
- package/dist/components/modules/auth/widgets/MinecraftWidget.d.ts.map +0 -1
- package/dist/components/modules/auth/widgets/MinecraftWidget.js +0 -36
- package/dist/components/modules/auth/widgets/MinecraftWidget.js.map +0 -1
- package/dist/components/modules/auth/widgets/RankingWidget.d.ts +0 -5
- package/dist/components/modules/auth/widgets/RankingWidget.d.ts.map +0 -1
- package/dist/components/modules/auth/widgets/RankingWidget.js +0 -79
- package/dist/components/modules/auth/widgets/RankingWidget.js.map +0 -1
- package/dist/components/modules/chat/ChatContainer.d.ts +0 -2
- package/dist/components/modules/chat/ChatContainer.d.ts.map +0 -1
- package/dist/components/modules/chat/ChatContainer.js +0 -199
- package/dist/components/modules/chat/ChatContainer.js.map +0 -1
- package/dist/components/modules/chat/ChatInput.d.ts +0 -5
- package/dist/components/modules/chat/ChatInput.d.ts.map +0 -1
- package/dist/components/modules/chat/ChatInput.js +0 -31
- package/dist/components/modules/chat/ChatInput.js.map +0 -1
- package/dist/components/modules/chat/ChatList.d.ts +0 -7
- package/dist/components/modules/chat/ChatList.d.ts.map +0 -1
- package/dist/components/modules/chat/ChatList.js +0 -53
- package/dist/components/modules/chat/ChatList.js.map +0 -1
- package/dist/components/modules/chat/ChatMessage.d.ts +0 -12
- package/dist/components/modules/chat/ChatMessage.d.ts.map +0 -1
- package/dist/components/modules/chat/ChatMessage.js +0 -7
- package/dist/components/modules/chat/ChatMessage.js.map +0 -1
- package/dist/components/modules/chat/ChatNotes.d.ts +0 -2
- package/dist/components/modules/chat/ChatNotes.d.ts.map +0 -1
- package/dist/components/modules/chat/ChatNotes.js +0 -12
- package/dist/components/modules/chat/ChatNotes.js.map +0 -1
- package/dist/components/modules/community/GroupHeader.d.ts +0 -11
- package/dist/components/modules/community/GroupHeader.d.ts.map +0 -1
- package/dist/components/modules/community/GroupHeader.js +0 -18
- package/dist/components/modules/community/GroupHeader.js.map +0 -1
- package/dist/components/modules/community/GroupMenu.d.ts +0 -10
- package/dist/components/modules/community/GroupMenu.d.ts.map +0 -1
- package/dist/components/modules/community/GroupMenu.js +0 -17
- package/dist/components/modules/community/GroupMenu.js.map +0 -1
- package/dist/components/modules/community/GroupProfileContent.d.ts +0 -7
- package/dist/components/modules/community/GroupProfileContent.d.ts.map +0 -1
- package/dist/components/modules/community/GroupProfileContent.js +0 -127
- package/dist/components/modules/community/GroupProfileContent.js.map +0 -1
- package/dist/components/modules/community/SchoolCard.d.ts +0 -7
- package/dist/components/modules/community/SchoolCard.d.ts.map +0 -1
- package/dist/components/modules/community/SchoolCard.js +0 -8
- package/dist/components/modules/community/SchoolCard.js.map +0 -1
- package/dist/components/modules/community/SurveyCard.d.ts +0 -7
- package/dist/components/modules/community/SurveyCard.d.ts.map +0 -1
- package/dist/components/modules/community/SurveyCard.js +0 -38
- package/dist/components/modules/community/SurveyCard.js.map +0 -1
- package/dist/components/modules/forum/ForumBoard.d.ts +0 -17
- package/dist/components/modules/forum/ForumBoard.d.ts.map +0 -1
- package/dist/components/modules/forum/ForumBoard.js +0 -7
- package/dist/components/modules/forum/ForumBoard.js.map +0 -1
- package/dist/components/modules/forum/ForumPost.d.ts +0 -14
- package/dist/components/modules/forum/ForumPost.d.ts.map +0 -1
- package/dist/components/modules/forum/ForumPost.js +0 -6
- package/dist/components/modules/forum/ForumPost.js.map +0 -1
- package/dist/components/modules/forum/NewTopicModal.d.ts +0 -8
- package/dist/components/modules/forum/NewTopicModal.d.ts.map +0 -1
- package/dist/components/modules/forum/NewTopicModal.js +0 -27
- package/dist/components/modules/forum/NewTopicModal.js.map +0 -1
- package/dist/components/modules/forum/TopicItem.d.ts +0 -16
- package/dist/components/modules/forum/TopicItem.d.ts.map +0 -1
- package/dist/components/modules/forum/TopicItem.js +0 -7
- package/dist/components/modules/forum/TopicItem.js.map +0 -1
- package/dist/components/modules/galleries/GalleryCard.d.ts +0 -10
- package/dist/components/modules/galleries/GalleryCard.d.ts.map +0 -1
- package/dist/components/modules/galleries/GalleryCard.js +0 -6
- package/dist/components/modules/galleries/GalleryCard.js.map +0 -1
- package/dist/components/modules/giveaways/GiveawayCard.d.ts +0 -10
- package/dist/components/modules/giveaways/GiveawayCard.d.ts.map +0 -1
- package/dist/components/modules/giveaways/GiveawayCard.js +0 -7
- package/dist/components/modules/giveaways/GiveawayCard.js.map +0 -1
- package/dist/components/modules/groups/ApplicationModal.d.ts +0 -8
- package/dist/components/modules/groups/ApplicationModal.d.ts.map +0 -1
- package/dist/components/modules/groups/ApplicationModal.js +0 -28
- package/dist/components/modules/groups/ApplicationModal.js.map +0 -1
- package/dist/components/modules/groups/GroupCard.d.ts +0 -14
- package/dist/components/modules/groups/GroupCard.d.ts.map +0 -1
- package/dist/components/modules/groups/GroupCard.js +0 -8
- package/dist/components/modules/groups/GroupCard.js.map +0 -1
- package/dist/components/modules/guest/Introduction.d.ts +0 -2
- package/dist/components/modules/guest/Introduction.d.ts.map +0 -1
- package/dist/components/modules/guest/Introduction.js +0 -14
- package/dist/components/modules/guest/Introduction.js.map +0 -1
- package/dist/components/modules/magaza/BackToStore.d.ts +0 -2
- package/dist/components/modules/magaza/BackToStore.d.ts.map +0 -1
- package/dist/components/modules/magaza/BackToStore.js +0 -11
- package/dist/components/modules/magaza/BackToStore.js.map +0 -1
- package/dist/components/modules/magaza/StoreHeader.d.ts +0 -6
- package/dist/components/modules/magaza/StoreHeader.d.ts.map +0 -1
- package/dist/components/modules/magaza/StoreHeader.js +0 -9
- package/dist/components/modules/magaza/StoreHeader.js.map +0 -1
- package/dist/components/modules/magaza/widgets/StoreProductGrid.d.ts +0 -7
- package/dist/components/modules/magaza/widgets/StoreProductGrid.d.ts.map +0 -1
- package/dist/components/modules/magaza/widgets/StoreProductGrid.js +0 -13
- package/dist/components/modules/magaza/widgets/StoreProductGrid.js.map +0 -1
- package/dist/components/modules/magaza/widgets/StoreSidebar.d.ts +0 -8
- package/dist/components/modules/magaza/widgets/StoreSidebar.d.ts.map +0 -1
- package/dist/components/modules/magaza/widgets/StoreSidebar.js +0 -8
- package/dist/components/modules/magaza/widgets/StoreSidebar.js.map +0 -1
- package/dist/components/modules/magaza/widgets/StoreTrustBadges.d.ts +0 -2
- package/dist/components/modules/magaza/widgets/StoreTrustBadges.d.ts.map +0 -1
- package/dist/components/modules/magaza/widgets/StoreTrustBadges.js +0 -6
- package/dist/components/modules/magaza/widgets/StoreTrustBadges.js.map +0 -1
- package/dist/components/modules/news/NewsCard.d.ts +0 -12
- package/dist/components/modules/news/NewsCard.d.ts.map +0 -1
- package/dist/components/modules/news/NewsCard.js +0 -7
- package/dist/components/modules/news/NewsCard.js.map +0 -1
- package/dist/components/modules/news/NewsComments.d.ts +0 -2
- package/dist/components/modules/news/NewsComments.d.ts.map +0 -1
- package/dist/components/modules/news/NewsComments.js +0 -53
- package/dist/components/modules/news/NewsComments.js.map +0 -1
- package/dist/components/modules/posts/MediaLightbox.d.ts +0 -14
- package/dist/components/modules/posts/MediaLightbox.d.ts.map +0 -1
- package/dist/components/modules/posts/MediaLightbox.js +0 -47
- package/dist/components/modules/posts/MediaLightbox.js.map +0 -1
- package/dist/components/modules/posts/PostCard.d.ts +0 -26
- package/dist/components/modules/posts/PostCard.d.ts.map +0 -1
- package/dist/components/modules/posts/PostCard.js +0 -116
- package/dist/components/modules/posts/PostCard.js.map +0 -1
- package/dist/components/modules/posts/PostInteractionsModal.d.ts +0 -12
- package/dist/components/modules/posts/PostInteractionsModal.d.ts.map +0 -1
- package/dist/components/modules/posts/PostInteractionsModal.js +0 -13
- package/dist/components/modules/posts/PostInteractionsModal.js.map +0 -1
- package/dist/components/modules/posts/RepostModal.d.ts +0 -22
- package/dist/components/modules/posts/RepostModal.d.ts.map +0 -1
- package/dist/components/modules/posts/RepostModal.js +0 -76
- package/dist/components/modules/posts/RepostModal.js.map +0 -1
- package/dist/components/modules/posts/Stories.d.ts +0 -2
- package/dist/components/modules/posts/Stories.d.ts.map +0 -1
- package/dist/components/modules/posts/Stories.js +0 -16
- package/dist/components/modules/posts/Stories.js.map +0 -1
- package/dist/components/modules/posts/StoryViewer.d.ts +0 -10
- package/dist/components/modules/posts/StoryViewer.d.ts.map +0 -1
- package/dist/components/modules/posts/StoryViewer.js +0 -48
- package/dist/components/modules/posts/StoryViewer.js.map +0 -1
- package/dist/components/modules/posts/reels/ReelCard.d.ts +0 -16
- package/dist/components/modules/posts/reels/ReelCard.d.ts.map +0 -1
- package/dist/components/modules/posts/reels/ReelCard.js +0 -70
- package/dist/components/modules/posts/reels/ReelCard.js.map +0 -1
- package/dist/components/modules/posts/reels/ReelsContainer.d.ts +0 -8
- package/dist/components/modules/posts/reels/ReelsContainer.d.ts.map +0 -1
- package/dist/components/modules/posts/reels/ReelsContainer.js +0 -37
- package/dist/components/modules/posts/reels/ReelsContainer.js.map +0 -1
- package/dist/components/modules/profile/CloudStorageModal.d.ts +0 -9
- package/dist/components/modules/profile/CloudStorageModal.d.ts.map +0 -1
- package/dist/components/modules/profile/CloudStorageModal.js +0 -32
- package/dist/components/modules/profile/CloudStorageModal.js.map +0 -1
- package/dist/components/modules/profile/EditProfileModal.d.ts +0 -9
- package/dist/components/modules/profile/EditProfileModal.d.ts.map +0 -1
- package/dist/components/modules/profile/EditProfileModal.js +0 -28
- package/dist/components/modules/profile/EditProfileModal.js.map +0 -1
- package/dist/components/modules/profile/ProfileContent.d.ts +0 -5
- package/dist/components/modules/profile/ProfileContent.d.ts.map +0 -1
- package/dist/components/modules/profile/ProfileContent.js +0 -117
- package/dist/components/modules/profile/ProfileContent.js.map +0 -1
- package/dist/components/modules/profile/ProfileHeader.d.ts +0 -8
- package/dist/components/modules/profile/ProfileHeader.d.ts.map +0 -1
- package/dist/components/modules/profile/ProfileHeader.js +0 -20
- package/dist/components/modules/profile/ProfileHeader.js.map +0 -1
- package/dist/components/modules/profile/ProfileSidebar.d.ts +0 -11
- package/dist/components/modules/profile/ProfileSidebar.d.ts.map +0 -1
- package/dist/components/modules/profile/ProfileSidebar.js +0 -9
- package/dist/components/modules/profile/ProfileSidebar.js.map +0 -1
- package/dist/components/modules/profile/ProfileStats.d.ts +0 -7
- package/dist/components/modules/profile/ProfileStats.d.ts.map +0 -1
- package/dist/components/modules/profile/ProfileStats.js +0 -20
- package/dist/components/modules/profile/ProfileStats.js.map +0 -1
- package/dist/components/modules/profile/ProfileTabsArea.d.ts +0 -14
- package/dist/components/modules/profile/ProfileTabsArea.d.ts.map +0 -1
- package/dist/components/modules/profile/ProfileTabsArea.js +0 -59
- package/dist/components/modules/profile/ProfileTabsArea.js.map +0 -1
- package/dist/components/modules/profile/TeamSelectorModal.d.ts +0 -11
- package/dist/components/modules/profile/TeamSelectorModal.d.ts.map +0 -1
- package/dist/components/modules/profile/TeamSelectorModal.js +0 -17
- package/dist/components/modules/profile/TeamSelectorModal.js.map +0 -1
- package/dist/components/modules/shop/BackToStore.d.ts +0 -2
- package/dist/components/modules/shop/BackToStore.d.ts.map +0 -1
- package/dist/components/modules/shop/BackToStore.js +0 -11
- package/dist/components/modules/shop/BackToStore.js.map +0 -1
- package/dist/components/modules/shop/ProductCard.d.ts +0 -8
- package/dist/components/modules/shop/ProductCard.d.ts.map +0 -1
- package/dist/components/modules/shop/ProductCard.js +0 -11
- package/dist/components/modules/shop/ProductCard.js.map +0 -1
- package/dist/components/modules/shop/ProductDetailPage.d.ts +0 -8
- package/dist/components/modules/shop/ProductDetailPage.d.ts.map +0 -1
- package/dist/components/modules/shop/ProductDetailPage.js +0 -22
- package/dist/components/modules/shop/ProductDetailPage.js.map +0 -1
- package/dist/components/modules/shop/StoreHeader.d.ts +0 -6
- package/dist/components/modules/shop/StoreHeader.d.ts.map +0 -1
- package/dist/components/modules/shop/StoreHeader.js +0 -9
- package/dist/components/modules/shop/StoreHeader.js.map +0 -1
- package/dist/components/modules/social/Dashboard.d.ts +0 -2
- package/dist/components/modules/social/Dashboard.d.ts.map +0 -1
- package/dist/components/modules/social/Dashboard.js +0 -251
- package/dist/components/modules/social/Dashboard.js.map +0 -1
- package/dist/components/modules/social/SidebarLeft.d.ts +0 -2
- package/dist/components/modules/social/SidebarLeft.d.ts.map +0 -1
- package/dist/components/modules/social/SidebarLeft.js +0 -9
- package/dist/components/modules/social/SidebarLeft.js.map +0 -1
- package/dist/components/modules/stations/StationCard.d.ts +0 -3
- package/dist/components/modules/stations/StationCard.d.ts.map +0 -1
- package/dist/components/modules/stations/StationCard.js +0 -26
- package/dist/components/modules/stations/StationCard.js.map +0 -1
- package/dist/components/modules/stations/StationQRModal.d.ts +0 -10
- package/dist/components/modules/stations/StationQRModal.d.ts.map +0 -1
- package/dist/components/modules/stations/StationQRModal.js +0 -13
- package/dist/components/modules/stations/StationQRModal.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileLayout.js","sourceRoot":"","sources":["../../../../src/components/modules/profile/ProfileLayout.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,IAAI,EAAQ,MAAM,cAAc,CAAC;AAE1C,kCAAkC;AAClC,OAAO,EACH,OAAO,EACP,SAAS,EACZ,MAAM,gBAAgB,CAAC;AAExB,0BAA0B;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAGhE,MAAM,UAAU,aAAa,CAAC,EAAE,IAAI,EAAmB;IACrD,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,OAAO,EAAE,CAAC;IACxC,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,SAAS,EAAE,CAAC;IAEvC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;IACtD,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAAC,KAAK,CA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AAE,CAAC,YAAY,CAAC,IAAI,CAAC,GAC3C,IAEE,EAEN,KAAC,iBAAiB,IAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,KAAK,CAAC,GAAI,IACtF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostsTab.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/profile/tabs/PostsTab.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAQ,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"PostsTab.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/profile/tabs/PostsTab.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAQ,MAAM,cAAc,CAAC;AAK1C,UAAU,aAAa;IACrB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;CACnB;AAED,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,EAAE,aAAa,2CAuE/C"}
|
|
@@ -1,73 +1,15 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useState
|
|
4
|
-
import { PostCard } from '../../posts/widgets/PostCard';
|
|
3
|
+
import React, { useState } from 'react';
|
|
5
4
|
import { useArmoyu } from '../../../../context/ArmoyuContext';
|
|
6
5
|
import { useAuth } from '../../../../context/AuthContext';
|
|
6
|
+
import { SocialFeed } from '../../../../index';
|
|
7
7
|
export function PostsTab({ user }) {
|
|
8
8
|
const { api } = useArmoyu();
|
|
9
9
|
const { user: currentUser } = useAuth();
|
|
10
|
-
const [posts, setPosts] = useState([]);
|
|
11
|
-
const [loading, setLoading] = useState(true);
|
|
12
10
|
const [newPostContent, setNewPostContent] = useState('');
|
|
13
11
|
const [isPublishing, setIsPublishing] = useState(false);
|
|
14
|
-
const
|
|
15
|
-
const [hasMore, setHasMore] = useState(true);
|
|
16
|
-
const fetchPosts = async (isLoadMore = false) => {
|
|
17
|
-
if (!user?.id)
|
|
18
|
-
return;
|
|
19
|
-
setLoading(true);
|
|
20
|
-
try {
|
|
21
|
-
const targetPage = isLoadMore ? page + 1 : 1;
|
|
22
|
-
// Fetch posts for specific user
|
|
23
|
-
console.log(`[PostsTab] Veri çekiliyor... Kullanıcı ID: ${user.id}, Sayfa: ${targetPage}`);
|
|
24
|
-
const data = await api.social.getPosts(targetPage, {
|
|
25
|
-
category: 'oyuncu',
|
|
26
|
-
categoryDetail: user.id
|
|
27
|
-
});
|
|
28
|
-
const lastRaw = api.lastResponse;
|
|
29
|
-
console.log("[PostsTab] Ham Yanıt/Raw Response:", lastRaw);
|
|
30
|
-
if (Array.isArray(data)) {
|
|
31
|
-
// Map core Post model to UI PostCard props
|
|
32
|
-
const mappedPosts = data.map((p) => ({
|
|
33
|
-
...p,
|
|
34
|
-
id: p.id?.toString() || p.postID?.toString() || '',
|
|
35
|
-
author: p.author || p.owner || null,
|
|
36
|
-
content: p.content || p.paylasimicerik || '',
|
|
37
|
-
media: p.media || p.paylasimfoto || [],
|
|
38
|
-
createdAt: p.createdAt || p.paylasimzaman || 'Şimdi',
|
|
39
|
-
stats: {
|
|
40
|
-
likes: p.stats?.likes ?? p.likesCount ?? p.begenisay ?? 0,
|
|
41
|
-
comments: p.stats?.comments ?? p.commentsCount ?? p.yorumsay ?? 0,
|
|
42
|
-
reposts: p.stats?.reposts ?? p.repostsay ?? 0,
|
|
43
|
-
shares: p.stats?.shares ?? p.sikayetsay ?? 0
|
|
44
|
-
}
|
|
45
|
-
}));
|
|
46
|
-
console.log(`[PostsTab] ${mappedPosts.length} gönderi başarıyla çekildi ve işlendi.`);
|
|
47
|
-
if (isLoadMore) {
|
|
48
|
-
setPosts(prev => [...prev, ...mappedPosts]);
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
setPosts(mappedPosts);
|
|
52
|
-
}
|
|
53
|
-
setPage(targetPage);
|
|
54
|
-
setHasMore(mappedPosts.length > 0);
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
console.log("[PostsTab] Veri bir dizi (array) olarak gelmedi.");
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
catch (error) {
|
|
61
|
-
console.error('[PostsTab] Gönderiler çekilirken hata oluştu:', error);
|
|
62
|
-
}
|
|
63
|
-
finally {
|
|
64
|
-
setLoading(false);
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
useEffect(() => {
|
|
68
|
-
fetchPosts(false);
|
|
69
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
70
|
-
}, [user?.id, api]);
|
|
12
|
+
const feedRef = React.useRef(null);
|
|
71
13
|
const handleCreatePost = async () => {
|
|
72
14
|
if (!newPostContent.trim() || isPublishing)
|
|
73
15
|
return;
|
|
@@ -76,7 +18,7 @@ export function PostsTab({ user }) {
|
|
|
76
18
|
const response = await api.social.createPost(newPostContent);
|
|
77
19
|
if (response) {
|
|
78
20
|
setNewPostContent('');
|
|
79
|
-
|
|
21
|
+
feedRef.current?.refresh(); // Refresh feed using the centralized component's method
|
|
80
22
|
}
|
|
81
23
|
}
|
|
82
24
|
catch (error) {
|
|
@@ -87,6 +29,6 @@ export function PostsTab({ user }) {
|
|
|
87
29
|
}
|
|
88
30
|
};
|
|
89
31
|
const isOwnProfile = currentUser?.username === user?.username;
|
|
90
|
-
return (_jsxs("div", { className: "space-y-6", children: [isOwnProfile && (_jsx("div", { className: "bg-armoyu-card-bg border border-armoyu-card-border rounded-3xl p-5 shadow-sm group focus-within:border-blue-500/50 transition-all", children: _jsxs("div", { className: "flex gap-4", children: [_jsx("img", { src: user?.avatar || "https://api.dicebear.com/7.x/avataaars/svg?seed=Berkay", className: "w-10 h-10 rounded-full bg-black/5 dark:bg-white/5 shrink-0 object-cover", alt: "Avatar" }), _jsxs("div", { className: "flex-1 space-y-4", children: [_jsx("textarea", { value: newPostContent, onChange: (e) => setNewPostContent(e.target.value), placeholder: "Neler oluyor? Bir \u015Feyler payla\u015F...", className: "w-full bg-transparent border-none outline-none text-sm font-medium text-armoyu-text placeholder:text-armoyu-text-muted resize-none min-h-[60px] pt-2" }), _jsx("div", { className: "flex justify-end pt-2 border-t border-armoyu-card-border/50", children: _jsx("button", { onClick: handleCreatePost, disabled: !newPostContent.trim() || isPublishing, className: "bg-blue-600 hover:bg-blue-500 disabled:opacity-50 disabled:cursor-not-allowed text-white text-[10px] font-black uppercase tracking-widest px-6 py-2.5 rounded-xl shadow-lg shadow-blue-600/20 transition-all flex items-center gap-2", children: isPublishing ? (_jsxs(_Fragment, { children: [_jsx("div", { className: "w-3 h-3 border-2 border-white/20 border-t-white rounded-full animate-spin" }), "Yay\u0131nlan\u0131yor"] })) : 'Paylaş' }) })] })] }) })),
|
|
32
|
+
return (_jsxs("div", { className: "space-y-6", children: [isOwnProfile && (_jsx("div", { className: "bg-armoyu-card-bg border border-armoyu-card-border rounded-3xl p-5 shadow-sm group focus-within:border-blue-500/50 transition-all", children: _jsxs("div", { className: "flex gap-4", children: [_jsx("img", { src: user?.avatar || "https://api.dicebear.com/7.x/avataaars/svg?seed=Berkay", className: "w-10 h-10 rounded-full bg-black/5 dark:bg-white/5 shrink-0 object-cover", alt: "Avatar" }), _jsxs("div", { className: "flex-1 space-y-4", children: [_jsx("textarea", { value: newPostContent, onChange: (e) => setNewPostContent(e.target.value), placeholder: "Neler oluyor? Bir \u015Feyler payla\u015F...", className: "w-full bg-transparent border-none outline-none text-sm font-medium text-armoyu-text placeholder:text-armoyu-text-muted resize-none min-h-[60px] pt-2" }), _jsx("div", { className: "flex justify-end pt-2 border-t border-armoyu-card-border/50", children: _jsx("button", { onClick: handleCreatePost, disabled: !newPostContent.trim() || isPublishing, className: "bg-blue-600 hover:bg-blue-500 disabled:opacity-50 disabled:cursor-not-allowed text-white text-[10px] font-black uppercase tracking-widest px-6 py-2.5 rounded-xl shadow-lg shadow-blue-600/20 transition-all flex items-center gap-2", children: isPublishing ? (_jsxs(_Fragment, { children: [_jsx("div", { className: "w-3 h-3 border-2 border-white/20 border-t-white rounded-full animate-spin" }), "Yay\u0131nlan\u0131yor"] })) : 'Paylaş' }) })] })] }) })), _jsx(SocialFeed, { ref: feedRef, category: "oyuncu", categoryDetail: user?.id, emptyMessage: isOwnProfile ? 'Profilini canlandırmak için ilk gönderini hemen paylaş!' : 'Bu kullanıcı henüz bir şey paylaşmamış.' })] }));
|
|
91
33
|
}
|
|
92
34
|
//# sourceMappingURL=PostsTab.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostsTab.js","sourceRoot":"","sources":["../../../../../src/components/modules/profile/tabs/PostsTab.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,
|
|
1
|
+
{"version":3,"file":"PostsTab.js","sourceRoot":"","sources":["../../../../../src/components/modules/profile/tabs/PostsTab.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAa,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAiB,MAAM,mBAAmB,CAAC;AAM9D,MAAM,UAAU,QAAQ,CAAC,EAAE,IAAI,EAAiB;IAC9C,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,EAAE,CAAC;IAC5B,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,OAAO,EAAE,CAAC;IACxC,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IACzD,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxD,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,CAAgB,IAAI,CAAC,CAAC;I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AAE,IAAI,YAAY,EAChD,SAAS,EAAC,sOAAsO,YAE/O,YAAY,CAAC,CAAC,CAAC,CACd,8BACE,cAAK,SAAS,EAAC,2EAA2E,GAAG,8BAE5F,CACJ,CAAC,CAAC,CAAC,QAAQ,GACL,GACL,IACF,IACF,GACF,CACP,EAED,KAAC,UAAU,IACT,GAAG,EAAE,OAAO,EACZ,QAAQ,EAAC,QAAQ,EACjB,cAAc,EAAE,IAAI,EAAE,EAAE,EACxB,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,yDAAyD,CAAC,CAAC,CAAC,yCAAyC,GAClI,IACE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/social/SocialLayout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SocialLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/social/SocialLayout.tsx"],"names":[],"mappings":"AAmBA,wBAAgB,YAAY,4CA6b3B"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs
|
|
3
|
-
import { useState, useEffect, useRef
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useState, useEffect, useRef } from 'react';
|
|
4
4
|
import { useSearchParams, useRouter } from 'next/navigation';
|
|
5
5
|
import { useAuth } from '../../../context/AuthContext';
|
|
6
6
|
import { useSocket } from '../../../context/SocketContext';
|
|
7
|
-
import {
|
|
7
|
+
import { Stories, SocialSidebar, CloudStorageModal, SocialFeed } from '../../../index';
|
|
8
8
|
import Link from 'next/link';
|
|
9
|
-
import {
|
|
9
|
+
import { groupList } from '../../../lib/constants/seedData';
|
|
10
10
|
import { Post } from '@armoyu/core';
|
|
11
11
|
import { CheckCircle2 } from 'lucide-react';
|
|
12
12
|
export function SocialLayout() {
|
|
@@ -20,15 +20,12 @@ export function SocialLayout() {
|
|
|
20
20
|
const [tempBio, setTempBio] = useState(user?.bio || '');
|
|
21
21
|
const [selectedMedia, setSelectedMedia] = useState([]);
|
|
22
22
|
const [selectedTag, setSelectedTag] = useState(null);
|
|
23
|
-
const [visibleCount, setVisibleCount] = useState(10);
|
|
24
|
-
const [isLoadingMore, setIsLoadingMore] = useState(false);
|
|
25
23
|
const { updateUser } = useAuth();
|
|
26
|
-
const [posts, setPosts] = useState(postList);
|
|
27
|
-
const [newPostsBuffer, setNewPostsBuffer] = useState([]);
|
|
28
24
|
const [isAtTop, setIsAtTop] = useState(true);
|
|
29
25
|
const [postContent, setPostContent] = useState('');
|
|
30
26
|
const [isPosting, setIsPosting] = useState(false);
|
|
31
27
|
const textareaRef = useRef(null);
|
|
28
|
+
const feedRef = useRef(null);
|
|
32
29
|
const handleBioSave = () => {
|
|
33
30
|
if (user) {
|
|
34
31
|
updateUser({
|
|
@@ -38,32 +35,13 @@ export function SocialLayout() {
|
|
|
38
35
|
setIsBioModalOpen(false);
|
|
39
36
|
}
|
|
40
37
|
};
|
|
41
|
-
// Gündemdeki Etiketleri Dinamik Hesapla
|
|
42
|
-
const trendingTags =
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
});
|
|
49
|
-
return Object.entries(counts)
|
|
50
|
-
.map(([name, count]) => ({ name, count }))
|
|
51
|
-
.sort((a, b) => b.count - a.count)
|
|
52
|
-
.slice(0, 5);
|
|
53
|
-
}, [posts]);
|
|
54
|
-
// Filtremele ve Pagination Mantığı
|
|
55
|
-
const allFilteredPosts = useMemo(() => {
|
|
56
|
-
// 1. Post ID filtresi (En yüksek öncelik)
|
|
57
|
-
if (focusedPostId) {
|
|
58
|
-
return posts.filter(p => p.id === focusedPostId);
|
|
59
|
-
}
|
|
60
|
-
// 2. Tag filtresi
|
|
61
|
-
if (selectedTag) {
|
|
62
|
-
return posts.filter(post => post.hashtags?.includes(selectedTag.replace('#', '')));
|
|
63
|
-
}
|
|
64
|
-
return posts;
|
|
65
|
-
}, [posts, focusedPostId, selectedTag]);
|
|
66
|
-
const visiblePosts = allFilteredPosts.slice(0, visibleCount);
|
|
38
|
+
// Gündemdeki Etiketleri Dinamik Hesapla (Burada trend verisi API'den gelmeli ama şimdilik mock)
|
|
39
|
+
const trendingTags = [
|
|
40
|
+
{ name: 'ARMOYU', count: 42 },
|
|
41
|
+
{ name: 'Gaming', count: 28 },
|
|
42
|
+
{ name: 'Web3', count: 14 },
|
|
43
|
+
{ name: 'Haber', count: 7 }
|
|
44
|
+
];
|
|
67
45
|
// Auto-resize logic for textarea
|
|
68
46
|
useEffect(() => {
|
|
69
47
|
if (textareaRef.current) {
|
|
@@ -78,72 +56,9 @@ export function SocialLayout() {
|
|
|
78
56
|
window.addEventListener('scroll', handleScroll);
|
|
79
57
|
return () => window.removeEventListener('scroll', handleScroll);
|
|
80
58
|
}, []);
|
|
81
|
-
// Socket
|
|
82
|
-
useEffect(() => {
|
|
83
|
-
console.log('[SocialLayout] Setting up socket listener for "post" event');
|
|
84
|
-
const offPost = on('post', (data) => {
|
|
85
|
-
console.log('[SocialLayout] New socket post received!', data);
|
|
86
|
-
const newPost = Post.fromJSON(data);
|
|
87
|
-
setPosts(currentPosts => {
|
|
88
|
-
// If this is a post from the CURRENT USER, find the pending version and replace it
|
|
89
|
-
if (newPost.author?.username === user?.username) {
|
|
90
|
-
// Check if there is a pending post (we look for matches in content and media count as a heuristic)
|
|
91
|
-
const pendingIdx = currentPosts.findIndex(p => p.isPending && p.content === newPost.content);
|
|
92
|
-
if (pendingIdx !== -1) {
|
|
93
|
-
const updated = [...currentPosts];
|
|
94
|
-
updated[pendingIdx] = newPost; // Replace pending with confirmed
|
|
95
|
-
return updated;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
// Standard duplicate check
|
|
99
|
-
if (currentPosts.some(p => p.id === newPost.id))
|
|
100
|
-
return currentPosts;
|
|
101
|
-
if (window.scrollY < 150) {
|
|
102
|
-
return [newPost, ...currentPosts];
|
|
103
|
-
}
|
|
104
|
-
else {
|
|
105
|
-
setNewPostsBuffer(prev => {
|
|
106
|
-
if (prev.some(p => p.id === newPost.id))
|
|
107
|
-
return prev;
|
|
108
|
-
return [newPost, ...prev];
|
|
109
|
-
});
|
|
110
|
-
return currentPosts;
|
|
111
|
-
}
|
|
112
|
-
});
|
|
113
|
-
});
|
|
114
|
-
const offLike = on('post_like', (data) => {
|
|
115
|
-
const { postId, newCount } = data;
|
|
116
|
-
setPosts(currentPosts => currentPosts.map(p => {
|
|
117
|
-
if (p.id === postId) {
|
|
118
|
-
return {
|
|
119
|
-
...p,
|
|
120
|
-
stats: { ...p.stats, likes: newCount }
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
return p;
|
|
124
|
-
}));
|
|
125
|
-
});
|
|
126
|
-
const offRepostCount = on('post_repost_count', (data) => {
|
|
127
|
-
const { postId } = data;
|
|
128
|
-
setPosts(currentPosts => currentPosts.map(p => {
|
|
129
|
-
if (p.id === postId) {
|
|
130
|
-
return {
|
|
131
|
-
...p,
|
|
132
|
-
stats: { ...p.stats, reposts: (p.stats.reposts || 0) + 1 }
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
return p;
|
|
136
|
-
}));
|
|
137
|
-
});
|
|
138
|
-
return () => {
|
|
139
|
-
offPost();
|
|
140
|
-
offLike();
|
|
141
|
-
offRepostCount();
|
|
142
|
-
};
|
|
143
|
-
}, [on]);
|
|
59
|
+
// Socket Listeners Moved to SocialFeed (Smart Component)
|
|
144
60
|
const mergeNewPosts = () => {
|
|
145
|
-
|
|
146
|
-
setNewPostsBuffer([]);
|
|
61
|
+
feedRef.current?.refresh();
|
|
147
62
|
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
148
63
|
};
|
|
149
64
|
const { emit } = useSocket();
|
|
@@ -153,72 +68,33 @@ export function SocialLayout() {
|
|
|
153
68
|
return;
|
|
154
69
|
}
|
|
155
70
|
// 1. Create optimistic local post
|
|
156
|
-
const tempId = 'p-temp-' + Date.now();
|
|
157
71
|
const optimisticPost = new Post({
|
|
158
|
-
id:
|
|
72
|
+
id: 'p-optimistic-' + Date.now(),
|
|
159
73
|
author: user,
|
|
160
74
|
content: postContent,
|
|
161
75
|
media: selectedMedia,
|
|
162
|
-
createdAt: '
|
|
76
|
+
createdAt: 'Az önce',
|
|
163
77
|
stats: { likes: 0, comments: 0, shares: 0, reposts: 0 },
|
|
164
|
-
hashtags: postContent.match(/#\w+/g)?.map(t => t.replace('#', '')) || []
|
|
165
|
-
isPending: true
|
|
78
|
+
hashtags: postContent.match(/#\w+/g)?.map(t => t.replace('#', '')) || []
|
|
166
79
|
});
|
|
167
|
-
// 2.
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
setPosts(prev => [optimisticPost, ...prev]);
|
|
80
|
+
// 2. Prepend to feed via Smart Ref (OOP Style)
|
|
81
|
+
feedRef.current?.prependPost(optimisticPost);
|
|
82
|
+
// 3. Clear inputs
|
|
171
83
|
setPostContent('');
|
|
172
84
|
setSelectedMedia([]);
|
|
173
|
-
console.log('[SocialLayout] Optimistic post added, inputs cleared.');
|
|
174
|
-
// 3. Prepare wire data
|
|
175
|
-
const wireData = {
|
|
176
|
-
id: 'p-' + Date.now(), // Real ID candidate
|
|
177
|
-
author: {
|
|
178
|
-
id: user.id,
|
|
179
|
-
username: user.username,
|
|
180
|
-
displayName: user.displayName,
|
|
181
|
-
avatar: user.avatar,
|
|
182
|
-
role: user.role,
|
|
183
|
-
verified: user.verified,
|
|
184
|
-
level: user.level
|
|
185
|
-
},
|
|
186
|
-
content: savedContent,
|
|
187
|
-
media: savedMedia,
|
|
188
|
-
createdAt: 'Şimdi',
|
|
189
|
-
stats: { likes: 0, comments: 0, shares: 0, reposts: 0 },
|
|
190
|
-
hashtags: savedContent.match(/#\w+/g)?.map(t => t.replace('#', '')) || []
|
|
191
|
-
};
|
|
192
85
|
// 4. Emit to socket server
|
|
193
|
-
emit('post',
|
|
86
|
+
emit('post', optimisticPost);
|
|
194
87
|
}
|
|
195
88
|
catch (error) {
|
|
196
89
|
console.error('[SocialLayout] Error in handleCreatePost:', error);
|
|
197
90
|
}
|
|
198
91
|
};
|
|
199
|
-
// Sonsuz Kaydırma Trigger (Intersection Observer)
|
|
200
|
-
const loaderRef = useRef(null);
|
|
201
|
-
useEffect(() => {
|
|
202
|
-
const observer = new IntersectionObserver((entries) => {
|
|
203
|
-
if (entries[0].isIntersecting && !isLoadingMore && visibleCount < allFilteredPosts.length) {
|
|
204
|
-
setIsLoadingMore(true);
|
|
205
|
-
setTimeout(() => {
|
|
206
|
-
setVisibleCount(prev => prev + 10);
|
|
207
|
-
setIsLoadingMore(false);
|
|
208
|
-
}, 800);
|
|
209
|
-
}
|
|
210
|
-
}, { threshold: 0.1 });
|
|
211
|
-
if (loaderRef.current) {
|
|
212
|
-
observer.observe(loaderRef.current);
|
|
213
|
-
}
|
|
214
|
-
return () => observer.disconnect();
|
|
215
|
-
}, [isLoadingMore, visibleCount, allFilteredPosts.length]);
|
|
216
92
|
return (_jsxs("div", { className: "w-full flex-1 flex gap-6 pb-20 animate-in fade-in slide-in-from-bottom-8 duration-700 items-start", children: [_jsx(SocialSidebar, {}), _jsxs("div", { className: "flex-1 flex flex-col pt-2 min-w-0", children: [_jsx(Stories, {}), _jsxs("div", { className: "glass-panel p-4 md:p-5 rounded-3xl border border-armoyu-card-border bg-armoyu-card-bg shadow-sm mb-8", children: [_jsxs("div", { className: "flex gap-4 items-start", children: [_jsx("img", { src: user?.avatar || "https://api.dicebear.com/7.x/avataaars/svg?seed=Armoyu", alt: "Avatar", className: "w-12 h-12 rounded-full border border-black/10 dark:border-white/10 shadow-sm mt-1" }), _jsxs("div", { className: "flex-1 flex flex-col gap-3", children: [_jsx("textarea", { ref: textareaRef, value: postContent, onChange: (e) => setPostContent(e.target.value), onKeyDown: (e) => {
|
|
217
93
|
if (e.key === 'Enter' && !e.shiftKey) {
|
|
218
94
|
e.preventDefault();
|
|
219
95
|
handleCreatePost();
|
|
220
96
|
}
|
|
221
|
-
}, placeholder: "Neler yap\u0131yorsun, d\u00FC\u015F\u00FCncelerini payla\u015F...", className: "w-full bg-black/5 dark:bg-white/5 border border-black/10 dark:border-white/10 hover:border-black/20 dark:hover:border-white/20 rounded-2xl px-5 py-3 text-sm text-armoyu-text placeholder-armoyu-text-muted focus:outline-none focus:border-blue-500 focus:ring-1 focus:ring-blue-500 transition-all font-medium resize-none min-h-[44px] max-h-[300px] overflow-y-auto" }), selectedMedia.length > 0 && (_jsx("div", { className: "flex gap-2.5 overflow-x-auto pb-2 scrollbar-hide animate-in fade-in slide-in-from-left-4 duration-300", children: selectedMedia.map((media, idx) => (_jsxs("div", { className: "relative group shrink-0", children: [media.type === 'video' ? (_jsxs("div", { className: "w-24 h-24 rounded-2xl bg-black/20 flex items-center justify-center border border-white/10 overflow-hidden", children: [_jsx("video", { src: media.url, className: "w-full h-full object-cover opacity-60" }), _jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "white", children: _jsx("polygon", { points: "5 3 19 12 5 21 5 3" }) }) })] })) : (_jsx("img", { src: media.url, alt: "Preview", className: "w-24 h-24 rounded-2xl object-cover border border-white/10 shadow-md group-hover:scale-105 transition-transform" })), _jsx("button", { onClick: () => setSelectedMedia(prev => prev.filter((_, i) => i !== idx)), className: "absolute -top-1.5 -right-1.5 w-6 h-6 bg-red-500 text-white rounded-full flex items-center justify-center shadow-lg hover:bg-red-600 transition-colors z-10", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), _jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] }) })] }, idx))) }))] })] }), _jsxs("div", { className: "flex justify-between items-center mt-3 pl-16", children: [_jsxs("div", { className: "flex gap-2", children: [_jsx("button", { onClick: () => setIsCloudModalOpen(true), className: "flex items-center justify-center p-2.5 text-blue-500 hover:bg-blue-500/10 rounded-xl transition-colors shrink-0", title: "Cloud Medya Galerisini A\u00E7", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "currentColor", stroke: "currentColor", strokeWidth: "1", strokeLinecap: "round", strokeLinejoin: "round", className: "text-blue-500", children: _jsx("path", { d: "M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z" }) }) }), _jsx("button", { className: "p-2 text-armoyu-text-muted hover:text-blue-500 hover:bg-blue-500/10 rounded-full transition-colors", 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", strokeLinecap: "round", strokeLinejoin: "round", 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" })] }) }), _jsx("button", { className: "p-2 text-armoyu-text-muted hover:text-emerald-500 hover:bg-emerald-500/10 rounded-full transition-colors", 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", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("circle", { cx: "12", cy: "12", r: "10" }), _jsx("path", { d: "M8 14s1.5 2 4 2 4-2 4-2" }), _jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }), _jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })] }) })] }), _jsx("button", { onClick: handleCreatePost, disabled: isPosting || (!postContent.trim() && selectedMedia.length === 0), className: "px-6 py-2 bg-gradient-to-r from-blue-600 to-blue-500 hover:from-blue-500 hover:to-blue-400 disabled:opacity-50 disabled:cursor-not-allowed text-white text-sm font-bold rounded-xl shadow-md transition-all active:scale-95", children: isPosting ? 'Gidiyor...' : 'Gönder' })] })] }), focusedPostId && (_jsxs("div", { className: "flex items-center justify-between bg-blue-600/10 border border-blue-600/20 p-5 rounded-3xl mb-6 animate-in fade-in zoom-in duration-500", children: [_jsxs("div", { className: "flex items-center gap-4", children: [_jsx("div", { className: "w-10 h-10 rounded-full bg-blue-600/20 flex items-center justify-center text-blue-600", 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("path", { d: "M15 3h6v6" }), _jsx("path", { d: "M10 14 21 3" }), _jsx("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" })] }) }), _jsxs("div", { children: [_jsx("h4", { className: "text-sm font-black text-armoyu-text uppercase tracking-tight", children: "Tekil G\u00F6nderi Modu" }), _jsx("p", { className: "text-xs text-armoyu-text-muted font-bold", children: "\u015Eu an sadece bu bildirime ait payla\u015F\u0131m\u0131 g\u00F6r\u00FCyorsunuz." })] })] }), _jsx("button", { onClick: () => router.push('/'), className: "px-5 py-2 bg-blue-600 text-white text-xs font-black rounded-xl hover:bg-blue-500 shadow-md transition-all active:scale-95 uppercase tracking-widest", children: "T\u00FCm Ak\u0131\u015Fa D\u00F6n" })] })),
|
|
97
|
+
}, placeholder: "Neler yap\u0131yorsun, d\u00FC\u015F\u00FCncelerini payla\u015F...", className: "w-full bg-black/5 dark:bg-white/5 border border-black/10 dark:border-white/10 hover:border-black/20 dark:hover:border-white/20 rounded-2xl px-5 py-3 text-sm text-armoyu-text placeholder-armoyu-text-muted focus:outline-none focus:border-blue-500 focus:ring-1 focus:ring-blue-500 transition-all font-medium resize-none min-h-[44px] max-h-[300px] overflow-y-auto" }), selectedMedia.length > 0 && (_jsx("div", { className: "flex gap-2.5 overflow-x-auto pb-2 scrollbar-hide animate-in fade-in slide-in-from-left-4 duration-300", children: selectedMedia.map((media, idx) => (_jsxs("div", { className: "relative group shrink-0", children: [media.type === 'video' ? (_jsxs("div", { className: "w-24 h-24 rounded-2xl bg-black/20 flex items-center justify-center border border-white/10 overflow-hidden", children: [_jsx("video", { src: media.url, className: "w-full h-full object-cover opacity-60" }), _jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "white", children: _jsx("polygon", { points: "5 3 19 12 5 21 5 3" }) }) })] })) : (_jsx("img", { src: media.url, alt: "Preview", className: "w-24 h-24 rounded-2xl object-cover border border-white/10 shadow-md group-hover:scale-105 transition-transform" })), _jsx("button", { onClick: () => setSelectedMedia(prev => prev.filter((_, i) => i !== idx)), className: "absolute -top-1.5 -right-1.5 w-6 h-6 bg-red-500 text-white rounded-full flex items-center justify-center shadow-lg hover:bg-red-600 transition-colors z-10", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), _jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] }) })] }, idx))) }))] })] }), _jsxs("div", { className: "flex justify-between items-center mt-3 pl-16", children: [_jsxs("div", { className: "flex gap-2", children: [_jsx("button", { onClick: () => setIsCloudModalOpen(true), className: "flex items-center justify-center p-2.5 text-blue-500 hover:bg-blue-500/10 rounded-xl transition-colors shrink-0", title: "Cloud Medya Galerisini A\u00E7", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "currentColor", stroke: "currentColor", strokeWidth: "1", strokeLinecap: "round", strokeLinejoin: "round", className: "text-blue-500", children: _jsx("path", { d: "M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z" }) }) }), _jsx("button", { className: "p-2 text-armoyu-text-muted hover:text-blue-500 hover:bg-blue-500/10 rounded-full transition-colors", 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", strokeLinecap: "round", strokeLinejoin: "round", 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" })] }) }), _jsx("button", { className: "p-2 text-armoyu-text-muted hover:text-emerald-500 hover:bg-emerald-500/10 rounded-full transition-colors", 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", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("circle", { cx: "12", cy: "12", r: "10" }), _jsx("path", { d: "M8 14s1.5 2 4 2 4-2 4-2" }), _jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }), _jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })] }) })] }), _jsx("button", { onClick: handleCreatePost, disabled: isPosting || (!postContent.trim() && selectedMedia.length === 0), className: "px-6 py-2 bg-gradient-to-r from-blue-600 to-blue-500 hover:from-blue-500 hover:to-blue-400 disabled:opacity-50 disabled:cursor-not-allowed text-white text-sm font-bold rounded-xl shadow-md transition-all active:scale-95", children: isPosting ? 'Gidiyor...' : 'Gönder' })] })] }), focusedPostId && (_jsxs("div", { className: "flex items-center justify-between bg-blue-600/10 border border-blue-600/20 p-5 rounded-3xl mb-6 animate-in fade-in zoom-in duration-500", children: [_jsxs("div", { className: "flex items-center gap-4", children: [_jsx("div", { className: "w-10 h-10 rounded-full bg-blue-600/20 flex items-center justify-center text-blue-600", 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("path", { d: "M15 3h6v6" }), _jsx("path", { d: "M10 14 21 3" }), _jsx("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" })] }) }), _jsxs("div", { children: [_jsx("h4", { className: "text-sm font-black text-armoyu-text uppercase tracking-tight", children: "Tekil G\u00F6nderi Modu" }), _jsx("p", { className: "text-xs text-armoyu-text-muted font-bold", children: "\u015Eu an sadece bu bildirime ait payla\u015F\u0131m\u0131 g\u00F6r\u00FCyorsunuz." })] })] }), _jsx("button", { onClick: () => router.push('/'), className: "px-5 py-2 bg-blue-600 text-white text-xs font-black rounded-xl hover:bg-blue-500 shadow-md transition-all active:scale-95 uppercase tracking-widest", children: "T\u00FCm Ak\u0131\u015Fa D\u00F6n" })] })), _jsxs("div", { className: "space-y-6", children: [selectedTag && (_jsxs("div", { className: "flex items-center justify-between bg-blue-500/10 border border-blue-500/20 p-4 rounded-2xl animate-in fade-in slide-in-from-left-4 duration-300", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "text-sm font-bold text-armoyu-text-muted", children: "Filtrelenen Etiket:" }), _jsx("span", { className: "text-sm font-black text-blue-500", children: selectedTag })] }), _jsx("button", { onClick: () => { setSelectedTag(null); feedRef.current?.reset(); }, className: "text-xs font-bold text-red-500 hover:underline", children: "Filtreyi Temizle" })] })), _jsx(SocialFeed, { ref: feedRef, category: selectedTag ? 'tag' : (focusedPostId ? 'post' : undefined), categoryDetail: selectedTag || focusedPostId || undefined, live: true })] })] }), _jsxs("div", { className: "hidden lg:flex w-[320px] flex-col gap-6", children: [_jsxs("div", { className: "glass-panel p-6 rounded-3xl border border-armoyu-card-border bg-armoyu-card-bg group overflow-hidden relative", children: [_jsx("div", { className: "absolute -top-10 -right-10 w-32 h-32 bg-blue-500/5 rounded-full blur-3xl group-hover:bg-blue-500/10 transition-all duration-700" }), _jsxs("div", { className: "relative z-10", children: [_jsxs("h3", { className: "font-extrabold text-armoyu-text text-xl tracking-tight mb-6", children: ["Ho\u015F Geldin, ", _jsx("span", { className: "text-blue-500", children: user?.displayName?.split(' ')[0] })] }), (() => {
|
|
222
98
|
const steps = [
|
|
223
99
|
{ id: 'avatar', label: 'Profil Fotoğrafı Ekle', completed: !!user?.avatar && !user.avatar.includes('seed=Armoyu'), icon: '🖼️' },
|
|
224
100
|
{ id: 'bio', label: 'Hakkında Yazısı Yaz', completed: !!user?.bio && user.bio.length > 5, icon: '✍️' },
|
|
@@ -241,7 +117,7 @@ export function SocialLayout() {
|
|
|
241
117
|
router.push('/ayarlar/profil');
|
|
242
118
|
}
|
|
243
119
|
}, className: "w-full flex items-center gap-4 p-4 bg-black/20 hover:bg-blue-600 border border-white/5 rounded-2xl group/task transition-all active:scale-95 shadow-xl text-left", children: [_jsx("div", { className: "w-12 h-12 rounded-xl bg-white/5 flex items-center justify-center text-2xl group-hover/task:bg-white/20 transition-colors", children: nextStep?.icon }), _jsxs("div", { className: "flex-1", children: [_jsx("h4", { className: "text-sm font-black text-armoyu-text group-hover/task:text-white uppercase tracking-tight", children: nextStep?.label }), _jsx("p", { className: "text-[10px] font-bold text-armoyu-text-muted group-hover/task:text-white/80 uppercase tracking-widest mt-1 italic", children: "Hemen Tamamla \u2192" })] })] })] }));
|
|
244
|
-
})()] })] }), (user?.groups?.length || 0) > 0 && (_jsxs("div", { className: "glass-panel p-6 rounded-3xl border border-armoyu-card-border bg-armoyu-card-bg transition-all animate-in fade-in zoom-in duration-500", children: [_jsxs("div", { className: "flex items-center justify-between mb-5", children: [_jsx("h3", { className: "font-extrabold text-armoyu-text text-lg", children: "Gruplar\u0131m" }), _jsxs("span", { className: "bg-blue-500/10 text-blue-500 text-[10px] font-black px-2 py-0.5 rounded-md uppercase", children: [(user?.groups?.length || 0), " Grup"] })] }), _jsx("div", { className: "space-y-4", children: user?.groups?.map((group, idx) => (_jsxs(Link, { href: `/gruplar/${group.name.toLowerCase().replace(/\s+/g, '-')}`, className: "flex items-center gap-3 group cursor-pointer p-1 rounded-xl hover:bg-black/5 dark:hover:bg-white/5 transition-colors", children: [_jsx("img", { src: group.logo, alt: group.name, className: "w-10 h-10 rounded-xl object-cover border border-black/5 shadow-sm group-hover:scale-105 transition-transform" }), _jsxs("div", { className: "flex-1 min-w-0", children: [_jsx("h4", { className: "text-sm font-bold text-armoyu-text truncate group-hover:text-blue-500 transition-colors uppercase tracking-tight", children: group.name }), _jsxs("div", { className: "flex items-center gap-1.5 mt-0.5", children: [_jsx("span", { className: "w-1.5 h-1.5 rounded-full bg-emerald-500 animate-pulse" }), _jsxs("span", { className: "text-[10px] text-armoyu-text-muted truncate opacity-80 uppercase font-bold tracking-widest", children: [group.shortName, " \u2022 AKT\u0130F"] })] })] })] }, idx))) })] })), _jsxs("div", { className: "glass-panel p-6 rounded-3xl border border-armoyu-card-border bg-armoyu-card-bg", children: [_jsx("h3", { className: "font-extrabold text-armoyu-text mb-5 text-lg", children: "G\u00FCndemdeki Etiketler" }), _jsxs("div", { className: "space-y-4", children: [trendingTags.map((tagObj, idx) => (_jsxs("div", { className: `flex justify-between items-center cursor-pointer group p-2 rounded-xl transition-all ${selectedTag === tagObj.name ? 'bg-blue-500/10' : 'hover:bg-black/5 dark:hover:bg-white/5'}`, onClick: () => { setSelectedTag(tagObj.name === selectedTag ? null : tagObj.name);
|
|
120
|
+
})()] })] }), (user?.groups?.length || 0) > 0 && (_jsxs("div", { className: "glass-panel p-6 rounded-3xl border border-armoyu-card-border bg-armoyu-card-bg transition-all animate-in fade-in zoom-in duration-500", children: [_jsxs("div", { className: "flex items-center justify-between mb-5", children: [_jsx("h3", { className: "font-extrabold text-armoyu-text text-lg", children: "Gruplar\u0131m" }), _jsxs("span", { className: "bg-blue-500/10 text-blue-500 text-[10px] font-black px-2 py-0.5 rounded-md uppercase", children: [(user?.groups?.length || 0), " Grup"] })] }), _jsx("div", { className: "space-y-4", children: user?.groups?.map((group, idx) => (_jsxs(Link, { href: `/gruplar/${group.name.toLowerCase().replace(/\s+/g, '-')}`, className: "flex items-center gap-3 group cursor-pointer p-1 rounded-xl hover:bg-black/5 dark:hover:bg-white/5 transition-colors", children: [_jsx("img", { src: group.logo, alt: group.name, className: "w-10 h-10 rounded-xl object-cover border border-black/5 shadow-sm group-hover:scale-105 transition-transform" }), _jsxs("div", { className: "flex-1 min-w-0", children: [_jsx("h4", { className: "text-sm font-bold text-armoyu-text truncate group-hover:text-blue-500 transition-colors uppercase tracking-tight", children: group.name }), _jsxs("div", { className: "flex items-center gap-1.5 mt-0.5", children: [_jsx("span", { className: "w-1.5 h-1.5 rounded-full bg-emerald-500 animate-pulse" }), _jsxs("span", { className: "text-[10px] text-armoyu-text-muted truncate opacity-80 uppercase font-bold tracking-widest", children: [group.shortName, " \u2022 AKT\u0130F"] })] })] })] }, idx))) })] })), _jsxs("div", { className: "glass-panel p-6 rounded-3xl border border-armoyu-card-border bg-armoyu-card-bg", children: [_jsx("h3", { className: "font-extrabold text-armoyu-text mb-5 text-lg", children: "G\u00FCndemdeki Etiketler" }), _jsxs("div", { className: "space-y-4", children: [trendingTags.map((tagObj, idx) => (_jsxs("div", { className: `flex justify-between items-center cursor-pointer group p-2 rounded-xl transition-all ${selectedTag === tagObj.name ? 'bg-blue-500/10' : 'hover:bg-black/5 dark:hover:bg-white/5'}`, onClick: () => { setSelectedTag(tagObj.name === selectedTag ? null : tagObj.name); feedRef.current?.reset(); }, children: [_jsxs("div", { children: [_jsx("span", { className: `block text-sm font-bold transition-colors ${selectedTag === tagObj.name ? 'text-blue-500' : 'text-armoyu-text-muted group-hover:text-blue-500'}`, children: tagObj.name }), _jsxs("span", { className: "block text-[11px] text-armoyu-text-muted opacity-70 mt-0.5", children: [tagObj.count, " G\u00F6nderi"] })] }), _jsx("button", { className: `text-xs border rounded-full w-7 h-7 flex items-center justify-center transition-colors ${selectedTag === tagObj.name ? 'bg-blue-500 border-blue-500 text-white' : 'bg-black/5 dark:bg-white/5 border-black/5 dark:border-transparent text-armoyu-text-muted group-hover:text-armoyu-text'}`, children: selectedTag === tagObj.name ? (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", children: _jsx("polyline", { points: "20 6 9 17 4 12" }) })) : (_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", children: [_jsx("circle", { cx: "12", cy: "12", r: "1" }), _jsx("circle", { cx: "19", cy: "12", r: "1" }), _jsx("circle", { cx: "5", cy: "12", r: "1" })] })) })] }, idx))), _jsx("button", { className: "w-full mt-2 pt-4 border-t border-armoyu-card-border text-blue-500 hover:text-blue-600 dark:hover:text-blue-400 text-sm font-bold flex justify-center transition-colors", children: "T\u00FCm\u00FCn\u00FC G\u00F6r" })] })] }), _jsxs("div", { className: "glass-panel p-6 rounded-3xl border border-armoyu-card-border bg-armoyu-card-bg", children: [_jsxs("div", { className: "flex items-center justify-between mb-5", children: [_jsx("h3", { className: "font-extrabold text-armoyu-text text-lg", children: "Pop\u00FCler Gruplar" }), _jsx(Link, { href: "/gruplar", className: "text-xs font-bold text-blue-500 hover:underline", children: "T\u00FCm\u00FC" })] }), _jsxs("div", { className: "space-y-4", children: [groupList.slice(0, 4).map((group, idx) => (_jsxs(Link, { href: `/gruplar/${group.name.toLowerCase().replace(/\s+/g, '-')}`, className: "flex items-center gap-3 group cursor-pointer p-1 rounded-xl hover:bg-black/5 dark:hover:bg-white/5 transition-colors", children: [_jsxs("div", { className: "relative", children: [_jsx("img", { src: group.logo, alt: group.name, className: "w-10 h-10 rounded-xl object-cover border border-black/5 shadow-sm" }), group.recruitment === 'Açık' && (_jsx("div", { className: "absolute -bottom-1 -right-1 w-3 h-3 bg-emerald-500 rounded-full border-2 border-armoyu-card-bg shadow-sm", title: "Al\u0131mlar A\u00E7\u0131k" }))] }), _jsxs("div", { className: "flex-1 min-w-0", children: [_jsx("h4", { className: "text-sm font-bold text-armoyu-text truncate group-hover:text-blue-500 transition-colors uppercase tracking-tight", children: group.name }), _jsxs("p", { className: "text-[10px] text-armoyu-text-muted truncate opacity-80", children: [group.category, " \u2022 ", group.recruitment === 'Açık' ? 'Katıl' : 'Kapalı'] })] })] }, idx))), _jsx("button", { className: "w-full py-3 bg-black/5 dark:bg-white/5 border border-black/5 dark:border-white/5 hover:border-blue-500/30 hover:bg-blue-500/5 text-armoyu-text text-xs font-bold rounded-xl transition-all active:scale-[0.98]", children: "Yeni Grup Olu\u015Ftur" })] })] })] }), _jsx(CloudStorageModal, { isOpen: isCloudModalOpen, onClose: () => setIsCloudModalOpen(false), onSelectMedia: (url, type) => {
|
|
245
121
|
setSelectedMedia(prev => [...prev, { url, type }]);
|
|
246
122
|
setIsCloudModalOpen(false);
|
|
247
123
|
} }), isBioModalOpen && (_jsxs("div", { className: "fixed inset-0 z-[200] flex items-center justify-center p-6", children: [_jsx("div", { className: "absolute inset-0 bg-black/60 backdrop-blur-md", onClick: () => setIsBioModalOpen(false) }), _jsxs("div", { className: "bg-armoyu-card-bg border border-armoyu-card-border rounded-[40px] w-full max-w-lg relative z-10 shadow-2xl animate-in zoom-in-95 duration-300 overflow-hidden", children: [_jsxs("div", { className: "p-8 border-b border-armoyu-card-border flex items-center justify-between bg-black/5", children: [_jsxs("div", { className: "flex items-center gap-4", children: [_jsx("div", { className: "w-12 h-12 rounded-2xl bg-blue-500/10 flex items-center justify-center text-blue-500 text-2xl", children: "\u270D\uFE0F" }), _jsxs("div", { children: [_jsx("h3", { className: "text-xl font-black text-armoyu-text uppercase tracking-tight italic", children: "Hakk\u0131nda Yaz\u0131s\u0131 Yaz" }), _jsx("p", { className: "text-xs font-medium text-armoyu-text-muted", children: "Profilinde kendini ifade et." })] })] }), _jsx("button", { onClick: () => setIsBioModalOpen(false), className: "p-2 text-armoyu-text-muted hover:text-armoyu-text bg-black/10 rounded-xl transition-all", 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", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), _jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] }) })] }), _jsxs("div", { className: "p-8 space-y-6", children: [_jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-widest ml-4", children: "SEN\u0130 TANIYALIM" }), _jsx("textarea", { className: "w-full bg-black/10 border border-armoyu-card-border rounded-3xl px-6 py-5 text-sm font-bold text-armoyu-text focus:outline-none focus:border-blue-500 transition-all min-h-[150px] resize-none", placeholder: "\u00D6rne\u011Fin: Merhaba! Ben bir ARMOYU \u00FCyesiyim ve oyun geli\u015Ftirmeyi seviyorum...", value: tempBio, onChange: (e) => setTempBio(e.target.value), autoFocus: true })] }), _jsx("button", { onClick: handleBioSave, className: "w-full py-5 bg-blue-600 hover:bg-blue-500 text-white font-black rounded-[20px] text-xs uppercase tracking-widest shadow-xl shadow-blue-500/20 active:scale-95 transition-all flex items-center justify-center gap-2 italic", children: "B\u0130YOGRAF\u0130M\u0130 KAYDET" })] })] })] }))] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialLayout.js","sourceRoot":"","sources":["../../../../src/components/modules/social/SocialLayout.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,8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E,EACzF,KAAK,EAAE,OAAO,EACd,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAC3C,SAAS,SACT,IACE,EAEN,iBACE,OAAO,EAAE,aAAa,EACtB,SAAS,EAAC,4NAA4N,kDAG/N,IACL,IACF,IACF,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EconomyWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/social/widgets/EconomyWidget.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EconomyWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/social/widgets/EconomyWidget.tsx"],"names":[],"mappings":"AAMA,wBAAgB,aAAa,4CAuE5B"}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useEffect } from 'react';
|
|
4
|
+
import { useAuth } from '../../../../context/AuthContext';
|
|
4
5
|
import { useArmoyu } from '../../../../context/ArmoyuContext';
|
|
5
6
|
export function EconomyWidget() {
|
|
7
|
+
const { user: currentUser } = useAuth();
|
|
6
8
|
const { api } = useArmoyu();
|
|
7
9
|
const [loading, setLoading] = useState(true);
|
|
8
10
|
const [data, setData] = useState(null);
|
|
9
11
|
useEffect(() => {
|
|
10
12
|
async function fetchEconomy() {
|
|
13
|
+
if (!currentUser) {
|
|
14
|
+
setData(null);
|
|
15
|
+
setLoading(false);
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
11
18
|
setLoading(true);
|
|
12
19
|
try {
|
|
13
20
|
const stats = await api.siteInfo.getStatistics('ekonomi');
|
|
@@ -23,7 +30,7 @@ export function EconomyWidget() {
|
|
|
23
30
|
}
|
|
24
31
|
}
|
|
25
32
|
fetchEconomy();
|
|
26
|
-
}, [api]);
|
|
33
|
+
}, [api, currentUser]);
|
|
27
34
|
// Fallback data if API doesn't return anything yet or fails
|
|
28
35
|
const currencies = (data?.currencies && data.currencies.length > 0) ? data.currencies : [
|
|
29
36
|
{ code: 'USD', name: 'Dolar', source: 'Merkez Bankası', price: data?.usd || '32.45', trend: 'up', change: '+0.24%', color: 'emerald' },
|