Skip to content

Commit e381661

Browse files
committed
chore: kyu ni ho rhi typo free coding?
1 parent f27c598 commit e381661

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

apps/web/src/app/(main)/dashboard/home/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const Home = () => {
1616
const initializeState = () => {
1717
setData(projectsOfTheWeek);
1818
setRenderProjects(true);
19-
setProjectTitle("Projects of the week");
19+
setProjectTitle("Featured projects");
2020
};
2121

2222
initializeState();

apps/web/src/components/dashboard/Sidebar.tsx

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
XMarkIcon,
1010
HomeIcon,
1111
FolderIcon,
12-
ArrowLeftOnRectangleIcon,
12+
ArrowRightOnRectangleIcon,
1313
ChevronDoubleLeftIcon,
1414
ChevronDoubleRightIcon,
1515
MagnifyingGlassIcon,
@@ -43,7 +43,8 @@ const getSidebarLinkClassName = (currentPath: string, routePath: string) => {
4343
};
4444

4545
export default function Sidebar() {
46-
const { showSidebar, setShowSidebar, isCollapsed, toggleCollapsed } = useShowSidebar();
46+
const { showSidebar, setShowSidebar, isCollapsed, toggleCollapsed } =
47+
useShowSidebar();
4748
const pathname = usePathname();
4849
const { setShowFilters } = useFilterStore();
4950

@@ -69,10 +70,6 @@ export default function Sidebar() {
6970
window.open(mailtoLink, "_blank");
7071
};
7172

72-
const handleLogout = () => {
73-
signOut({ callbackUrl: "/" });
74-
};
75-
7673
const handleFindProjects = () => {
7774
setShowFilters(true);
7875
};
@@ -88,7 +85,7 @@ export default function Sidebar() {
8885
{/* Mobile header */}
8986
<div className="flex justify-between px-4 py-4 border-b border-ox-gray xl:hidden">
9087
<div className="flex items-center">
91-
<h1 className="text-xl font-semibold text-ox-white">Opensox</h1>
88+
<h1 className="text-xl font-semibold text-ox-white">Opensox AI</h1>
9289
</div>
9390
<IconWrapper onClick={() => setShowSidebar(false)}>
9491
<XMarkIcon className="size-5 text-ox-purple" />
@@ -99,7 +96,7 @@ export default function Sidebar() {
9996
<div className="hidden xl:flex items-center justify-between px-4 py-4 border-b border-[#1a1a1d]">
10097
{!isCollapsed && (
10198
<span className="text-[#eaeaea] font-semibold tracking-wide select-none text-xl">
102-
Opensox
99+
Opensox AI
103100
</span>
104101
)}
105102
<IconWrapper
@@ -143,7 +140,7 @@ export default function Sidebar() {
143140
/>
144141
<SidebarItem
145142
itemName="Opensox premium"
146-
onclick={supportClickHandler}
143+
onclick={premiumClickHandler}
147144
icon={<StarIcon className="size-5" />}
148145
collapsed={isCollapsed}
149146
/>
@@ -193,7 +190,9 @@ function ProfileMenu({ isCollapsed }: { isCollapsed: boolean }) {
193190
{!isCollapsed && (
194191
<div className="flex-1 flex items-center justify-between">
195192
<div className="flex flex-col">
196-
<span className="text-xs text-[#eaeaea] font-semibold">Ajeet</span>
193+
<span className="text-xs text-[#eaeaea] font-semibold">
194+
Ajeet
195+
</span>
197196
<span className="text-[10px] text-zinc-400">hi@opensox.ai</span>
198197
</div>
199198
<ChevronDoubleLeftIcon
@@ -208,7 +207,7 @@ function ProfileMenu({ isCollapsed }: { isCollapsed: boolean }) {
208207
<SidebarItem
209208
itemName="Logout"
210209
onclick={() => signOut({ callbackUrl: "/" })}
211-
icon={<ArrowLeftOnRectangleIcon className="size-5" />}
210+
icon={<ArrowRightOnRectangleIcon className="size-5" />}
212211
collapsed={false}
213212
/>
214213
</div>

0 commit comments

Comments
 (0)