Skip to content

Commit

Permalink
Text cleanup, up arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
boutell committed May 15, 2022
1 parent a55af7e commit ceda5a3
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 11 deletions.
21 changes: 12 additions & 9 deletions src/components/HowToUsePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,13 @@
You can sort this list by tapping on the Sort By drop down. Choices
for sort by include, height, name (latin and common), and color
</li>
<!--
<li>
The small “i” ‘s that are superscripts on some terms are info
tooltips. Hover if on a desktop or long press on a mobile device and
the tooltip will explain the term.
</li>
-->
</ul>
<h4>Favoriting Plants</h4>
<ul>
Expand Down Expand Up @@ -163,20 +165,18 @@
<ul>
<li>
Any of the image blocks has a “more info” link on it. Tap this link to
open a POP UP that shows a larger picture of the plant, might give a
description, and lists more characteristics of the plant. All the
labels have tooltips which when hovered on or long pressed will give
the definition of the label if needed
open a popup that shows a larger picture of the plant, might give a
description, and lists more characteristics of the plant.
</li>
</ul>
<h4>Find the plants</h4>
<ul>
<li>
Open the hamburger menu and tap on PA Nurseries. This will lead you to
a page that lists 5 PA nurseries that are known to carry many species.
a page that lists PA nurseries that are known to carry many species.
</li>
<li>
The Nursery’s address, phone number and email are listed. Please
The nursery’s address, phone number and email are listed. Please
contact the Nursery to determine if your favorite plants are in stock
yet.
</li>
Expand Down Expand Up @@ -207,8 +207,8 @@
outlined below.
</p>
<p>
The developers and contributors of this website and the data that
enables it is maintained by volunteers with periodic assistance from
The source code of this website and the data that
enables it are maintained by volunteers with periodic assistance from
botanists. This website is offered "as is." The creators of this website
offer no warranty of the completeness and accuracy of the data within
this website. The data provided on this website should not be cited in
Expand Down Expand Up @@ -249,6 +249,7 @@
</p>
<p>© 2021, 2022 Choose Native Plants - PA</p>
</article>
<Up />
<div class="tone">
<div class="carrier-wave">
<img src="/assets/images/wave-top-light.png" class="wave" />
Expand All @@ -259,11 +260,13 @@

<script>
import Page from './Page.vue';
import Up from './Up.vue';
export default {
name: 'HowToUsePage',
components: {
Page
Page,
Up
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/Page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default {
},
components: {
Header
}
},
};
</script>

Expand Down
4 changes: 3 additions & 1 deletion src/components/PeoplePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@
</ul>
</div>
</article>
<Up />
<div class="tone">
<div class="carrier-wave">
<img src="/assets/images/wave-top-dark.png" class="wave" />
Expand All @@ -214,11 +215,12 @@
<script>
import Page from './Page.vue';
import Person from './Person.vue';
import Up from './Up.vue';
export default {
name: 'PeoplePage',
components: {
Page, Person
Page, Person, Up
}
};
Expand Down
25 changes: 25 additions & 0 deletions src/components/Up.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<template>
<a class="up" @click.prevent="scrollToTop"><span class="material-icons">keyboard_arrow_up</span></a>
</template>

<script>
export default {
methods: {
scrollToTop() {
window.scrollTo(0, 0);
}
}
}
</script>

<style scoped>
.up {
display: block;
text-align: center;
}
.up {
text-decoration: none;
border-bottom: none;
color: black;
}
</style>

0 comments on commit ceda5a3

Please sign in to comment.