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
ad7d8d11
Commit
ad7d8d11
authored
Jul 22, 2024
by
Max Alekseenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix margins
parent
8baf6698
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
1 deletion
+14
-1
FeaturedApp.tsx
ui/marketplace/Banner/FeaturedApp.tsx
+1
-0
FeaturedAppMobile.tsx
ui/marketplace/Banner/FeaturedAppMobile.tsx
+1
-0
IframeBanner.tsx
ui/marketplace/Banner/IframeBanner.tsx
+1
-0
Marketplace.pw.tsx
ui/pages/Marketplace.pw.tsx
+10
-1
Marketplace.tsx
ui/pages/Marketplace.tsx
+1
-0
Marketplace.pw.tsx_default_mobile-base-view-1.png
...shots__/Marketplace.pw.tsx_default_mobile-base-view-1.png
+0
-0
Marketplace.pw.tsx_default_mobile-with-banner-1.png
...ots__/Marketplace.pw.tsx_default_mobile-with-banner-1.png
+0
-0
Marketplace.pw.tsx_default_mobile-with-featured-app-1.png
...Marketplace.pw.tsx_default_mobile-with-featured-app-1.png
+0
-0
No files found.
ui/marketplace/Banner/FeaturedApp.tsx
View file @
ad7d8d11
...
...
@@ -65,6 +65,7 @@ const FeaturedApp = ({
padding=
{
5
}
background=
{
backgroundColor
}
mb=
{
2
}
mt=
{
6
}
>
<
Skeleton
isLoaded=
{
!
isLoading
}
...
...
ui/marketplace/Banner/FeaturedAppMobile.tsx
View file @
ad7d8d11
...
...
@@ -43,6 +43,7 @@ const FeaturedAppMobile = ({
padding=
{
{
base
:
3
,
sm
:
'
20px
'
}
}
role=
"group"
background=
{
useColorModeValue
(
'
purple.50
'
,
'
whiteAlpha.100
'
)
}
mt=
{
6
}
>
<
Flex
flexDirection=
"row"
...
...
ui/marketplace/Banner/IframeBanner.tsx
View file @
ad7d8d11
...
...
@@ -22,6 +22,7 @@ const IframeBanner = ({ contentUrl, linkUrl }: { contentUrl: string; linkUrl: st
w=
"100%"
borderRadius=
"md"
mb=
{
{
base
:
0
,
sm
:
2
}
}
mt=
{
6
}
overflow=
"hidden"
>
<
Link
...
...
ui/pages/Marketplace.pw.tsx
View file @
ad7d8d11
import
{
Box
}
from
'
@chakra-ui/react
'
;
import
React
from
'
react
'
;
import
{
apps
as
appsMock
}
from
'
mocks/apps/apps
'
;
...
...
@@ -55,7 +56,15 @@ test.describe('mobile', () => {
test
.
use
({
viewport
:
devices
[
'
iPhone 13 Pro
'
].
viewport
});
test
(
'
base view
'
,
async
({
render
})
=>
{
const
component
=
await
render
(<
Marketplace
/>);
const
component
=
await
render
(
<
Box
>
{
/* Added a fake header because without the ActionBar works incorrectly without it */
}
<
Box
h=
"100px"
backgroundColor=
"#dbdbdb"
p=
{
1
}
>
Header
</
Box
>
<
Marketplace
/>
</
Box
>,
);
await
expect
(
component
).
toHaveScreenshot
();
});
...
...
ui/pages/Marketplace.tsx
View file @
ad7d8d11
...
...
@@ -136,6 +136,7 @@ const Marketplace = () => {
<>
<
PageTitle
title=
"DAppscout"
mb=
{
2
}
contentAfter=
{
(
isMobile
&&
links
.
length
>
1
)
?
(
<
Menu
>
<
MenuButton
...
...
ui/pages/__screenshots__/Marketplace.pw.tsx_default_mobile-base-view-1.png
View replaced file @
8baf6698
View file @
ad7d8d11
47.3 KB
|
W:
|
H:
48.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
ui/pages/__screenshots__/Marketplace.pw.tsx_default_mobile-with-banner-1.png
View replaced file @
8baf6698
View file @
ad7d8d11
50.7 KB
|
W:
|
H:
50.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
ui/pages/__screenshots__/Marketplace.pw.tsx_default_mobile-with-featured-app-1.png
View replaced file @
8baf6698
View file @
ad7d8d11
61.2 KB
|
W:
|
H:
61.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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