alpha
Login
or
Join now
nandi.uk
/
semble
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
feat: scrollable profile tabs
author
Pouria Delfanazari
date
9 months ago
(Oct 24, 2025, 6:15 PM -0700)
commit
2f056115
2f05611506ddbb0fade3cb6df24cdc7ce371b947
parent
4c04c092
4c04c09257ed2cad03e313c8c0c06b31a77aed48
+16
-12
1 changed file
Expand all
Collapse all
Unified
Split
src
webapp
features
profile
components
profileTabs
ProfileTabs.tsx
+16
-12
src/webapp/features/profile/components/profileTabs/ProfileTabs.tsx
View file
Reviewed
···
1
1
'use client';
2
2
3
3
-
import { Tabs } from '@mantine/core';
3
3
+
import { Group, ScrollAreaAutosize, Tabs } from '@mantine/core';
4
4
import TabItem from './TabItem';
5
5
import { usePathname } from 'next/navigation';
6
6
···
16
16
17
17
return (
18
18
<Tabs value={currentTab}>
19
19
-
<Tabs.List>
20
20
-
<TabItem value="profile" href={basePath}>
21
21
-
Profile
22
22
-
</TabItem>
23
23
-
<TabItem value="cards" href={`${basePath}/cards`}>
24
24
-
Cards
25
25
-
</TabItem>
26
26
-
<TabItem value="collections" href={`${basePath}/collections`}>
27
27
-
Collections
28
28
-
</TabItem>
29
29
-
</Tabs.List>
19
19
+
<ScrollAreaAutosize type="scroll">
20
20
+
<Tabs.List>
21
21
+
<Group wrap="nowrap">
22
22
+
<TabItem value="profile" href={basePath}>
23
23
+
Profile
24
24
+
</TabItem>
25
25
+
<TabItem value="cards" href={`${basePath}/cards`}>
26
26
+
Cards
27
27
+
</TabItem>
28
28
+
<TabItem value="collections" href={`${basePath}/collections`}>
29
29
+
Collections
30
30
+
</TabItem>
31
31
+
</Group>
32
32
+
</Tabs.List>
33
33
+
</ScrollAreaAutosize>
30
34
</Tabs>
31
35
);
32
36
}