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
3c931880
Commit
3c931880
authored
May 22, 2023
by
isstuev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test commit hash
parent
ab77748f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
14 deletions
+13
-14
config.ts
configs/app/config.ts
+1
-0
Footer.tsx
ui/snippets/footer/Footer.tsx
+12
-14
No files found.
configs/app/config.ts
View file @
3c931880
...
...
@@ -101,6 +101,7 @@ const config = Object.freeze({
footerLinks
:
getEnvValue
(
process
.
env
.
NEXT_PUBLIC_FOOTER_LINKS
),
blockScoutVersion
:
getEnvValue
(
process
.
env
.
NEXT_PUBLIC_BLOCKSCOUT_VERSION
),
frontendVersion
:
getEnvValue
(
process
.
env
.
NEXT_PUBLIC_GIT_TAG
),
frontendCommit
:
getEnvValue
(
process
.
env
.
NEXT_PUBLIC_GIT_COMMIT_SHA
),
isAccountSupported
:
getEnvValue
(
process
.
env
.
NEXT_PUBLIC_IS_ACCOUNT_SUPPORTED
)
===
'
true
'
,
marketplaceConfigUrl
:
getEnvValue
(
process
.
env
.
NEXT_PUBLIC_MARKETPLACE_CONFIG_URL
),
marketplaceSubmitForm
:
getEnvValue
(
process
.
env
.
NEXT_PUBLIC_MARKETPLACE_SUBMIT_FORM
),
...
...
ui/snippets/footer/Footer.tsx
View file @
3c931880
...
...
@@ -80,21 +80,19 @@ const Footer = () => {
<
Text
mt=
{
3
}
mr=
{
{
base
:
0
,
lg
:
'
114px
'
}
}
maxW=
{
{
base
:
'
unset
'
,
lg
:
'
470px
'
}
}
fontSize=
"xs"
>
Blockscout is a tool for inspecting and analyzing EVM based blockchains. Blockchain explorer for Ethereum Networks.
</
Text
>
{
(
appConfig
.
blockScoutVersion
||
appConfig
.
frontendVersion
)
&&
(
<
VStack
spacing=
{
1
}
mt=
{
6
}
alignItems=
"start"
>
{
appConfig
.
blockScoutVersion
&&
(
<
Text
fontSize=
"xs"
>
<
VStack
spacing=
{
1
}
mt=
{
6
}
alignItems=
"start"
>
{
appConfig
.
blockScoutVersion
&&
(
<
Text
fontSize=
"xs"
>
Backend:
<
Link
href=
{
API_VERSION_URL
}
target=
"_blank"
>
{
appConfig
.
blockScoutVersion
}
</
Link
>
</
Text
>
)
}
{
appConfig
.
frontendVersion
&&
(
<
Text
fontSize=
"xs"
>
{
/* Frontend: <Link href={ FRONT_VERSION_URL } target="_blank">{ appConfig.frontendVersion }</Link> */
}
Frontend:
{
appConfig
.
frontendVersion
}
</
Text
>
)
}
</
VStack
>
)
}
</
Text
>
)
}
{
(
appConfig
.
frontendVersion
||
appConfig
.
frontendCommit
)
&&
(
<
Text
fontSize=
"xs"
>
{
/* Frontend: <Link href={ FRONT_VERSION_URL } target="_blank">{ appConfig.frontendVersion }</Link> */
}
Frontend:
{
[
appConfig
.
frontendVersion
,
appConfig
.
frontendCommit
].
filter
(
Boolean
).
join
(
'
+
'
)
}
</
Text
>
)
}
</
VStack
>
</
Box
>
<
Grid
gap=
{
{
base
:
6
,
lg
:
12
}
}
...
...
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