Skip to content

Commit 5a8955a

Browse files
committed
add text to landing page and adjust styling
1 parent c088ae1 commit 5a8955a

1 file changed

Lines changed: 24 additions & 83 deletions

File tree

src/pages/Landing.vue

Lines changed: 24 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -11,96 +11,23 @@
1111
class="text-primary q-gutter-md q-mb-xl"
1212
style="font-size: 2em"
1313
>
14-
<q-skeleton
15-
class="text-h1"
16-
type="text"
17-
width="100%"
18-
/>
19-
<q-skeleton
20-
class="text-h1"
21-
type="text"
22-
width="50%"
23-
/>
24-
<q-skeleton
25-
class="text-h1"
26-
type="text"
27-
width="50%"
28-
/>
29-
<q-skeleton
30-
class="text-h1"
31-
type="text"
32-
width="50%"
33-
/>
34-
</div>
14+
<h2>Software Citations using Citation File Format</h2>
3515

36-
<div
37-
class="text-primary q-gutter-md"
38-
style="font-size: 2em"
39-
>
40-
<q-icon
41-
name="star"
42-
size="xl"
43-
/>
44-
<q-icon
45-
name="star"
46-
size="xl"
47-
/>
48-
<q-icon
49-
name="star"
50-
size="xl"
51-
/>
16+
<p>CITATION.cff files are plain text files with human- and machine-readable citation information for software (and datasets). Code developers can include them in their repositories to let others know how to correctly cite their software.</p>
17+
18+
<p>This webpage will guide you to take the necassary steps to generate your own CFF file.</p>
5219
</div>
5320
</q-card>
5421
</div>
55-
<div class="col-6 q-pa-lg">
22+
<div class="col-5 q-pa-lg">
5623
<q-card
5724
bordered
5825
class="secondary rotated-card"
5926
style="overflow: hidden"
6027
>
61-
<q-item>
62-
<q-item-section avatar>
63-
<q-skeleton
64-
animation="fade"
65-
type="QAvatar"
66-
/>
67-
</q-item-section>
68-
69-
<q-item-section>
70-
<q-item-label>
71-
<q-skeleton
72-
animation="fade"
73-
type="text"
74-
/>
75-
</q-item-label>
76-
<q-item-label caption>
77-
<q-skeleton
78-
animation="fade"
79-
type="text"
80-
/>
81-
</q-item-label>
82-
</q-item-section>
83-
</q-item>
84-
85-
<q-skeleton
86-
animation="fade"
87-
height="400px"
88-
square
89-
/>
90-
91-
<q-card-section>
92-
<q-skeleton
93-
animation="fade"
94-
class="text-subtitle2"
95-
type="text"
96-
/>
97-
<q-skeleton
98-
animation="fade"
99-
class="text-subtitle2"
100-
type="text"
101-
width="50%"
102-
/>
103-
</q-card-section>
28+
<pre>
29+
{{ exampleCFF }}
30+
</pre>
10431
</q-card>
10532
</div>
10633
</div>
@@ -126,15 +53,29 @@ export default defineComponent({
12653
name: 'Landing',
12754
components: { },
12855
setup () {
129-
return {}
56+
const exampleCFF = `
57+
cff-version: 1.2.0
58+
message: "If you use this software, please cite it as below."
59+
authors:
60+
- family-names: John
61+
given-names: Stephan
62+
orcid: https://orcid.org/0000-0003-4925-7248
63+
title: "My Research Software"
64+
version: 2.0.4
65+
doi: 10.5281/zenodo.1234
66+
date-released: 2021-08-11`
67+
68+
return {
69+
exampleCFF
70+
}
13071
}
13172
})
13273
</script>
13374

13475
<style scoped>
13576
13677
.rotated-card {
137-
transform: rotate(20deg) translateX(150px) translateY(65px);
78+
transform: rotate(20deg) translateX(170px) translateY(185px);
13879
display: block;
13980
}
14081

0 commit comments

Comments
 (0)