Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
earth-in-flux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Water Mission Area
VizLab
earth-in-flux
Commits
d14e4e9e
Commit
d14e4e9e
authored
10 months ago
by
Hayley Corson-Dosch
Browse files
Options
Downloads
Patches
Plain Diff
clean up naming
parent
a896c087
No related branches found
No related tags found
1 merge request
!5
Custom subpage content
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/assets/text/text.js
+1
-1
1 addition, 1 deletion
src/assets/text/text.js
src/views/VisualizationView.vue
+3
-3
3 additions, 3 deletions
src/views/VisualizationView.vue
with
4 additions
and
4 deletions
src/assets/text/text.js
+
1
−
1
View file @
d14e4e9e
export
default
{
export
default
{
pageTitle
:
"
Climate chart gallery
"
,
pageTitle
:
"
Climate chart gallery
"
,
project
Blurb
s
:
{
projects
:
{
// keys must match project routes (with '-' replaced with '')
// keys must match project routes (with '-' replaced with '')
findex
:
{
findex
:
{
title
:
"
Findex
"
,
title
:
"
Findex
"
,
...
...
This diff is collapsed.
Click to expand it.
src/views/VisualizationView.vue
+
3
−
3
View file @
d14e4e9e
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
</div>
</div>
<ChartGrid
:view=
"currentView"
/>
<ChartGrid
:view=
"currentView"
/>
<div
class=
"text-container"
v-if=
"projectPage"
>
<div
class=
"text-container"
v-if=
"projectPage"
>
<h2>
About the
{{
projectBlurb
Conten
t
.
title
}}
project
</h2>
<h2>
About the
{{
projectBlurb
Tex
t
.
title
}}
project
</h2>
{{
projectBlurb
Conten
t
.
blurb
}}
{{
projectBlurb
Tex
t
.
blurb
}}
</div>
</div>
<PreFooterCodeLinks
:gitHubRepositoryLink=
"gitHubRepositoryLink"
/>
<PreFooterCodeLinks
:gitHubRepositoryLink=
"gitHubRepositoryLink"
/>
</section>
</section>
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
const
projectRoute
=
route
.
params
.
projectRoute
const
projectRoute
=
route
.
params
.
projectRoute
const
currentView
=
projectRoute
?
projectRoute
:
'
all
'
const
currentView
=
projectRoute
?
projectRoute
:
'
all
'
const
projectPage
=
projectRoute
?
true
:
false
const
projectPage
=
projectRoute
?
true
:
false
const
projectBlurb
Conten
t
=
projectRoute
?
text
.
project
Blurb
s
[
`
${
projectRoute
.
replace
(
/-/g
,
''
)}
`
]
:
null
const
projectBlurb
Tex
t
=
projectRoute
?
text
.
projects
[
`
${
projectRoute
.
replace
(
/-/g
,
''
)}
`
]
:
null
const
gitHubRepositoryLink
=
import
.
meta
.
env
.
VITE_APP_GITHUB_REPOSITORY_LINK
;
const
gitHubRepositoryLink
=
import
.
meta
.
env
.
VITE_APP_GITHUB_REPOSITORY_LINK
;
</
script
>
</
script
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment