Skip to content

Commit

Permalink
add citations to the initial page
Browse files Browse the repository at this point in the history
  • Loading branch information
eimrek committed Dec 5, 2024
1 parent 3bc171c commit 4c58b61
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DetailPage/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Container, Row, Col } from "react-bootstrap";

import { getSymmetryInfo } from "mc-react-library";

import { CitationsList } from "./components/CitationsList";
import { CitationsList } from "../common/CitationsList";

import {
loadMetadata,
Expand Down
7 changes: 6 additions & 1 deletion src/MainPage/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { restapiText } from "./restapiText";
import { loadIndexMc2d } from "./loadIndexMc2d";

import { DownloadButton } from "./DownloadButton.jsx";
import { CitationsList } from "../common/CitationsList.jsx";

const MainPage = ({ tab }) => {
const navigate = useNavigate();
Expand Down Expand Up @@ -61,7 +62,11 @@ const MainPage = ({ tab }) => {
Materials Cloud 2D crystals database is a curated set of 2D materials
obtained by screening most known 3D crystal structures by a
computational exfoliation procedure. This database contains the
relaxed 2D materials and their various properties.
relaxed 2D materials and their various properties. For more details,
please see the related publications:
<div style={{ marginTop: "5px" }}>
<CitationsList citationLabels={["Mounet18", "Campi23"]} />
</div>
</div>
<Tabs
className="main-tabs"
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 4c58b61

Please sign in to comment.