-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
should add clipboard copy functionality to citation text TODO: figure out how to usefully sync citation and build id
- Loading branch information
Showing
3 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<template> | ||
<client-only> | ||
<v-dialog v-model="showCitation" width="auto"> | ||
<template #activator="{ on, props }"> | ||
<v-btn | ||
style="font-weight: bold" | ||
color="white" | ||
class="text-body-1" | ||
plain | ||
v-bind="props" | ||
v-on="on" | ||
> | ||
Cite SKOPE | ||
</v-btn> | ||
</template> | ||
<v-card> | ||
<v-card-title><h2>How to Cite SKOPE</h2></v-card-title> | ||
<v-card-text> | ||
<h2>Citation</h2> | ||
<p class="text-body-1 px-2"> | ||
Use of data, graphics, or other information provided by SKOPE should | ||
be accompanied by a citation of the original data source provided by | ||
SKOPE in the dataset metadata and of the SKOPE web application | ||
itself. | ||
</p> | ||
|
||
<h2>Example Citation</h2> | ||
<blockquote class="blockquote">{{ citationText }}</blockquote> | ||
<blockquote class="blockquote">{{ citationBibTex }}</blockquote> | ||
|
||
<h2>Contact us</h2> | ||
<p class="text-body-1 px-2"> | ||
Feedback is welcome! You can reach us via the "Contact" button in | ||
the footer or by sending an email to | ||
<a href="mailto: skope-team@googlegroups.com"> | ||
skope-team@googlegroups.com | ||
</a> | ||
</p> | ||
</v-card-text> | ||
</v-card> | ||
</v-dialog> | ||
</client-only> | ||
</template> | ||
<script> | ||
import Vue from "vue"; | ||
import { Component } from "nuxt-property-decorator"; | ||
import { CITATION_TXT, CITATION_BIB } from "@/store/modules/_constants"; | ||
@Component() | ||
class Citation extends Vue { | ||
showCitation = false; | ||
get citationText() { | ||
return CITATION_TXT; | ||
} | ||
get citationBibTex() { | ||
return CITATION_BIB; | ||
} | ||
} | ||
export default Citation; | ||
</script> | ||
|
||
<style></style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters