@armoyu/ui 1.0.2 → 1.0.5
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 +6 -0
- package/dist/app/Providers.d.ts.map +1 -0
- package/dist/app/Providers.js +37 -0
- package/dist/app/Providers.js.map +1 -0
- package/dist/app/api/proxy/[...path]/route.js +10 -2
- package/dist/app/api/proxy/[...path]/route.js.map +1 -1
- package/dist/app/layout.d.ts.map +1 -1
- package/dist/app/layout.js +15 -19
- package/dist/app/layout.js.map +1 -1
- package/dist/app/page.d.ts.map +1 -1
- package/dist/app/page.js +4 -1
- package/dist/app/page.js.map +1 -1
- package/dist/components/modules/auth/PostCard.d.ts +2 -1
- package/dist/components/modules/auth/PostCard.d.ts.map +1 -1
- package/dist/components/modules/auth/PostCard.js +115 -112
- package/dist/components/modules/auth/PostCard.js.map +1 -1
- package/dist/components/modules/auth/SidebarLeft.d.ts.map +1 -1
- package/dist/components/modules/auth/SidebarLeft.js +8 -40
- package/dist/components/modules/auth/SidebarLeft.js.map +1 -1
- package/dist/components/modules/auth/widgets/EconomyWidget.d.ts +2 -0
- package/dist/components/modules/auth/widgets/EconomyWidget.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/EconomyWidget.js +38 -0
- package/dist/components/modules/auth/widgets/EconomyWidget.js.map +1 -0
- package/dist/components/modules/auth/widgets/LeagueWidget.d.ts +2 -0
- package/dist/components/modules/auth/widgets/LeagueWidget.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/LeagueWidget.js +36 -0
- package/dist/components/modules/auth/widgets/LeagueWidget.js.map +1 -0
- package/dist/components/modules/auth/widgets/MinecraftWidget.d.ts +2 -0
- package/dist/components/modules/auth/widgets/MinecraftWidget.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/MinecraftWidget.js +36 -0
- package/dist/components/modules/auth/widgets/MinecraftWidget.js.map +1 -0
- package/dist/components/modules/auth/widgets/RankingWidget.d.ts +5 -0
- package/dist/components/modules/auth/widgets/RankingWidget.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/RankingWidget.js +79 -0
- package/dist/components/modules/auth/widgets/RankingWidget.js.map +1 -0
- package/dist/components/modules/community/GroupProfileContent.d.ts +6 -0
- package/dist/components/modules/community/GroupProfileContent.d.ts.map +1 -0
- package/dist/components/modules/community/GroupProfileContent.js +103 -0
- package/dist/components/modules/community/GroupProfileContent.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts +6 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.js +6 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupEventsList.d.ts +8 -0
- package/dist/components/modules/community/widgets/GroupEventsList.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupEventsList.js +33 -0
- package/dist/components/modules/community/widgets/GroupEventsList.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts +9 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.js +7 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts +6 -0
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupPermissions.js +7 -0
- package/dist/components/modules/community/widgets/GroupPermissions.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts +11 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.js +11 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts +7 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.js +7 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.js.map +1 -0
- package/dist/components/modules/forum/ForumBoard.d.ts +16 -16
- package/dist/components/modules/forum/ForumBoard.js +6 -6
- package/dist/components/modules/forum/ForumBoard.js.map +1 -1
- package/dist/components/modules/forum/TopicItem.d.ts +15 -15
- package/dist/components/modules/forum/TopicItem.js +6 -6
- package/dist/components/modules/forum/TopicItem.js.map +1 -1
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts +6 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.js +7 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts +6 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +6 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts +2 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.js +6 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts +8 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +6 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts +2 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +6 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts +7 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +6 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +1 -0
- package/dist/components/modules/magaza/widgets/StoreProductGrid.d.ts +7 -0
- package/dist/components/modules/magaza/widgets/StoreProductGrid.d.ts.map +1 -0
- package/dist/components/modules/magaza/widgets/StoreProductGrid.js +13 -0
- package/dist/components/modules/magaza/widgets/StoreProductGrid.js.map +1 -0
- package/dist/components/modules/magaza/widgets/StoreSidebar.d.ts +8 -0
- package/dist/components/modules/magaza/widgets/StoreSidebar.d.ts.map +1 -0
- package/dist/components/modules/magaza/widgets/StoreSidebar.js +8 -0
- package/dist/components/modules/magaza/widgets/StoreSidebar.js.map +1 -0
- package/dist/components/modules/magaza/widgets/StoreTrustBadges.d.ts +2 -0
- package/dist/components/modules/magaza/widgets/StoreTrustBadges.d.ts.map +1 -0
- package/dist/components/modules/magaza/widgets/StoreTrustBadges.js +6 -0
- package/dist/components/modules/magaza/widgets/StoreTrustBadges.js.map +1 -0
- package/dist/components/modules/profile/ProfileContent.d.ts.map +1 -1
- package/dist/components/modules/profile/ProfileContent.js +116 -70
- package/dist/components/modules/profile/ProfileContent.js.map +1 -1
- package/dist/components/modules/profile/ProfileHeader.js +19 -19
- package/dist/components/modules/profile/ProfileHeader.js.map +1 -1
- package/dist/components/modules/profile/ProfileSidebar.d.ts +11 -0
- package/dist/components/modules/profile/ProfileSidebar.d.ts.map +1 -0
- package/dist/components/modules/profile/ProfileSidebar.js +9 -0
- package/dist/components/modules/profile/ProfileSidebar.js.map +1 -0
- package/dist/components/modules/profile/ProfileStats.d.ts +6 -1
- package/dist/components/modules/profile/ProfileStats.d.ts.map +1 -1
- package/dist/components/modules/profile/ProfileStats.js +19 -14
- package/dist/components/modules/profile/ProfileStats.js.map +1 -1
- package/dist/components/modules/profile/ProfileTabsArea.d.ts +14 -0
- package/dist/components/modules/profile/ProfileTabsArea.d.ts.map +1 -0
- package/dist/components/modules/profile/ProfileTabsArea.js +59 -0
- package/dist/components/modules/profile/ProfileTabsArea.js.map +1 -0
- package/dist/components/modules/profile/tabs/AboutTab.d.ts +10 -0
- package/dist/components/modules/profile/tabs/AboutTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/AboutTab.js +9 -0
- package/dist/components/modules/profile/tabs/AboutTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/CareerTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/CareerTab.js +46 -0
- package/dist/components/modules/profile/tabs/CareerTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts +10 -0
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/FriendsTab.js +8 -0
- package/dist/components/modules/profile/tabs/FriendsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/GamesTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/GamesTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/GamesTab.js +37 -0
- package/dist/components/modules/profile/tabs/GamesTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts +6 -0
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/GroupsTab.js +9 -0
- package/dist/components/modules/profile/tabs/GroupsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/PostsTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/PostsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/PostsTab.js +92 -0
- package/dist/components/modules/profile/tabs/PostsTab.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts +2 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +6 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts +6 -0
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js +6 -0
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts +8 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +12 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +1 -0
- package/dist/components/shared/DevTools.d.ts +2 -0
- package/dist/components/shared/DevTools.d.ts.map +1 -0
- package/dist/components/shared/DevTools.js +39 -0
- package/dist/components/shared/DevTools.js.map +1 -0
- package/dist/components/shared/Header.d.ts.map +1 -1
- package/dist/components/shared/Header.js +108 -97
- package/dist/components/shared/Header.js.map +1 -1
- package/dist/components/showcase/GroupTab.d.ts +2 -0
- package/dist/components/showcase/GroupTab.d.ts.map +1 -0
- package/dist/components/showcase/GroupTab.js +24 -0
- package/dist/components/showcase/GroupTab.js.map +1 -0
- package/dist/components/showcase/ProfileTab.d.ts.map +1 -1
- package/dist/components/showcase/ProfileTab.js +43 -3
- package/dist/components/showcase/ProfileTab.js.map +1 -1
- package/dist/components/showcase/SocialTab.d.ts.map +1 -1
- package/dist/components/showcase/SocialTab.js +79 -27
- package/dist/components/showcase/SocialTab.js.map +1 -1
- package/dist/context/ArmoyuContext.d.ts +42 -0
- package/dist/context/ArmoyuContext.d.ts.map +1 -0
- package/dist/context/ArmoyuContext.js +76 -0
- package/dist/context/ArmoyuContext.js.map +1 -0
- package/dist/context/AuthContext.d.ts.map +1 -1
- package/dist/context/AuthContext.js +14 -10
- package/dist/context/AuthContext.js.map +1 -1
- package/dist/context/SocketContext.d.ts.map +1 -1
- package/dist/context/SocketContext.js +31 -30
- package/dist/context/SocketContext.js.map +1 -1
- package/dist/index.d.ts +20 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +100 -80
- package/dist/index.js.map +1 -1
- package/dist/lib/ArmoyuUI.d.ts +18 -0
- package/dist/lib/ArmoyuUI.d.ts.map +1 -0
- package/dist/lib/ArmoyuUI.js +25 -0
- package/dist/lib/ArmoyuUI.js.map +1 -0
- package/dist/lib/constants/seedData.d.ts.map +1 -1
- package/dist/lib/constants/seedData.js +694 -694
- package/dist/lib/constants/seedData.js.map +1 -1
- package/dist/lib/constants/stationData.js +166 -166
- package/dist/lib/constants/stationData.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Providers.d.ts","sourceRoot":"","sources":["../../src/app/Providers.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAaxC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE,cAAc,2CAoDrD"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import { ArmoyuApi } from "@armoyu/core";
|
|
5
|
+
import { ArmoyuProvider } from "../context/ArmoyuContext";
|
|
6
|
+
import { ThemeProvider } from "../context/ThemeContext";
|
|
7
|
+
import { AuthProvider } from "../context/AuthContext";
|
|
8
|
+
import { SocketProvider } from "../context/SocketContext";
|
|
9
|
+
import { LayoutProvider } from "../context/LayoutContext";
|
|
10
|
+
import { CartProvider } from "../context/CartContext";
|
|
11
|
+
import { ChatProvider } from "../context/ChatContext";
|
|
12
|
+
import { ArmoyuUI } from '../lib/ArmoyuUI';
|
|
13
|
+
import { DevTools } from '../components/shared/DevTools';
|
|
14
|
+
export function Providers({ children }) {
|
|
15
|
+
const [ui] = useState(() => {
|
|
16
|
+
try {
|
|
17
|
+
// Use local proxy to avoid CORS issues in development
|
|
18
|
+
const baseUrl = typeof window !== 'undefined' ? `${window.location.origin}/api/proxy` : '/api/proxy';
|
|
19
|
+
const api = new ArmoyuApi("armoyu_showcase_key", {
|
|
20
|
+
baseUrl: baseUrl
|
|
21
|
+
});
|
|
22
|
+
return new ArmoyuUI(api);
|
|
23
|
+
}
|
|
24
|
+
catch (e) {
|
|
25
|
+
console.error("[ARMOYU] Initialization Error:", e);
|
|
26
|
+
// Fallback
|
|
27
|
+
return new ArmoyuUI(new ArmoyuApi("fallback", { baseUrl: "" }));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
return (_jsx(ArmoyuProvider, { ui: ui, navigation: {
|
|
31
|
+
profilePrefix: '/p',
|
|
32
|
+
groupPrefix: '/g',
|
|
33
|
+
forumPrefix: '/topluluk/forum',
|
|
34
|
+
educationPrefix: '/akademi'
|
|
35
|
+
}, children: _jsx(ThemeProvider, { children: _jsx(AuthProvider, { children: _jsx(SocketProvider, { children: _jsx(LayoutProvider, { children: _jsx(CartProvider, { children: _jsxs(ChatProvider, { children: [_jsxs("div", { className: "fixed inset-0 pointer-events-none z-[-1]", children: [_jsx("div", { className: "absolute top-[-10%] left-[-10%] w-[40%] h-[40%] bg-blue-600/20 blur-[120px] rounded-full" }), _jsx("div", { className: "absolute bottom-[-10%] right-[-10%] w-[40%] h-[40%] bg-purple-600/20 blur-[120px] rounded-full" })] }), _jsx(DevTools, {}), children] }) }) }) }) }) }) }));
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=Providers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Providers.js","sourceRoot":"","sources":["../../src/app/Providers.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,cA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E;YACV,aAAa,EAAE,IAAI;YACnB,WAAW,EAAE,IAAI;YACjB,WAAW,EAAE,iBAAiB;YAC9B,eAAe,EAAE,UAAU;SAC5B,YAED,KAAC,aAAa,cACZ,KAAC,YAAY,cACX,KAAC,cAAc,cACb,KAAC,cAAc,cACb,KAAC,YAAY,cACX,MAAC,YAAY,eAEX,eAAK,SAAS,EAAC,0CAA0C,aACvD,cAAK,SAAS,EAAC,0FAA0F,GAAG,EAC5G,cAAK,SAAS,EAAC,gGAAgG,GAAG,IAC9G,EAGN,KAAC,QAAQ,KAAG,EAGX,QAAQ,IACI,GACF,GACA,GACF,GACJ,GACD,GACD,CAClB,CAAC;AACJ,CAAC"}
|
|
@@ -21,8 +21,16 @@ async function handleProxy(req, pathSegments) {
|
|
|
21
21
|
if (!apiKey) {
|
|
22
22
|
return NextResponse.json({ durum: 0, aciklama: 'X-API-KEY header missing' }, { status: 400 });
|
|
23
23
|
}
|
|
24
|
-
// Target Armoyu API
|
|
25
|
-
const
|
|
24
|
+
// Target Armoyu API host
|
|
25
|
+
const targetHost = 'https://api.aramizdakioyuncu.com';
|
|
26
|
+
// Prevent double /botlar/[apiKey] prefixing
|
|
27
|
+
let targetUrl;
|
|
28
|
+
if (endpoint.startsWith(`/botlar/${apiKey}`)) {
|
|
29
|
+
targetUrl = `${targetHost}${endpoint}`;
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
targetUrl = `${targetHost}/botlar/${apiKey}${endpoint}`;
|
|
33
|
+
}
|
|
26
34
|
const method = req.method;
|
|
27
35
|
const headers = new Headers();
|
|
28
36
|
// Helper to safely set headers and avoid ISO-8859-1 errors
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route.js","sourceRoot":"","sources":["../../../../../src/app/api/proxy/[...path]/route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,YAAY,EAAE,MAAM,aAAa,CAAC;AAExD,MAAM,CAAC,KAAK,UAAU,IAAI,CAAC,GAAgB,EAAE,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AAK,CAAC,OAAO,EAAE;YACzC,SAAS;YACT,KAAK,EAAE,KAAK,CAAC,KAAK;SACnB,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC;IACtB,CAAC;AACH,CAAC"}
|
package/dist/app/layout.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/app/layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/app/layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAGrC,OAAO,gBAAgB,CAAC;AAKxB,eAAO,MAAM,QAAQ,EAAE,QAGtB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,QAAQ,GACT,EAAE,QAAQ,CAAC;IACV,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC,2CA8BD"}
|
package/dist/app/layout.js
CHANGED
|
@@ -1,31 +1,27 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Inter } from 'next/font/google';
|
|
3
|
+
import Script from 'next/script';
|
|
3
4
|
import "../globals.css";
|
|
4
|
-
import {
|
|
5
|
-
import { LayoutProvider } from "../context/LayoutContext";
|
|
6
|
-
import { AuthProvider } from "../context/AuthContext";
|
|
7
|
-
import { SocketProvider } from "../context/SocketContext";
|
|
8
|
-
import { CartProvider } from "../context/CartContext";
|
|
9
|
-
import { ChatProvider } from "../context/ChatContext";
|
|
5
|
+
import { Providers } from './Providers';
|
|
10
6
|
const inter = Inter({ subsets: ['latin'] });
|
|
11
7
|
export const metadata = {
|
|
12
8
|
title: "ARMOYU UI Showcase",
|
|
13
9
|
description: "Visual component gallery for Armoyu UI Library",
|
|
14
10
|
};
|
|
15
11
|
export default function RootLayout({ children, }) {
|
|
16
|
-
return (_jsxs("html", { lang: "tr", className: "scroll-smooth dark", suppressHydrationWarning: true, children: [_jsx("head", { children: _jsx("
|
|
17
|
-
__html: `
|
|
18
|
-
(function() {
|
|
19
|
-
try {
|
|
20
|
-
var theme = localStorage.getItem('armoyu_theme');
|
|
21
|
-
if (theme === 'light') {
|
|
22
|
-
document.documentElement.classList.remove('dark');
|
|
23
|
-
} else {
|
|
24
|
-
document.documentElement.classList.add('dark');
|
|
25
|
-
}
|
|
26
|
-
} catch (e) {}
|
|
27
|
-
})();
|
|
12
|
+
return (_jsxs("html", { lang: "tr", className: "scroll-smooth dark", suppressHydrationWarning: true, children: [_jsx("head", { children: _jsx(Script, { id: "theme-initializer", strategy: "beforeInteractive", dangerouslySetInnerHTML: {
|
|
13
|
+
__html: `
|
|
14
|
+
(function() {
|
|
15
|
+
try {
|
|
16
|
+
var theme = localStorage.getItem('armoyu_theme');
|
|
17
|
+
if (theme === 'light') {
|
|
18
|
+
document.documentElement.classList.remove('dark');
|
|
19
|
+
} else {
|
|
20
|
+
document.documentElement.classList.add('dark');
|
|
21
|
+
}
|
|
22
|
+
} catch (e) {}
|
|
23
|
+
})();
|
|
28
24
|
`,
|
|
29
|
-
} }) }), _jsx("body", { className: `${inter.className} bg-armoyu-bg text-armoyu-text min-h-screen flex flex-col antialiased relative transition-colors duration-500`, children: _jsx(
|
|
25
|
+
} }) }), _jsx("body", { className: `${inter.className} bg-armoyu-bg text-armoyu-text min-h-screen flex flex-col antialiased relative transition-colors duration-500`, children: _jsx(Providers, { children: children }) })] }));
|
|
30
26
|
}
|
|
31
27
|
//# sourceMappingURL=layout.js.map
|
package/dist/app/layout.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.js","sourceRoot":"","sources":["../../src/app/layout.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,
|
|
1
|
+
{"version":3,"file":"layout.js","sourceRoot":"","sources":["../../src/app/layout.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,KAAK,GAAG,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;AAE5C,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,KAAK,EAAE,oBAAoB;IAC3B,WAAW,EAAE,gDAAgD;CAC9D,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,QAAQ,GAGR;IACA,OAAO,CACL,gBAAM,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,oBAAoB,EAAC,wBAAwB,mBACrE,yBACE,KAAC,MAAM,IACL,EAAE,EAAC,mBAAmB,EACtB,QAAQ,EAAC,mBAAmB,EAC5B,uBAAuB,EAAE;wBACvB,MAAM,EAAE;;;;;;;;;;;aAWP;qBACF,GACD,GACG,EACP,eAAM,SAAS,EAAE,GAAG,KAAK,CAAC,SAAS,+GAA+G,YAChJ,KAAC,SAAS,cACP,QAAQ,GACC,GACP,IACF,CACR,CAAC;AACJ,CAAC"}
|
package/dist/app/page.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../src/app/page.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../src/app/page.tsx"],"names":[],"mappings":"AAwBA,MAAM,CAAC,OAAO,UAAU,YAAY,4CAgFnC"}
|
package/dist/app/page.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
-
import { Box, Layers, Share2, User, MessageSquare, ShoppingBag, Users } from 'lucide-react';
|
|
4
|
+
import { Box, Layers, Share2, User, MessageSquare, ShoppingBag, Users, Building2 } from 'lucide-react';
|
|
5
5
|
// Showcase Components
|
|
6
6
|
import { GeneralTab } from '../components/showcase/GeneralTab';
|
|
7
7
|
import { CorporateTab } from '../components/showcase/CorporateTab';
|
|
@@ -10,6 +10,7 @@ import { ProfileTab } from '../components/showcase/ProfileTab';
|
|
|
10
10
|
import { MessagesTab } from '../components/showcase/MessagesTab';
|
|
11
11
|
import { CommunityTab } from '../components/showcase/CommunityTab';
|
|
12
12
|
import { ShopTab } from '../components/showcase/ShopTab';
|
|
13
|
+
import { GroupTab } from '../components/showcase/GroupTab';
|
|
13
14
|
export default function ShowcasePage() {
|
|
14
15
|
const [activeTab, setActiveTab] = useState('Genel');
|
|
15
16
|
const tabs = [
|
|
@@ -19,6 +20,7 @@ export default function ShowcasePage() {
|
|
|
19
20
|
{ name: 'Profil', icon: _jsx(User, { size: 18 }) },
|
|
20
21
|
{ name: 'Mesajlar', icon: _jsx(MessageSquare, { size: 18 }) },
|
|
21
22
|
{ name: 'Topluluk', icon: _jsx(Users, { size: 18 }) },
|
|
23
|
+
{ name: 'Gruplar', icon: _jsx(Building2, { size: 18 }) },
|
|
22
24
|
{ name: 'Mağaza', icon: _jsx(ShoppingBag, { size: 18 }) },
|
|
23
25
|
];
|
|
24
26
|
const renderTabContent = () => {
|
|
@@ -29,6 +31,7 @@ export default function ShowcasePage() {
|
|
|
29
31
|
case 'Profil': return _jsx(ProfileTab, {});
|
|
30
32
|
case 'Mesajlar': return _jsx(MessagesTab, {});
|
|
31
33
|
case 'Topluluk': return _jsx(CommunityTab, {});
|
|
34
|
+
case 'Gruplar': return _jsx(GroupTab, {});
|
|
32
35
|
case 'Mağaza': return _jsx(ShopTab, {});
|
|
33
36
|
default: return _jsx(GeneralTab, {});
|
|
34
37
|
}
|
package/dist/app/page.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.js","sourceRoot":"","sources":["../../src/app/page.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACL,GAAG,EACH,MAAM,EACN,MAAM,EACN,IAAI,EACJ,aAAa,EACb,WAAW,EACX,KAAK,
|
|
1
|
+
{"version":3,"file":"page.js","sourceRoot":"","sources":["../../src/app/page.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACL,GAAG,EACH,MAAM,EACN,MAAM,EACN,IAAI,EACJ,aAAa,EACb,WAAW,EACX,KAAK,EACL,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,sBAAsB;AACtB,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAE3D,MAAM,CAAC,OAAO,UAAU,YAAY;IAClC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC;IAEpD,MAAM,IAAI,GAAG;QACX,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,KAAC,GAAG,IAAC,IAAI,EAAE,EAAE,GAAI,EAAE;QAC1C,EAAE,IAAI,EAAE,UA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AO,CAAC,CAAC,OAAO,KAAC,UAAU,KAAG,CAAC;QACjC,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAC,4EAA4E,aAGzF,cAAK,SAAS,EAAC,mFAAmF,YAChG,eAAK,SAAS,EAAC,+DAA+D,aAC5E,eAAK,SAAS,EAAC,yBAAyB,aACtC,cAAK,SAAS,EAAC,gIAAgI,YAC5I,eAAM,SAAS,EAAC,sCAAsC,mBAAU,GAC7D,EACN,0BACG,cAAI,SAAS,EAAC,uEAAuE,wBAAQ,eAAM,SAAS,EAAC,eAAe,wBAAe,IAAK,EAChJ,YAAG,SAAS,EAAC,mFAAmF,iCAAqB,IAClH,IACF,EAEN,cAAK,SAAS,EAAC,mFAAmF,YAC9F,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CACjB,iBAEE,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EACrC,SAAS,EAAE,+FACT,SAAS,KAAK,GAAG,CAAC,IAAI;oCACpB,CAAC,CAAC,mDAAmD;oCACrD,CAAC,CAAC,+CACN,EAAE,YAED,GAAG,CAAC,IAAI,IARJ,GAAG,CAAC,IAAI,CASN,CACV,CAAC,GACC,EAEN,cAAK,SAAS,EAAC,yBAAyB,YACrC,eAAM,SAAS,EAAC,2IAA2I,8BAAqB,GAC7K,IACF,GACF,EAEN,eAAM,SAAS,EAAC,4CAA4C,YAC1D,cAAK,SAAS,EAAC,wDAAwD,YACnE,gBAAgB,EAAE,GAChB,GACD,EAGP,iBAAQ,SAAS,EAAC,0CAA0C,YACzD,YAAG,SAAS,EAAC,4FAA4F,2EAErG,GACE,IACL,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -20,6 +20,7 @@ export interface PostCardProps {
|
|
|
20
20
|
repostList?: User[];
|
|
21
21
|
commentList?: any[];
|
|
22
22
|
repostOf?: any;
|
|
23
|
+
profilePrefix?: string;
|
|
23
24
|
}
|
|
24
|
-
export declare function PostCard({ id, author, content, imageUrl, media, createdAt, stats, hashtags, onTagClick, isPending, likeList, repostList, commentList, repostOf }: PostCardProps): import("react/jsx-runtime").JSX.Element | null;
|
|
25
|
+
export declare function PostCard({ id, author, content, imageUrl, media, createdAt, stats, hashtags, onTagClick, isPending, likeList, repostList, commentList, repostOf, profilePrefix }: PostCardProps): import("react/jsx-runtime").JSX.Element | null;
|
|
25
26
|
//# sourceMappingURL=PostCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostCard.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/auth/PostCard.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAiB,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAM3D,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"PostCard.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/auth/PostCard.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAiB,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAM3D,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAepC,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,SAAS,CAAC,EA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