Skip to content

Commit 880d002

Browse files
committed
Change SchemaInfoIcon section to anchor
1 parent 18458ae commit 880d002

9 files changed

Lines changed: 17 additions & 17 deletions

src/components/SchemaInfoIcon.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<a v-bind:href="'https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md#' + section">
2+
<a v-bind:href="'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md' + anchor">
33
<q-icon name="ion-information-circle-outline" />
44
</a>
55
</template>
@@ -10,7 +10,7 @@ import { defineComponent } from 'vue'
1010
export default defineComponent({
1111
name: 'SchemaInfoIcon',
1212
props: {
13-
section: {
13+
anchor: {
1414
type: String,
1515
required: true
1616
}

src/components/ScreenAbstract.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div id="form-content">
1414
<p class="question">
1515
What is the abstract of the work?
16-
<SchemaInfoIcon section="abstract" />
16+
<SchemaInfoIcon anchor="#abstract" />
1717
</p>
1818
<q-input
1919
autogrow

src/components/ScreenAuthors.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div id="form-content">
1313
<p class="question">
1414
Who are the author(s) of the work?
15-
<SchemaInfoIcon section="authors" />
15+
<SchemaInfoIcon anchor="#authors" />
1616
</p>
1717
<div class="scroll-to-bottom-container">
1818
<span class="bottom" />

src/components/ScreenIdentifiers.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div id="form-content">
1313
<p class="question">
1414
What persistent identifiers are available for the work?
15-
<SchemaInfoIcon section="identifiers" />
15+
<SchemaInfoIcon anchor="#identifiers" />
1616
</p>
1717
<div class="scroll-to-bottom-container">
1818
<span class="bottom" />

src/components/ScreenKeywords.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div id="form-content">
1313
<p class="question">
1414
What keywords describe the work?
15-
<SchemaInfoIcon section="keywords" />
15+
<SchemaInfoIcon anchor="#keywords" />
1616
</p>
1717
<div class="scroll-to-bottom-container">
1818
<span class="bottom" />

src/components/ScreenLicense.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div id="form-content">
1313
<p class="question">
1414
What is the license of the work?
15-
<SchemaInfoIcon section="license" />
15+
<SchemaInfoIcon anchor="#license" />
1616
</p>
1717
<q-select
1818
bg-color="white"

src/components/ScreenRelatedResources.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div id="form-content">
1313
<p class="question">
1414
What is the URL of the work in a source code repository?
15-
<SchemaInfoIcon section="repository-code" />
15+
<SchemaInfoIcon anchor="#repository-code" />
1616
</p>
1717
<q-input
1818
bg-color="white"
@@ -27,7 +27,7 @@
2727

2828
<p class="question">
2929
What is the URL of a landing page/website for the work?
30-
<SchemaInfoIcon section="url" />
30+
<SchemaInfoIcon anchor="#url" />
3131
</p>
3232
<q-input
3333
bg-color="white"
@@ -42,7 +42,7 @@
4242

4343
<p class="question">
4444
What is the URL of the work in a repository?
45-
<SchemaInfoIcon section="repository" />
45+
<SchemaInfoIcon anchor="#repository" />
4646
</p>
4747
<q-input
4848
bg-color="white"
@@ -57,7 +57,7 @@
5757

5858
<p class="question">
5959
What is the URL of the work in a build artifact/binary repository?
60-
<SchemaInfoIcon section="repository-artifact" />
60+
<SchemaInfoIcon anchor="#repository-artifact" />
6161
</p>
6262
<q-input
6363
bg-color="white"

src/components/ScreenStart.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div id="form-content">
1414
<p class="question">
1515
What is the title of the work?
16-
<SchemaInfoIcon section="title" />
16+
<SchemaInfoIcon anchor="#title" />
1717
</p>
1818
<q-input
1919
bg-color="white"
@@ -27,7 +27,7 @@
2727
/>
2828
<p class="question">
2929
What do you want citers to do with the information provided in your CITATION.cff file?
30-
<SchemaInfoIcon section="message" />
30+
<SchemaInfoIcon anchor="#message" />
3131
</p>
3232
<q-input
3333
bg-color="white"
@@ -62,7 +62,7 @@
6262
</q-input>
6363
<p class="question">
6464
What type of work does this CITATION.cff describe?
65-
<SchemaInfoIcon section="type" />
65+
<SchemaInfoIcon anchor="#type" />
6666
</p>
6767
<q-option-group
6868
type="radio"

src/components/ScreenVersionSpecific.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div id="form-content">
1313
<p class="question">
1414
What is the commit identifier of the work?
15-
<SchemaInfoIcon section="commit" />
15+
<SchemaInfoIcon anchor="#commit" />
1616
</p>
1717
<q-input
1818
bg-color="white"
@@ -25,7 +25,7 @@
2525

2626
<p class="question">
2727
What is the version of the work?
28-
<SchemaInfoIcon section="version" />
28+
<SchemaInfoIcon anchor="#version" />
2929
</p>
3030
<q-input
3131
bg-color="white"
@@ -38,7 +38,7 @@
3838

3939
<p class="question">
4040
When was the version released?
41-
<SchemaInfoIcon section="date-released" />
41+
<SchemaInfoIcon anchor="#date-released" />
4242
</p>
4343
<q-input
4444
bg-color="white"

0 commit comments

Comments
 (0)