-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
52 additions
and
615 deletions.
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 |
---|---|---|
@@ -1,55 +1,36 @@ | ||
<template> | ||
<NoticeMessage v-if="show" variant="danger"> | ||
<b-btn variant="link" class="float-right" @click="hideit"> | ||
Hide this | ||
</b-btn> | ||
<NoticeMessage variant="danger"> | ||
<p> | ||
<b>COVID-19 is serious - don't freegle unless it's essential. Please offer essential things others | ||
might need.</b> | ||
<b>Very sadly, Freegle has suspended OFFER/WANTED posts due to COVID-19.</b> | ||
</p> | ||
<p /> | ||
<p> | ||
The virus lasts on surfaces - probably a few hours on cardboard, longer on metal. | ||
Keep safe distances. Wear gloves. Wipe down items (degreasing kitchen cleaner is good). Wash your hands. | ||
If possible, please hold on to your stuff and post it when we re-open. There will be | ||
a lot of people who are struggling and will need things when that happens. We’ll email you | ||
when we’re back. | ||
</p> | ||
<p> | ||
We're doing our bit to provide practical help. You can too. <nuxt-link to="/covid"> | ||
Find out more | ||
</nuxt-link> | ||
Freegle also needs your help. We are funded mostly from donations given by freeglers - no freegling means we | ||
won’t be getting donations. Lots of charities and businesses will be struggling, but if you want us to | ||
be here for you in six months’ time then please set up a regular donation: | ||
|
||
<DonationButton link="paypal1" show="£1/month" monthly class="mt-2" /> | ||
</p> | ||
<p> | ||
Like many people, charities and businesses, Freegle will struggle. We don't | ||
get government help. If you can, please help make sure we're here for you in six months: | ||
Our <nuxt-link to="/chitchat"> | ||
ChitChat section | ||
</nuxt-link> is staying open. Join us here to swap hints, | ||
tips and tell others how you’re filling your day. Share your knowledge and questions on upcycling, reuse, | ||
crafts, gardening, cooking, hobbies etc. | ||
</p> | ||
<p> | ||
See you on the other side! | ||
</p> | ||
<DonationButton link="paypal1" show="£1/month" monthly /> | ||
</NoticeMessage> | ||
<div v-else class="text-danger text-right clickme" @click="showit"> | ||
Show COVID-19 warning. | ||
</div> | ||
</template> | ||
<script> | ||
import NoticeMessage from './NoticeMessage' | ||
import DonationButton from './DonationButton' | ||
export default { | ||
components: { DonationButton, NoticeMessage }, | ||
computed: { | ||
show() { | ||
return !this.$store.getters['misc/get']('hidecovidwarning') | ||
} | ||
}, | ||
methods: { | ||
hideit() { | ||
this.$store.dispatch('misc/set', { | ||
key: 'hidecovidwarning', | ||
value: true | ||
}) | ||
}, | ||
showit() { | ||
this.$store.dispatch('misc/set', { | ||
key: 'hidecovidwarning', | ||
value: false | ||
}) | ||
} | ||
} | ||
components: { DonationButton, NoticeMessage } | ||
} | ||
</script> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,25 @@ | ||
<template> | ||
<div class="d-flex justify-content-center"> | ||
<div class="disclaimer__container px-3 bg-white"> | ||
<h1> | ||
COVID-19 - Next Step | ||
</h1> | ||
<CovidSuggestions v-if="id" :id="id" /> | ||
<b-img v-else-if="busy" src="~/static/loader.gif" alt="Loading" /> | ||
<NoticeMessage v-else-if="!myid" variant="info"> | ||
Please log in to view the people who may be able to help. | ||
<NoticeMessage variant="danger"> | ||
<p> | ||
We are sorry to say that in the light of the Government's announcement on 23rd March, we are suspending | ||
our COVID-19 assistance service. If you are vulnerable, please register using the Government scheme | ||
<a href="https://www.gov.uk/coronavirus-extremely-vulnerable">here</a>. | ||
</p> | ||
</NoticeMessage> | ||
<b-btn v-if="!busy" variant="primary" size="lg" class="mt-1 mb-2" @click="nolonger"> | ||
<v-icon v-if="savingnolonger" name="sync" class="fa-spin" /> | ||
<v-icon v-else-if="savednolonger" name="check" /> | ||
<v-icon v-else name="thumbs-up" /> | ||
I no longer need help | ||
</b-btn> | ||
<p>If you have problems with this page please mail us at <a href="mailto:[email protected]">[email protected]</a></p> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import CovidSuggestions from '../../components/CovidSuggestions' | ||
import NoticeMessage from '../../components/NoticeMessage' | ||
import loginRequired from '@/mixins/loginRequired.js' | ||
import buildHead from '@/mixins/buildHead.js' | ||
import waitForRef from '@/mixins/waitForRef' | ||
export default { | ||
components: { NoticeMessage, CovidSuggestions }, | ||
components: { NoticeMessage }, | ||
mixins: [buildHead, loginRequired, waitForRef], | ||
data: function() { | ||
return { | ||
|
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
Oops, something went wrong.