Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_tutorial
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Wiki
Code
Merge requests
1
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
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
EIC
tutorials
eic_tutorial
Commits
54fdea2d
Commit
54fdea2d
authored
4 years ago
by
Whitney Armstrong
Browse files
Options
Downloads
Patches
Plain Diff
modified: gatsby-config.js
new file: src/@rocketseat/gatsby-theme-docs/components/Docs/EditGithub.js
parent
d66836d5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gatsby-config.js
+2
-2
2 additions, 2 deletions
gatsby-config.js
src/@rocketseat/gatsby-theme-docs/components/Docs/EditGithub.js
+37
-0
37 additions, 0 deletions
...ocketseat/gatsby-theme-docs/components/Docs/EditGithub.js
with
39 additions
and
2 deletions
gatsby-config.js
+
2
−
2
View file @
54fdea2d
...
@@ -6,7 +6,7 @@ module.exports = {
...
@@ -6,7 +6,7 @@ module.exports = {
siteTitleShort
:
`EIC software`
,
siteTitleShort
:
`EIC software`
,
siteDescription
:
`Electron ion collider simulation software tutorial`
,
siteDescription
:
`Electron ion collider simulation software tutorial`
,
siteUrl
:
`https://argonne_eic.gitlab.io/tutorial/eic_tutorial`
,
siteUrl
:
`https://argonne_eic.gitlab.io/tutorial/eic_tutorial`
,
siteAuthor
:
`
@rocketsea
t`
,
siteAuthor
:
`
whi
t`
,
siteImage
:
`/banner.png`
,
siteImage
:
`/banner.png`
,
siteLanguage
:
`en`
,
siteLanguage
:
`en`
,
themeColor
:
`#e1a809`
,
themeColor
:
`#e1a809`
,
...
@@ -20,7 +20,7 @@ module.exports = {
...
@@ -20,7 +20,7 @@ module.exports = {
configPath
:
`src/config`
,
configPath
:
`src/config`
,
docsPath
:
`src/docs`
,
docsPath
:
`src/docs`
,
githubUrl
:
`https://eicweb.phy.anl.gov/Argonne_EIC/tutorial/eic_tutorial/`
,
githubUrl
:
`https://eicweb.phy.anl.gov/Argonne_EIC/tutorial/eic_tutorial/`
,
baseDir
:
`
examples/gatsby-theme-docs
`
,
baseDir
:
`
/
`
,
},
},
},
},
{
{
...
...
This diff is collapsed.
Click to expand it.
src/@rocketseat/gatsby-theme-docs/components/Docs/EditGithub.js
0 → 100644
+
37
−
0
View file @
54fdea2d
import
React
from
'
react
'
;
import
PropTypes
from
'
prop-types
'
;
import
{
MdEdit
}
from
'
react-icons/md
'
;
export
default
function
EditGithub
({
githubEditUrl
})
{
if
(
githubEditUrl
)
{
return
(
<
a
href
=
{
githubEditUrl
}
target
=
"
_blank
"
rel
=
"
noopener noreferrer
"
style
=
{{
display
:
'
flex
'
,
alignItems
:
'
center
'
,
textDecoration
:
'
none
'
,
marginTop
:
'
48px
'
,
color
:
'
#78757a
'
,
opacity
:
'
0.8
'
,
fontSize
:
'
14px
'
,
fontWeight
:
'
normal
'
,
}}
>
<
MdEdit
style
=
{{
marginRight
:
'
5px
'
}}
/
>
Edit
this
page
on
eicweb
<
/a
>
);
}
return
null
;
}
EditGithub
.
propTypes
=
{
githubEditUrl
:
PropTypes
.
string
,
};
EditGithub
.
defaultProps
=
{
githubEditUrl
:
null
,
};
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