@armoyu/ui 1.0.0 → 1.0.1
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.map +1 -1
- package/dist/app/layout.js +16 -13
- package/dist/app/layout.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.js +3 -3
- package/dist/components/RollingNumber.js.map +1 -1
- package/dist/components/Slider.d.ts +10 -10
- package/dist/components/Slider.js +35 -35
- package/dist/components/StatsGrid.d.ts +5 -5
- 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/auth/Dashboard.d.ts +1 -1
- package/dist/components/modules/auth/Dashboard.js +250 -250
- package/dist/components/modules/auth/MediaLightbox.d.ts +13 -13
- package/dist/components/modules/auth/MediaLightbox.js +46 -46
- package/dist/components/modules/auth/PostCard.d.ts +24 -24
- package/dist/components/modules/auth/PostCard.js +112 -112
- package/dist/components/modules/auth/PostInteractionsModal.d.ts +11 -11
- package/dist/components/modules/auth/PostInteractionsModal.js +12 -12
- package/dist/components/modules/auth/RepostModal.d.ts +21 -21
- package/dist/components/modules/auth/RepostModal.js +75 -75
- package/dist/components/modules/auth/SidebarLeft.d.ts +1 -1
- package/dist/components/modules/auth/SidebarLeft.js +40 -40
- package/dist/components/modules/auth/Stories.d.ts +1 -1
- package/dist/components/modules/auth/Stories.js +15 -15
- package/dist/components/modules/auth/StoryViewer.d.ts +9 -9
- package/dist/components/modules/auth/StoryViewer.js +47 -47
- package/dist/components/modules/chat/ChatContainer.d.ts +1 -1
- package/dist/components/modules/chat/ChatContainer.js +196 -196
- package/dist/components/modules/chat/ChatInput.d.ts +4 -4
- package/dist/components/modules/chat/ChatInput.js +30 -30
- package/dist/components/modules/chat/ChatList.d.ts +6 -6
- package/dist/components/modules/chat/ChatList.js +51 -51
- package/dist/components/modules/chat/ChatMessage.d.ts +11 -11
- package/dist/components/modules/chat/ChatMessage.js +6 -6
- package/dist/components/modules/chat/ChatNotes.d.ts +1 -1
- package/dist/components/modules/chat/ChatNotes.js +11 -11
- package/dist/components/modules/community/GroupHeader.d.ts +10 -10
- package/dist/components/modules/community/GroupHeader.js +17 -17
- package/dist/components/modules/community/GroupMenu.d.ts +9 -9
- package/dist/components/modules/community/GroupMenu.js +16 -16
- package/dist/components/modules/community/SchoolCard.d.ts +6 -6
- package/dist/components/modules/community/SchoolCard.js +7 -7
- package/dist/components/modules/community/SurveyCard.d.ts +6 -6
- package/dist/components/modules/community/SurveyCard.js +35 -35
- package/dist/components/modules/forum/ForumBoard.d.ts +16 -16
- package/dist/components/modules/forum/ForumBoard.js +6 -6
- package/dist/components/modules/forum/ForumPost.d.ts +13 -13
- package/dist/components/modules/forum/ForumPost.js +5 -5
- package/dist/components/modules/forum/NewTopicModal.d.ts +7 -7
- package/dist/components/modules/forum/NewTopicModal.js +26 -26
- package/dist/components/modules/forum/TopicItem.d.ts +15 -15
- package/dist/components/modules/forum/TopicItem.js +6 -6
- package/dist/components/modules/galleries/GalleryCard.d.ts +9 -9
- package/dist/components/modules/galleries/GalleryCard.js +5 -5
- package/dist/components/modules/giveaways/GiveawayCard.d.ts +9 -9
- package/dist/components/modules/giveaways/GiveawayCard.js +6 -6
- package/dist/components/modules/groups/ApplicationModal.d.ts +7 -7
- package/dist/components/modules/groups/ApplicationModal.js +27 -27
- package/dist/components/modules/groups/GroupCard.d.ts +12 -12
- package/dist/components/modules/groups/GroupCard.js +6 -6
- package/dist/components/modules/guest/Introduction.d.ts +1 -1
- package/dist/components/modules/guest/Introduction.js +13 -13
- package/dist/components/modules/magaza/BackToStore.d.ts +1 -1
- package/dist/components/modules/magaza/BackToStore.js +10 -10
- package/dist/components/modules/magaza/StoreHeader.d.ts +5 -5
- package/dist/components/modules/magaza/StoreHeader.js +8 -8
- package/dist/components/modules/news/NewsCard.d.ts +11 -11
- package/dist/components/modules/news/NewsCard.js +6 -6
- package/dist/components/modules/news/NewsComments.d.ts +1 -1
- package/dist/components/modules/news/NewsComments.js +52 -52
- package/dist/components/modules/profile/CloudStorageModal.d.ts +8 -8
- package/dist/components/modules/profile/CloudStorageModal.js +31 -31
- package/dist/components/modules/profile/EditProfileModal.d.ts +8 -8
- package/dist/components/modules/profile/EditProfileModal.js +27 -27
- package/dist/components/modules/profile/ProfileContent.d.ts +4 -4
- package/dist/components/modules/profile/ProfileContent.js +70 -70
- package/dist/components/modules/profile/ProfileHeader.d.ts +7 -7
- package/dist/components/modules/profile/ProfileHeader.js +19 -19
- package/dist/components/modules/profile/ProfileStats.js +1 -1
- package/dist/components/modules/profile/ProfileStats.js.map +1 -1
- package/dist/components/modules/profile/TeamSelectorModal.d.ts +10 -10
- package/dist/components/modules/profile/TeamSelectorModal.js +16 -16
- package/dist/components/modules/stations/StationCard.d.ts +2 -2
- package/dist/components/modules/stations/StationCard.js +25 -25
- package/dist/components/modules/stations/StationQRModal.d.ts +9 -9
- package/dist/components/modules/stations/StationQRModal.js +12 -12
- package/dist/components/shared/FloatingChatButton.d.ts +4 -4
- package/dist/components/shared/FloatingChatButton.js +20 -20
- package/dist/components/shared/Footer.d.ts +1 -1
- package/dist/components/shared/Footer.js +9 -9
- package/dist/components/shared/Header.d.ts +1 -1
- package/dist/components/shared/Header.js +97 -97
- package/dist/components/shared/LoginModal.d.ts +4 -4
- package/dist/components/shared/LoginModal.js +69 -69
- package/dist/components/shared/MainLayoutWrapper.d.ts +3 -3
- package/dist/components/shared/MainLayoutWrapper.js +7 -7
- package/dist/components/shared/PageWidth.d.ts +5 -5
- package/dist/components/shared/PageWidth.js +13 -13
- package/dist/context/AuthContext.d.ts +18 -18
- package/dist/context/AuthContext.js +74 -74
- package/dist/context/CartContext.d.ts +16 -16
- package/dist/context/CartContext.js +63 -63
- package/dist/context/ChatContext.d.ts +12 -12
- package/dist/context/ChatContext.js +17 -17
- package/dist/context/LayoutContext.d.ts +10 -10
- package/dist/context/LayoutContext.js +16 -16
- package/dist/context/SocketContext.d.ts +12 -12
- package/dist/context/SocketContext.js +30 -30
- package/dist/context/ThemeContext.d.ts +10 -10
- package/dist/context/ThemeContext.js +39 -39
- package/dist/index.d.ts +65 -65
- package/dist/index.js +80 -80
- package/dist/lib/constants/educationData.d.ts +7 -7
- 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/seedData.d.ts +164 -164
- package/dist/lib/constants/seedData.js +694 -694
- package/dist/lib/constants/stationData.d.ts +13 -13
- package/dist/lib/constants/stationData.js +166 -166
- package/dist/lib/constants/surveyData.d.ts +2 -2
- package/dist/lib/constants/surveyData.js +49 -49
- package/dist/lib/constants/teamData.d.ts +12 -12
- package/dist/lib/constants/teamData.js +65 -65
- package/dist/types/stats.d.ts +17 -17
- package/dist/types/stats.js +1 -1
- package/next.config.ts +13 -13
- package/package.json +45 -46
- package/postcss.config.js +6 -6
- package/src/app/layout.tsx +67 -64
- package/src/app/page.tsx +101 -101
- package/src/components/RollingNumber.tsx +3 -3
- package/src/components/modules/profile/ProfileStats.tsx +4 -4
- package/src/components/showcase/CommunityTab.tsx +22 -22
- package/src/components/showcase/CorporateTab.tsx +38 -38
- package/src/components/showcase/GeneralTab.tsx +41 -41
- package/src/components/showcase/MessagesTab.tsx +26 -26
- package/src/components/showcase/ProfileTab.tsx +20 -20
- package/src/components/showcase/ShopTab.tsx +24 -24
- package/src/components/showcase/SocialTab.tsx +28 -28
- package/src/globals.css +187 -187
- package/src/lib/utils/numberFormat.ts +16 -16
- package/src/lib/utils/odpUtils.ts +51 -51
- package/src/types/index.ts +1 -1
|
@@ -15,7 +15,7 @@ export function RollingNumber({ value, className = "" }: RollingNumberProps) {
|
|
|
15
15
|
}, [value]);
|
|
16
16
|
|
|
17
17
|
return (
|
|
18
|
-
<div className={`flex items-
|
|
18
|
+
<div className={`flex items-baseline overflow-hidden h-[1.2em] leading-none ${className}`}>
|
|
19
19
|
{digits.map((digit, idx) => (
|
|
20
20
|
<Digit key={`${idx}-${digit}`} char={digit} />
|
|
21
21
|
))}
|
|
@@ -34,11 +34,11 @@ function Digit({ char }: { char: string }) {
|
|
|
34
34
|
}, [char, isNumber]);
|
|
35
35
|
|
|
36
36
|
if (!isNumber) {
|
|
37
|
-
return <span className="inline-block transition-all duration-500">{char}</span>;
|
|
37
|
+
return <span className="inline-block transition-all duration-500 min-w-[0.2em] text-center">{char}</span>;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
return (
|
|
41
|
-
<div className="relative w-[0.
|
|
41
|
+
<div className="relative w-[0.65em] h-[1.2em] flex flex-col transition-transform duration-500 ease-out shrink-0"
|
|
42
42
|
style={{ transform: `translateY(-${offset}%)` }}>
|
|
43
43
|
{[0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((n) => (
|
|
44
44
|
<span key={n} className="h-[1.2em] flex items-center justify-center shrink-0">
|
|
@@ -21,28 +21,28 @@ export function ProfileStats() {
|
|
|
21
21
|
<div className="text-center md:text-left">
|
|
22
22
|
<div className="text-2xl font-black text-armoyu-text flex items-baseline">
|
|
23
23
|
<RollingNumber value={followers.value} />
|
|
24
|
-
<span className="text-
|
|
24
|
+
<span className="text-lg font-bold ml-1 text-armoyu-text/80">{followers.unit}</span>
|
|
25
25
|
</div>
|
|
26
26
|
<div className="text-xs font-bold text-armoyu-text-muted uppercase tracking-wider mt-1">Takipçi</div>
|
|
27
27
|
</div>
|
|
28
28
|
<div className="text-center md:text-left">
|
|
29
29
|
<div className="text-2xl font-black text-armoyu-text flex items-baseline">
|
|
30
30
|
<RollingNumber value={following.value} />
|
|
31
|
-
<span className="text-
|
|
31
|
+
<span className="text-lg font-bold ml-1 text-armoyu-text/80">{following.unit}</span>
|
|
32
32
|
</div>
|
|
33
33
|
<div className="text-xs font-bold text-armoyu-text-muted uppercase tracking-wider mt-1">Takip</div>
|
|
34
34
|
</div>
|
|
35
35
|
<div className="text-center md:text-left">
|
|
36
36
|
<div className="text-2xl font-black text-armoyu-text flex items-baseline">
|
|
37
37
|
<RollingNumber value={views.value} />
|
|
38
|
-
<span className="text-
|
|
38
|
+
<span className="text-lg font-bold ml-1 text-armoyu-text/80">{views.unit}</span>
|
|
39
39
|
</div>
|
|
40
40
|
<div className="text-xs font-bold text-armoyu-text-muted uppercase tracking-wider mt-1">Görüntülenme</div>
|
|
41
41
|
</div>
|
|
42
42
|
<div className="text-center md:text-left">
|
|
43
43
|
<div className="text-2xl font-black text-emerald-500 flex items-baseline">
|
|
44
44
|
<RollingNumber value={respect.value} />
|
|
45
|
-
<span className="text-
|
|
45
|
+
<span className="text-lg font-bold ml-1 text-emerald-500/80">{respect.unit}</span>
|
|
46
46
|
</div>
|
|
47
47
|
<div className="text-xs font-bold text-armoyu-text-muted uppercase tracking-wider mt-1">Saygı Puanı</div>
|
|
48
48
|
</div>
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
ForumBoard,
|
|
4
|
-
GroupCard,
|
|
5
|
-
groupList,
|
|
6
|
-
MOCK_FORUM_CATEGORIES
|
|
7
|
-
} from '../../index';
|
|
8
|
-
|
|
9
|
-
export function CommunityTab() {
|
|
10
|
-
return (
|
|
11
|
-
<div className="space-y-12">
|
|
12
|
-
<h3 className="text-2xl font-black italic uppercase tracking-tighter border-l-4 border-orange-500 pl-4">Topluluk & Forum</h3>
|
|
13
|
-
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
|
|
14
|
-
<div className="md:col-span-2">
|
|
15
|
-
<ForumBoard {...MOCK_FORUM_CATEGORIES[1].boards[0]} />
|
|
16
|
-
</div>
|
|
17
|
-
<GroupCard {...groupList[0]} />
|
|
18
|
-
<GroupCard {...groupList[1]} />
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
);
|
|
22
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
ForumBoard,
|
|
4
|
+
GroupCard,
|
|
5
|
+
groupList,
|
|
6
|
+
MOCK_FORUM_CATEGORIES
|
|
7
|
+
} from '../../index';
|
|
8
|
+
|
|
9
|
+
export function CommunityTab() {
|
|
10
|
+
return (
|
|
11
|
+
<div className="space-y-12">
|
|
12
|
+
<h3 className="text-2xl font-black italic uppercase tracking-tighter border-l-4 border-orange-500 pl-4">Topluluk & Forum</h3>
|
|
13
|
+
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
|
|
14
|
+
<div className="md:col-span-2">
|
|
15
|
+
<ForumBoard {...MOCK_FORUM_CATEGORIES[1].boards[0]} />
|
|
16
|
+
</div>
|
|
17
|
+
<GroupCard {...groupList[0]} />
|
|
18
|
+
<GroupCard {...groupList[1]} />
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
Header,
|
|
4
|
-
Footer,
|
|
5
|
-
ViewModeToggle
|
|
6
|
-
} from '../../index';
|
|
7
|
-
|
|
8
|
-
export function CorporateTab() {
|
|
9
|
-
return (
|
|
10
|
-
<div className="space-y-16">
|
|
11
|
-
<div className="space-y-6">
|
|
12
|
-
<div className="flex items-center justify-between">
|
|
13
|
-
<h3 className="text-2xl font-black italic uppercase tracking-tighter border-l-4 border-indigo-500 pl-4">Header Bileşeni</h3>
|
|
14
|
-
<span className="text-[10px] font-bold text-armoyu-text-muted uppercase italic bg-black/20 px-3 py-1 rounded-lg">Kütüphane Bileşeni Önizleme</span>
|
|
15
|
-
</div>
|
|
16
|
-
<div className="rounded-[32px] overflow-hidden border border-white/5 shadow-2xl relative">
|
|
17
|
-
<Header />
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
|
|
21
|
-
<div className="space-y-6">
|
|
22
|
-
<h3 className="text-2xl font-black italic uppercase tracking-tighter border-l-4 border-indigo-500 pl-4">Footer Bileşeni</h3>
|
|
23
|
-
<div className="rounded-[32px] overflow-hidden border border-white/5 shadow-2xl">
|
|
24
|
-
<Footer />
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
|
|
28
|
-
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 pt-8">
|
|
29
|
-
<div className="glass-panel p-8 rounded-[40px]">
|
|
30
|
-
<h4 className="text-[10px] font-black uppercase text-center mb-6 opacity-30 italic">Görünüm Seçici</h4>
|
|
31
|
-
<div className="flex justify-center">
|
|
32
|
-
<ViewModeToggle mode="grid" onChange={() => {}} />
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
);
|
|
38
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
Header,
|
|
4
|
+
Footer,
|
|
5
|
+
ViewModeToggle
|
|
6
|
+
} from '../../index';
|
|
7
|
+
|
|
8
|
+
export function CorporateTab() {
|
|
9
|
+
return (
|
|
10
|
+
<div className="space-y-16">
|
|
11
|
+
<div className="space-y-6">
|
|
12
|
+
<div className="flex items-center justify-between">
|
|
13
|
+
<h3 className="text-2xl font-black italic uppercase tracking-tighter border-l-4 border-indigo-500 pl-4">Header Bileşeni</h3>
|
|
14
|
+
<span className="text-[10px] font-bold text-armoyu-text-muted uppercase italic bg-black/20 px-3 py-1 rounded-lg">Kütüphane Bileşeni Önizleme</span>
|
|
15
|
+
</div>
|
|
16
|
+
<div className="rounded-[32px] overflow-hidden border border-white/5 shadow-2xl relative">
|
|
17
|
+
<Header />
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
<div className="space-y-6">
|
|
22
|
+
<h3 className="text-2xl font-black italic uppercase tracking-tighter border-l-4 border-indigo-500 pl-4">Footer Bileşeni</h3>
|
|
23
|
+
<div className="rounded-[32px] overflow-hidden border border-white/5 shadow-2xl">
|
|
24
|
+
<Footer />
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
|
|
28
|
+
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 pt-8">
|
|
29
|
+
<div className="glass-panel p-8 rounded-[40px]">
|
|
30
|
+
<h4 className="text-[10px] font-black uppercase text-center mb-6 opacity-30 italic">Görünüm Seçici</h4>
|
|
31
|
+
<div className="flex justify-center">
|
|
32
|
+
<ViewModeToggle mode="grid" onChange={() => {}} />
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
Button,
|
|
4
|
-
RollingNumber,
|
|
5
|
-
Slider,
|
|
6
|
-
StatsGrid,
|
|
7
|
-
mockGlobalStats
|
|
8
|
-
} from '../../index';
|
|
9
|
-
|
|
10
|
-
export function GeneralTab() {
|
|
11
|
-
return (
|
|
12
|
-
<div className="space-y-12">
|
|
13
|
-
<h3 className="text-2xl font-black italic uppercase tracking-tighter border-l-4 border-blue-500 pl-4">Temel Bileşenler</h3>
|
|
14
|
-
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
|
|
15
|
-
<div className="glass-panel p-8 rounded-[40px] space-y-6">
|
|
16
|
-
<h4 className="text-xs font-black uppercase tracking-widest text-armoyu-text-muted mb-4 opacity-50 italic">Butonlar</h4>
|
|
17
|
-
<div className="flex flex-wrap gap-4">
|
|
18
|
-
<Button>Normal Buton</Button>
|
|
19
|
-
<Button variant="ghost">Hayalet Buton</Button>
|
|
20
|
-
<Button className="bg-gradient-to-r from-blue-600 to-indigo-600">Premium Buton</Button>
|
|
21
|
-
<Button className="bg-emerald-500">Başarı</Button>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
<div className="glass-panel p-8 rounded-[40px] space-y-6">
|
|
25
|
-
<h4 className="text-xs font-black uppercase tracking-widest text-armoyu-text-muted mb-4 opacity-50 italic">Sayı Animasyonları</h4>
|
|
26
|
-
<div className="flex items-center gap-8">
|
|
27
|
-
<div className="text-4xl font-black text-blue-500 italic"><RollingNumber value="14.2" />B</div>
|
|
28
|
-
<div className="text-3xl font-black text-armoyu-text italic opacity-60"><RollingNumber value="1250" /></div>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
<div className="glass-panel p-8 rounded-[40px] space-y-6 md:col-span-2">
|
|
32
|
-
<h4 className="text-xs font-black uppercase tracking-widest text-armoyu-text-muted mb-4 opacity-50 italic">Slider / Carousel</h4>
|
|
33
|
-
<Slider />
|
|
34
|
-
</div>
|
|
35
|
-
<div className="md:col-span-2">
|
|
36
|
-
<StatsGrid stats={mockGlobalStats} />
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
);
|
|
41
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
Button,
|
|
4
|
+
RollingNumber,
|
|
5
|
+
Slider,
|
|
6
|
+
StatsGrid,
|
|
7
|
+
mockGlobalStats
|
|
8
|
+
} from '../../index';
|
|
9
|
+
|
|
10
|
+
export function GeneralTab() {
|
|
11
|
+
return (
|
|
12
|
+
<div className="space-y-12">
|
|
13
|
+
<h3 className="text-2xl font-black italic uppercase tracking-tighter border-l-4 border-blue-500 pl-4">Temel Bileşenler</h3>
|
|
14
|
+
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
|
|
15
|
+
<div className="glass-panel p-8 rounded-[40px] space-y-6">
|
|
16
|
+
<h4 className="text-xs font-black uppercase tracking-widest text-armoyu-text-muted mb-4 opacity-50 italic">Butonlar</h4>
|
|
17
|
+
<div className="flex flex-wrap gap-4">
|
|
18
|
+
<Button>Normal Buton</Button>
|
|
19
|
+
<Button variant="ghost">Hayalet Buton</Button>
|
|
20
|
+
<Button className="bg-gradient-to-r from-blue-600 to-indigo-600">Premium Buton</Button>
|
|
21
|
+
<Button className="bg-emerald-500">Başarı</Button>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
<div className="glass-panel p-8 rounded-[40px] space-y-6">
|
|
25
|
+
<h4 className="text-xs font-black uppercase tracking-widest text-armoyu-text-muted mb-4 opacity-50 italic">Sayı Animasyonları</h4>
|
|
26
|
+
<div className="flex items-center gap-8">
|
|
27
|
+
<div className="text-4xl font-black text-blue-500 italic"><RollingNumber value="14.2" />B</div>
|
|
28
|
+
<div className="text-3xl font-black text-armoyu-text italic opacity-60"><RollingNumber value="1250" /></div>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
<div className="glass-panel p-8 rounded-[40px] space-y-6 md:col-span-2">
|
|
32
|
+
<h4 className="text-xs font-black uppercase tracking-widest text-armoyu-text-muted mb-4 opacity-50 italic">Slider / Carousel</h4>
|
|
33
|
+
<Slider />
|
|
34
|
+
</div>
|
|
35
|
+
<div className="md:col-span-2">
|
|
36
|
+
<StatsGrid stats={mockGlobalStats} />
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
);
|
|
41
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
ChatNotes,
|
|
4
|
-
ChatList,
|
|
5
|
-
ChatContainer,
|
|
6
|
-
MOCK_SESSION
|
|
7
|
-
} from '../../index';
|
|
8
|
-
|
|
9
|
-
export function MessagesTab() {
|
|
10
|
-
return (
|
|
11
|
-
<div className="space-y-12">
|
|
12
|
-
<h3 className="text-2xl font-black italic uppercase tracking-tighter border-l-4 border-emerald-500 pl-4">Mesajlaşma Sistemi</h3>
|
|
13
|
-
<div className="grid grid-cols-1 lg:grid-cols-12 gap-8 h-[700px]">
|
|
14
|
-
<div className="lg:col-span-4 glass-panel rounded-[40px] overflow-hidden flex flex-col">
|
|
15
|
-
<ChatNotes />
|
|
16
|
-
<div className="flex-1 overflow-hidden p-2">
|
|
17
|
-
<ChatList contacts={MOCK_SESSION.chatList} activeId="c1" onSelect={() => {}} />
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
<div className="lg:col-span-8 glass-panel rounded-[40px] overflow-hidden">
|
|
21
|
-
<ChatContainer />
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
);
|
|
26
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
ChatNotes,
|
|
4
|
+
ChatList,
|
|
5
|
+
ChatContainer,
|
|
6
|
+
MOCK_SESSION
|
|
7
|
+
} from '../../index';
|
|
8
|
+
|
|
9
|
+
export function MessagesTab() {
|
|
10
|
+
return (
|
|
11
|
+
<div className="space-y-12">
|
|
12
|
+
<h3 className="text-2xl font-black italic uppercase tracking-tighter border-l-4 border-emerald-500 pl-4">Mesajlaşma Sistemi</h3>
|
|
13
|
+
<div className="grid grid-cols-1 lg:grid-cols-12 gap-8 h-[700px]">
|
|
14
|
+
<div className="lg:col-span-4 glass-panel rounded-[40px] overflow-hidden flex flex-col">
|
|
15
|
+
<ChatNotes />
|
|
16
|
+
<div className="flex-1 overflow-hidden p-2">
|
|
17
|
+
<ChatList contacts={MOCK_SESSION.chatList} activeId="c1" onSelect={() => {}} />
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
<div className="lg:col-span-8 glass-panel rounded-[40px] overflow-hidden">
|
|
21
|
+
<ChatContainer />
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
ProfileHeader,
|
|
4
|
-
ProfileStats,
|
|
5
|
-
ProfileContent,
|
|
6
|
-
userList
|
|
7
|
-
} from '../../index';
|
|
8
|
-
|
|
9
|
-
export function ProfileTab() {
|
|
10
|
-
const me = userList[0];
|
|
11
|
-
|
|
12
|
-
return (
|
|
13
|
-
<div className="space-y-12">
|
|
14
|
-
<h3 className="text-2xl font-black italic uppercase tracking-tighter border-l-4 border-pink-500 pl-4">Kullanıcı Profili</h3>
|
|
15
|
-
<ProfileHeader user={me} isOwnProfile={true} />
|
|
16
|
-
<ProfileStats />
|
|
17
|
-
<ProfileContent user={me} />
|
|
18
|
-
</div>
|
|
19
|
-
);
|
|
20
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
ProfileHeader,
|
|
4
|
+
ProfileStats,
|
|
5
|
+
ProfileContent,
|
|
6
|
+
userList
|
|
7
|
+
} from '../../index';
|
|
8
|
+
|
|
9
|
+
export function ProfileTab() {
|
|
10
|
+
const me = userList[0];
|
|
11
|
+
|
|
12
|
+
return (
|
|
13
|
+
<div className="space-y-12">
|
|
14
|
+
<h3 className="text-2xl font-black italic uppercase tracking-tighter border-l-4 border-pink-500 pl-4">Kullanıcı Profili</h3>
|
|
15
|
+
<ProfileHeader user={me} isOwnProfile={true} />
|
|
16
|
+
<ProfileStats />
|
|
17
|
+
<ProfileContent user={me} />
|
|
18
|
+
</div>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
StoreHeader,
|
|
4
|
-
NewsCard,
|
|
5
|
-
newsList
|
|
6
|
-
} from '../../index';
|
|
7
|
-
|
|
8
|
-
export function ShopTab() {
|
|
9
|
-
return (
|
|
10
|
-
<div className="space-y-12">
|
|
11
|
-
<h3 className="text-2xl font-black italic uppercase tracking-tighter border-l-4 border-yellow-500 pl-4">Mağaza & İçerik</h3>
|
|
12
|
-
<div className="space-y-8">
|
|
13
|
-
<div className="glass-panel p-6 rounded-[32px]">
|
|
14
|
-
<StoreHeader searchQuery="" setSearchQuery={() => {}} />
|
|
15
|
-
</div>
|
|
16
|
-
<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
|
|
17
|
-
{newsList.map(news => (
|
|
18
|
-
<NewsCard key={news.slug} {...news} />
|
|
19
|
-
))}
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
);
|
|
24
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
StoreHeader,
|
|
4
|
+
NewsCard,
|
|
5
|
+
newsList
|
|
6
|
+
} from '../../index';
|
|
7
|
+
|
|
8
|
+
export function ShopTab() {
|
|
9
|
+
return (
|
|
10
|
+
<div className="space-y-12">
|
|
11
|
+
<h3 className="text-2xl font-black italic uppercase tracking-tighter border-l-4 border-yellow-500 pl-4">Mağaza & İçerik</h3>
|
|
12
|
+
<div className="space-y-8">
|
|
13
|
+
<div className="glass-panel p-6 rounded-[32px]">
|
|
14
|
+
<StoreHeader searchQuery="" setSearchQuery={() => {}} />
|
|
15
|
+
</div>
|
|
16
|
+
<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
|
|
17
|
+
{newsList.map(news => (
|
|
18
|
+
<NewsCard key={news.slug} {...news} />
|
|
19
|
+
))}
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
AuthSidebarLeft,
|
|
4
|
-
Stories,
|
|
5
|
-
PostCard,
|
|
6
|
-
postList
|
|
7
|
-
} from '../../index';
|
|
8
|
-
|
|
9
|
-
export function SocialTab() {
|
|
10
|
-
const samplePosts = postList.slice(0, 3);
|
|
11
|
-
|
|
12
|
-
return (
|
|
13
|
-
<div className="space-y-12">
|
|
14
|
-
<h3 className="text-2xl font-black italic uppercase tracking-tighter border-l-4 border-purple-500 pl-4">Sosyal Modüller</h3>
|
|
15
|
-
<div className="grid grid-cols-1 lg:grid-cols-12 gap-8">
|
|
16
|
-
<aside className="lg:col-span-3">
|
|
17
|
-
<AuthSidebarLeft />
|
|
18
|
-
</aside>
|
|
19
|
-
<div className="lg:col-span-9 space-y-8">
|
|
20
|
-
<Stories />
|
|
21
|
-
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
|
22
|
-
{samplePosts.map(post => <PostCard key={post.id} {...post} />)}
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
);
|
|
28
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
AuthSidebarLeft,
|
|
4
|
+
Stories,
|
|
5
|
+
PostCard,
|
|
6
|
+
postList
|
|
7
|
+
} from '../../index';
|
|
8
|
+
|
|
9
|
+
export function SocialTab() {
|
|
10
|
+
const samplePosts = postList.slice(0, 3);
|
|
11
|
+
|
|
12
|
+
return (
|
|
13
|
+
<div className="space-y-12">
|
|
14
|
+
<h3 className="text-2xl font-black italic uppercase tracking-tighter border-l-4 border-purple-500 pl-4">Sosyal Modüller</h3>
|
|
15
|
+
<div className="grid grid-cols-1 lg:grid-cols-12 gap-8">
|
|
16
|
+
<aside className="lg:col-span-3">
|
|
17
|
+
<AuthSidebarLeft />
|
|
18
|
+
</aside>
|
|
19
|
+
<div className="lg:col-span-9 space-y-8">
|
|
20
|
+
<Stories />
|
|
21
|
+
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
|
22
|
+
{samplePosts.map(post => <PostCard key={post.id} {...post} />)}
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
);
|
|
28
|
+
}
|