From 10e39fb3e8d58e5cce7ed7431a8f32ad0a61a583 Mon Sep 17 00:00:00 2001 From: Liliana Sanfilippo <liliana.sanfilippo@uni-bielefeld.de> Date: Sun, 29 Sep 2024 13:41:10 +0200 Subject: [PATCH] Citations --- src/components/makeSources.tsx | 1 - src/sources/methods-sources.tsx | 1 - src/sources/vorlage-source.tsx | 14 ++++++++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 src/sources/vorlage-source.tsx diff --git a/src/components/makeSources.tsx b/src/components/makeSources.tsx index f95bd3c5..41e26e22 100644 --- a/src/components/makeSources.tsx +++ b/src/components/makeSources.tsx @@ -239,7 +239,6 @@ export const BibtexParser: React.FC<BibtexParserProps> = ({ bibtexSources }) => return ( <div> - <h2>Citations</h2> {parsedEntries.length === 0 ? ( <p>No citations available.</p> ) : ( diff --git a/src/sources/methods-sources.tsx b/src/sources/methods-sources.tsx index ebc0fb25..3a291e0c 100644 --- a/src/sources/methods-sources.tsx +++ b/src/sources/methods-sources.tsx @@ -3,7 +3,6 @@ import BibtexParser from "../components/makeSources"; export default function MethodSources(){ return ( <div> - <h1>BibTeX to HTML in React</h1> <BibtexParser bibtexSources={bibtexSources} /> </div> ); diff --git a/src/sources/vorlage-source.tsx b/src/sources/vorlage-source.tsx new file mode 100644 index 00000000..9bffd780 --- /dev/null +++ b/src/sources/vorlage-source.tsx @@ -0,0 +1,14 @@ +import BibtexParser from "../components/makeSources"; + +export default function VorlageSources(){ + return ( + <div> + <BibtexParser bibtexSources={bibtexSources} /> + </div> + ); +} + + +const bibtexSources = [ + +] \ No newline at end of file -- GitLab