Skip to content

Commit

Permalink
Admonition
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaudis committed Jul 22, 2024
1 parent 72412c3 commit 4f9b4d8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/components/Admonitions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from "react"

export function Admonition({ title, content }) {
return (
<div className="admonition">
<div className="admonition-title">{title}</div>
<div dangerouslySetInnerHTML={{ __html: content }}></div>
</div>
)
}
12 changes: 12 additions & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Layout } from "../components/Layout"
import Panel from "../components/Panel"
import { Admonition } from "../components/Admonitions"
import { SubsetHistogram, BiosamplePlot } from "../components/SVGloaders"
// import { InternalLink } from "../components/helpersShared/linkHelpers"
import React from "react"
Expand All @@ -22,6 +23,17 @@ export default function Index() {
return (
<Layout title="refCNV" headline="Genomic Copy Number Variation (CNV) data from reference samples">
<Panel className="content">
<Admonition
title="Under Construction"
content='
<p>
Thiks site is currently under construction, with contributions by
groups from the University of Zurich and Erasmus MC. Neither data
content nor representation have been finalized. PLEASE DO NOT USE
FOR ANY RESEARCH OR REFERENCE PURPOSES!
</p>'
/>

<p>
Frequency profiles of regional
genomic gains and losses for all categories (diagnostic entity,
Expand Down

0 comments on commit 4f9b4d8

Please sign in to comment.