-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'vis' of https://github.com/hbz/lobid
See: https://lobid.org/visual, #427
- Loading branch information
Showing
12 changed files
with
412 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,9 @@ typings/ | |
# gatsby files | ||
.cache/ | ||
public | ||
bin | ||
target | ||
tmp | ||
|
||
# Mac files | ||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
language: node_js | ||
node_js: | ||
- "lts/*" | ||
before_script: | ||
- npm install -g gatsby | ||
script: | ||
- cd gatsby/lobid/ | ||
- npm install | ||
- gatsby build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import React from "react" | ||
|
||
import wappenPng from "./images/wappen.png"; | ||
|
||
export default class Footer extends React.Component { | ||
render() { | ||
return ( | ||
<div className="panel panel-default footer"> | ||
<div className="panel-body"> | ||
<span className="pull-left"> | ||
<img src={wappenPng} alt="NRW-Wappen" /> lobid | | ||
LOD-Dienste des{" "} | ||
<a href="https://www.hbz-nrw.de/produkte/linked-open-data"> | ||
hbz — Hochschulbibliothekszentrum des Landes NRW | ||
</a> | ||
</span> | ||
<span className="pull-right"> | ||
<a href="https://www.hbz-nrw.de/impressum"> | ||
{this.props.companyDetails} | ||
</a> | ||
{" | "} | ||
<a href="https://github.com/hbz/lobid/blob/master/conf/Datenschutzerklaerung_lobid.textile"> | ||
{this.props.privacy} | ||
</a> | ||
{" | "} | ||
<a | ||
href="https://twitter.com/lobidorg" | ||
style={{ marginRight: "12px" }} | ||
> | ||
<i className="fa fa-twitter" aria-hidden="true"></i> Twitter | ||
</a> | ||
<a | ||
href="https://github.com/hbz/lobid" | ||
style={{ marginRight: "12px" }} | ||
> | ||
<i className="fa fa-github" aria-hidden="true"></i> GitHub | ||
</a> | ||
<a href="http://blog.lobid.org" style={{ marginRight: "12px" }}> | ||
<i className="fa fa-pencil" aria-hidden="true"></i> Blog | ||
</a> | ||
</span> | ||
</div> | ||
</div> | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
import React from "react" | ||
|
||
import { | ||
UncontrolledDropdown, | ||
DropdownToggle, | ||
DropdownMenu, | ||
DropdownItem | ||
} from "reactstrap"; | ||
|
||
import lobidLogoPng from "./images/lobid.png"; | ||
|
||
export default class Header extends React.Component { | ||
render() { | ||
return ( | ||
<div className="navbar navbar-default" role="navigation"> | ||
<div className="container-fluid" id="header"> | ||
<div className="navbar-header"> | ||
<button | ||
type="button" | ||
className="navbar-toggle collapsed" | ||
data-toggle="collapse" | ||
data-target="#lobid-nav" | ||
> | ||
<span className="sr-only">Navigation ein/ausblenden</span> | ||
<span className="icon-bar"></span> | ||
<span className="icon-bar"></span> | ||
<span className="icon-bar"></span> | ||
</button> | ||
<a className="navbar-brand" href="/"> | ||
<span> | ||
<img id="butterfly" src={lobidLogoPng} alt="lobid-logo" /> | ||
</span> | ||
</a> | ||
</div> | ||
<div className="navbar-collapse " id="lobid-nav"> | ||
<ul className="nav navbar-nav"> | ||
<li> | ||
<a href="/resources">resources</a> | ||
</li> | ||
<li> | ||
<a href="/organisations">organisations</a> | ||
</li> | ||
<li> | ||
<a href="/gnd">gnd</a> | ||
</li> | ||
</ul> | ||
<div style={{ marginRight: "-6px" }}> | ||
<ul className="nav navbar-nav navbar-right "> | ||
<li> | ||
<UncontrolledDropdown> | ||
<DropdownToggle | ||
style={{ | ||
padding: "9px", | ||
background: "transparent", | ||
marginTop: "0px", | ||
lineHeight: "30px" | ||
}} | ||
> | ||
{this.props.publications} | ||
<b | ||
className="caret" | ||
style={{ | ||
marginLeft: "2px" | ||
}} | ||
></b> | ||
</DropdownToggle> | ||
<DropdownMenu right> | ||
<DropdownItem | ||
tag="a" | ||
href="http://blog.lobid.org/" | ||
style={{ | ||
paddingLeft: "6px", | ||
color: "black", | ||
textDecoration: "none", | ||
lineHeight: "30px" | ||
}} | ||
> | ||
Blog | ||
</DropdownItem> | ||
<DropdownItem divider /> | ||
<DropdownItem | ||
as="a" | ||
href="http://slides.lobid.org/" | ||
style={{ | ||
paddingLeft: "6px", | ||
color: "black", | ||
textDecoration: "none" | ||
}} | ||
> | ||
Slides | ||
</DropdownItem> | ||
</DropdownMenu> | ||
</UncontrolledDropdown> | ||
</li> | ||
|
||
<li> | ||
<a | ||
href={this.props.languageLink} | ||
title={this.props.languageTooltip} | ||
> | ||
<span className="glyphicon glyphicon-globe"></span> | ||
| ||
{this.props.language} | ||
</a> | ||
</li> | ||
|
||
<li> | ||
<UncontrolledDropdown> | ||
<DropdownToggle | ||
className="glyphicon glyphicon-info-sign" | ||
style={{ | ||
padding: "11px", | ||
background: "transparent", | ||
marginTop: "-3px", | ||
lineHeight: "27px" | ||
}} | ||
> | ||
<b | ||
className="caret" | ||
style={{ | ||
marginTop: "-4px", | ||
marginLeft: "2px" | ||
}} | ||
></b> | ||
</DropdownToggle> | ||
<DropdownMenu right> | ||
<DropdownItem | ||
tag="a" | ||
href={this.props.teamLink} | ||
style={{ | ||
paddingLeft: "6px", | ||
color: "black", | ||
textDecoration: "none", | ||
lineHeight: "30px" | ||
}} | ||
> | ||
Team | ||
</DropdownItem> | ||
<DropdownItem divider /> | ||
<DropdownItem | ||
as="a" | ||
href={ | ||
this.props.contactPointId + | ||
"?subject=Feedback%20zu%20lobid.org" | ||
} | ||
style={{ | ||
paddingLeft: "6px", | ||
color: "black", | ||
textDecoration: "none" | ||
}} | ||
> | ||
Feedback | ||
</DropdownItem> | ||
</DropdownMenu> | ||
</UncontrolledDropdown> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div>) | ||
} | ||
} | ||
|
Oops, something went wrong.