Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
abb849b8
Commit
abb849b8
authored
Apr 16, 2024
by
isstuev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
marketplace layout fix
parent
1fae6db7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
13 deletions
+8
-13
index.tsx
pages/address/[hash]/index.tsx
+0
-1
Marketplace.tsx
ui/pages/Marketplace.tsx
+8
-12
No files found.
pages/address/[hash]/index.tsx
View file @
abb849b8
import
type
{
GetServerSideProps
,
NextPage
}
from
'
next
'
;
import
type
{
GetServerSideProps
,
NextPage
}
from
'
next
'
;
import
dynamic
from
'
next/dynamic
'
;
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
type
{
Route
}
from
'
nextjs-routes
'
;
import
type
{
Route
}
from
'
nextjs-routes
'
;
...
...
ui/pages/Marketplace.tsx
View file @
abb849b8
...
@@ -21,7 +21,6 @@ import type { IconName } from 'ui/shared/IconSvg';
...
@@ -21,7 +21,6 @@ import type { IconName } from 'ui/shared/IconSvg';
import
LinkExternal
from
'
ui/shared/LinkExternal
'
;
import
LinkExternal
from
'
ui/shared/LinkExternal
'
;
import
PageTitle
from
'
ui/shared/Page/PageTitle
'
;
import
PageTitle
from
'
ui/shared/Page/PageTitle
'
;
import
RadioButtonGroup
from
'
ui/shared/radioButtonGroup/RadioButtonGroup
'
;
import
RadioButtonGroup
from
'
ui/shared/radioButtonGroup/RadioButtonGroup
'
;
import
TabsSkeleton
from
'
ui/shared/Tabs/TabsSkeleton
'
;
import
TabsWithScroll
from
'
ui/shared/Tabs/TabsWithScroll
'
;
import
TabsWithScroll
from
'
ui/shared/Tabs/TabsWithScroll
'
;
import
useMarketplace
from
'
../marketplace/useMarketplace
'
;
import
useMarketplace
from
'
../marketplace/useMarketplace
'
;
...
@@ -93,7 +92,7 @@ const Marketplace = () => {
...
@@ -93,7 +92,7 @@ const Marketplace = () => {
tabs
.
unshift
({
tabs
.
unshift
({
id
:
MarketplaceCategory
.
FAVORITES
,
id
:
MarketplaceCategory
.
FAVORITES
,
title
:
()
=>
<
IconSvg
name=
"star_outline"
w=
{
5
}
h=
{
5
}
/>,
title
:
()
=>
<
IconSvg
name=
"star_outline"
w=
{
5
}
h=
{
5
}
display=
"flex"
/>,
count
:
null
,
count
:
null
,
component
:
null
,
component
:
null
,
});
});
...
@@ -179,16 +178,13 @@ const Marketplace = () => {
...
@@ -179,16 +178,13 @@ const Marketplace = () => {
/>
/>
<
Box
marginTop=
{
{
base
:
0
,
lg
:
8
}
}
>
<
Box
marginTop=
{
{
base
:
0
,
lg
:
8
}
}
>
{
(
isCategoriesPlaceholderData
)
?
(
<
TabsWithScroll
<
TabsSkeleton
tabs=
{
categoryTabs
}
/>
tabs=
{
categoryTabs
}
)
:
(
onTabChange=
{
handleCategoryChange
}
<
TabsWithScroll
defaultTabIndex=
{
selectedCategoryIndex
}
tabs=
{
categoryTabs
}
marginBottom=
{
-
2
}
onTabChange=
{
handleCategoryChange
}
isLoading=
{
isCategoriesPlaceholderData
}
defaultTabIndex=
{
selectedCategoryIndex
}
/>
marginBottom=
{
-
2
}
/>
)
}
</
Box
>
</
Box
>
<
Flex
direction=
{
{
base
:
'
column
'
,
lg
:
'
row
'
}
}
mb=
{
{
base
:
4
,
lg
:
6
}
}
gap=
{
{
base
:
4
,
lg
:
3
}
}
>
<
Flex
direction=
{
{
base
:
'
column
'
,
lg
:
'
row
'
}
}
mb=
{
{
base
:
4
,
lg
:
6
}
}
gap=
{
{
base
:
4
,
lg
:
3
}
}
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment