@appcorp/kismaa-web-ui 0.1.6 → 0.1.7

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.
@@ -4,32 +4,32 @@ exports.bannerSlidesData = exports.bannerSlides = void 0;
4
4
  exports.bannerSlides = [
5
5
  {
6
6
  id: 1,
7
- imageUrl: 'https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&w=800&h=400',
7
+ imageUrl: 'https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0',
8
8
  title: 'Beautiful Waterfall',
9
9
  },
10
10
  {
11
11
  id: 2,
12
- imageUrl: 'https://images.unsplash.com/photo-1527515637462-cff94eecc1ac?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&w=800&h=400',
12
+ imageUrl: 'https://images.unsplash.com/photo-1527515637462-cff94eecc1ac',
13
13
  title: 'Sunset in the Mountains',
14
14
  },
15
15
  {
16
16
  id: 3,
17
- imageUrl: 'https://images.unsplash.com/photo-1506765515384-028b60a970df?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&w=800&h=400',
17
+ imageUrl: 'https://images.unsplash.com/photo-1506765515384-028b60a970df',
18
18
  title: 'Serene Forest',
19
19
  },
20
20
  {
21
21
  id: 4,
22
- imageUrl: 'https://images.unsplash.com/photo-1507525428034-b723cf961d3e?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&w=800&h=400',
22
+ imageUrl: 'https://images.unsplash.com/photo-1507525428034-b723cf961d3e',
23
23
  title: 'Sunny Beach',
24
24
  },
25
25
  {
26
26
  id: 5,
27
- imageUrl: 'https://images.pexels.com/photos/2129796/pexels-photo-2129796.png?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1',
27
+ imageUrl: 'https://images.pexels.com/photos/2129796/pexels-photo-2129796.png',
28
28
  title: 'City Lights at Night',
29
29
  },
30
30
  {
31
31
  id: 6,
32
- imageUrl: 'https://images.unsplash.com/photo-1517649763962-0c623066013b?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&w=800&h=400',
32
+ imageUrl: 'https://images.unsplash.com/photo-1517649763962-0c623066013b',
33
33
  title: 'Starry Sky',
34
34
  },
35
35
  ];
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.extendedUserCardData = void 0;
4
4
  exports.extendedUserCardData = {
5
5
  isActive: true,
6
- imageUrl: 'https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80',
6
+ imageUrl: 'https://images.unsplash.com/photo-1506794778202-cad84cf45f1d',
7
7
  title: 'TRUE HEALER',
8
8
  fee: '$199.00/min',
9
9
  avgRating: 5,
@@ -10,12 +10,12 @@ var molecules_1 = require("../../molecules");
10
10
  var solid_1 = require("@heroicons/react/24/solid");
11
11
  var link_1 = __importDefault(require("next/link"));
12
12
  var react_1 = __importDefault(require("react"));
13
- var router_1 = require("next/router");
13
+ // import { useRouter } from 'next/navigation';
14
14
  var Navbar = function (_a) {
15
- var isMobileMenuOpen = _a.isMobileMenuOpen, toggleMobileMenu = _a.toggleMobileMenu, navLinks = _a.navLinks, loginLabel = _a.loginLabel, signupLabel = _a.signupLabel, handleSearch = _a.handleSearch, handleLogin = _a.handleLogin, handleSignup = _a.handleSignup;
16
- var router = (0, router_1.useRouter)();
15
+ var handleLogin = _a.handleLogin, handleSearch = _a.handleSearch, handleSignup = _a.handleSignup, isMobileMenuOpen = _a.isMobileMenuOpen, loginLabel = _a.loginLabel, navLinks = _a.navLinks, signupLabel = _a.signupLabel, toggleMobileMenu = _a.toggleMobileMenu;
16
+ // const router = useRouter();
17
17
  var displayedLinks = navLinks.slice(0, 5);
18
- var isActive = function (href) { return router.pathname === href; };
18
+ // const isActive = (href: string) => router.pathname === href;
19
19
  return (react_1.default.createElement("nav", { className: "fixed z-50 w-full bg-purple-200/90" },
20
20
  react_1.default.createElement("div", { className: "kismaa-container flex items-center justify-between gap-10 py-1.5 lg:py-3.5" },
21
21
  react_1.default.createElement("div", { className: "w-[15%]" },
@@ -24,10 +24,10 @@ var Navbar = function (_a) {
24
24
  react_1.default.createElement(search_icon_1.SearchIcon, { className: "size-5 cursor-pointer" }),
25
25
  react_1.default.createElement("button", { onClick: toggleMobileMenu, className: "cursor-pointer" }, isMobileMenuOpen ? (react_1.default.createElement(solid_1.XMarkIcon, { className: "h-8 w-8" })) : (react_1.default.createElement(solid_1.Bars3Icon, { className: "h-8 w-8" })))),
26
26
  react_1.default.createElement("div", { className: "hidden w-[85%] items-center justify-between lg:flex" },
27
- react_1.default.createElement("div", { className: "flex gap-8" }, displayedLinks === null || displayedLinks === void 0 ? void 0 : displayedLinks.map(function (link) { return (react_1.default.createElement(link_1.default, { key: link.label, href: link.href, className: "cursor-pointer transition-all duration-300 ease-in-out hover:text-primary ".concat(isActive(link.href) ? 'text-primary' : 'text-[#263238]') },
27
+ react_1.default.createElement("div", { className: "flex gap-8" }, displayedLinks === null || displayedLinks === void 0 ? void 0 : displayedLinks.map(function (link) { return (react_1.default.createElement(link_1.default, { key: link.label, href: link.href, className: "cursor-pointer transition-all duration-300 ease-in-out hover:text-primary ".concat(link.href ? 'text-primary' : 'text-[#263238]') },
28
28
  react_1.default.createElement(molecules_1.Typography, { variant: molecules_1.TYPOGRAPHY_VARIANTS.SUBH2 }, link.label))); })),
29
29
  react_1.default.createElement("div", { className: "flex items-center justify-end gap-4" },
30
- react_1.default.createElement("div", { className: "", onClick: function () { return handleSearch(); } },
30
+ react_1.default.createElement("div", { className: "", onClick: handleSearch },
31
31
  react_1.default.createElement(search_icon_1.SearchIcon, { className: "size-5 cursor-pointer" })),
32
32
  react_1.default.createElement("div", { className: "flex items-center justify-end" },
33
33
  react_1.default.createElement("div", { className: "w-fit" },
@@ -4,7 +4,7 @@ exports.userGridData = exports.userCardGridData = void 0;
4
4
  exports.userCardGridData = [
5
5
  {
6
6
  isActive: true,
7
- imageSrc: 'https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80',
7
+ imageSrc: 'https://images.unsplash.com/photo-1438761681033-6461ffad8d80',
8
8
  name: 'Emma Thompson',
9
9
  description: '15420 reading for 2005',
10
10
  badges: [
@@ -21,7 +21,7 @@ exports.userCardGridData = [
21
21
  },
22
22
  {
23
23
  isActive: false,
24
- imageSrc: 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80',
24
+ imageSrc: 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d',
25
25
  name: 'Michael Chen',
26
26
  description: '15420 reading for 2005',
27
27
  badges: [
@@ -35,7 +35,7 @@ exports.userCardGridData = [
35
35
  },
36
36
  {
37
37
  isActive: true,
38
- imageSrc: 'https://images.unsplash.com/photo-1544005313-94ddf0286df2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1738&q=80',
38
+ imageSrc: 'https://images.unsplash.com/photo-1544005313-94ddf0286df2',
39
39
  name: 'Sophia Rodriguez',
40
40
  description: '15420 reading for 2005',
41
41
  badges: [
@@ -49,7 +49,7 @@ exports.userCardGridData = [
49
49
  },
50
50
  {
51
51
  isActive: true,
52
- imageSrc: 'https://images.unsplash.com/photo-1552058544-f2b08422138a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1744&q=80',
52
+ imageSrc: 'https://images.unsplash.com/photo-1552058544-f2b08422138a',
53
53
  name: 'Alex Johnson',
54
54
  badges: [
55
55
  { label: 'Palm Reading', bgColor: '#9BB8ED1A', textColor: '#9BB8ED' },
@@ -62,7 +62,7 @@ exports.userCardGridData = [
62
62
  },
63
63
  {
64
64
  isActive: false,
65
- imageSrc: 'https://images.unsplash.com/photo-1580489944761-15a19d654956?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1661&q=80',
65
+ imageSrc: 'https://images.unsplash.com/photo-1580489944761-15a19d654956',
66
66
  name: 'Olivia Baker',
67
67
  badges: [
68
68
  { label: 'Reiki', bgColor: '#FFC5671A', textColor: '#FFC567' },
@@ -75,7 +75,7 @@ exports.userCardGridData = [
75
75
  },
76
76
  {
77
77
  isActive: true,
78
- imageSrc: 'https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80',
78
+ imageSrc: 'https://images.unsplash.com/photo-1506794778202-cad84cf45f1d',
79
79
  name: 'Daniel Lee',
80
80
  description: '15420 reading for 2005',
81
81
  badges: [
@@ -89,7 +89,7 @@ exports.userCardGridData = [
89
89
  },
90
90
  {
91
91
  isActive: true,
92
- imageSrc: 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1664&q=80',
92
+ imageSrc: 'https://images.unsplash.com/photo-1534528741775-53994a69daeb',
93
93
  name: 'Isabella Martinez',
94
94
  description: '15420 reading for 2005',
95
95
  badges: [
@@ -103,7 +103,7 @@ exports.userCardGridData = [
103
103
  },
104
104
  {
105
105
  isActive: false,
106
- imageSrc: 'https://images.unsplash.com/photo-1500648767791-00dcc994a43e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1587&q=80',
106
+ imageSrc: 'https://images.unsplash.com/photo-1500648767791-00dcc994a43e',
107
107
  name: 'William Taylor',
108
108
  description: '15420 reading for 2005',
109
109
  badges: [
@@ -117,7 +117,7 @@ exports.userCardGridData = [
117
117
  },
118
118
  {
119
119
  isActive: true,
120
- imageSrc: 'https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1588&q=80',
120
+ imageSrc: 'https://images.unsplash.com/photo-1573496359142-b8d87734a5a2',
121
121
  name: 'Ava Wilson',
122
122
  description: '15420 reading for 2005',
123
123
  badges: [
@@ -131,7 +131,7 @@ exports.userCardGridData = [
131
131
  },
132
132
  {
133
133
  isActive: true,
134
- imageSrc: 'https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80',
134
+ imageSrc: 'https://images.unsplash.com/photo-1472099645785-5658abf4ff4e',
135
135
  name: 'Ethan Brown',
136
136
  description: '15420 reading for 2005',
137
137
  badges: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/kismaa-web-ui",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "source": "src/index.ts",
5
5
  "main": "lib/main.js",
6
6
  "module": "lib/module.js",