Skip to content

Commit

Permalink
fixed #12 #7
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricdcc committed May 8, 2023
1 parent 6006acf commit 56b4ce5
Show file tree
Hide file tree
Showing 3 changed files with 8,532 additions and 8,515 deletions.
2 changes: 1 addition & 1 deletion public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ header .intro-text {
margin: 5px 0;
}
#team .team-img {
width: 240px;
width: 160px;
}
#team .thumbnail {
background: transparent;
Expand Down
21 changes: 19 additions & 2 deletions src/components/navigation.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import React from "react";
import 'bootstrap/dist/js/bootstrap.bundle.js';

export const Navigation = (props) => {

$(function () {
$('[data-toggle="tooltip"]').tooltip()
})

//get the current route
const currentRoutePath = window.location.pathname;
console.log(currentRoutePath);
Expand Down Expand Up @@ -92,12 +97,24 @@ export const Navigation = (props) => {
</a>
</li>
<li>
<a href={currentRoutePath+prepend+"#crates"} className="page-scroll">
<a
href={currentRoutePath+prepend+"#crates"}
className="page-scroll"
data-toggle="tooltip"
data-placement="top"
title="Research Object Crates (https://www.researchobject.org/ro-crate/): a way to package file-based research data so they are linked, grouped, described, and semantically annotated. In our Github spaces, each repository can also be a RO-Crate."
>
RO-Crates
</a>
</li>
<li>
<a href={currentRoutePath+prepend+"#profiles"} className="page-scroll">
<a
href={currentRoutePath+prepend+"#profiles"}
className="page-scroll"
data-toggle="tooltip"
data-placement="top"
title="Research Object Profiles (https://www.researchobject.org/ro-crate/): a set of conventions, types, and properties that one minimally can require and expect to be present in a particular type of RO-Crate, thus standardising their layout."
>
RO-Profiles
</a>
</li>
Expand Down
Loading

1 comment on commit 56b4ce5

@cedricdcc
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

closes #14 #7

Please sign in to comment.