Skip to content

Commit

Permalink
Merge pull request #51 from dhmit/add_link_to_corpus_page
Browse files Browse the repository at this point in the history
Add Link to Corpus Page
  • Loading branch information
phuang00 authored Jul 22, 2021
2 parents b014091 + 561bc61 commit 6619e68
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/components/Corpora.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,10 @@ const Corpora = () => {
<CloseButton
onClick={() => deleteCorpus(corpus.id)}></CloseButton>
</OverlayTrigger>
<h2 className={STYLES.title}>{corpus.title}</h2>
<p>{corpus.description}</p>
<a className={STYLES.corpusCard} href={`/corpus/${corpus.id}`}>
<h2 className={STYLES.title}>{corpus.title}</h2>
<p>{corpus.description}</p>
</a>
</div>
</div>
</div>
Expand Down
5 changes: 5 additions & 0 deletions frontend/components/Corpora.module.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.title {
font-size: large;
}

.corpusCard {
color: black;
text-decoration: none !important;
}

0 comments on commit 6619e68

Please sign in to comment.