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
5e8b705e
Unverified
Commit
5e8b705e
authored
Aug 26, 2022
by
tom goriunov
Committed by
GitHub
Aug 26, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #103 from blockscout:mobile-view-navigation
breakpoint and example
parents
db51c201
99f15fed
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
index.tsx
pages/[network_type]/[network_sub_type]/index.tsx
+1
-1
breakpoints.ts
theme/foundations/breakpoints.ts
+5
-0
index.ts
theme/index.ts
+2
-0
No files found.
pages/[network_type]/[network_sub_type]/index.tsx
View file @
5e8b705e
...
...
@@ -10,7 +10,7 @@ const Home: NextPage = () => {
return
(
<
Page
>
<
Center
h=
"100%"
>
<
Center
h=
"100%"
fontSize=
{
{
base
:
'
sm
'
,
lg
:
'
xl
'
}
}
>
<
VStack
gap=
{
4
}
>
<
Box
>
home page for
{
router
.
query
.
network_type
}
{
router
.
query
.
network_sub_type
}
network
</
Box
>
</
VStack
>
...
...
theme/foundations/breakpoints.ts
0 → 100644
View file @
5e8b705e
const
breakpoints
=
{
lg
:
'
1000px
'
,
};
export
default
breakpoints
;
theme/index.ts
View file @
5e8b705e
...
...
@@ -3,6 +3,7 @@ import { extendTheme } from '@chakra-ui/react';
import
components
from
'
./components/index
'
;
import
config
from
'
./config
'
;
import
borders
from
'
./foundations/borders
'
;
import
breakpoints
from
'
./foundations/breakpoints
'
;
import
colors
from
'
./foundations/colors
'
;
import
typography
from
'
./foundations/typography
'
;
import
global
from
'
./global
'
;
...
...
@@ -16,6 +17,7 @@ const overrides = {
styles
:
{
global
,
},
breakpoints
,
};
export
default
extendTheme
(
overrides
);
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