@defra/flood-webchat 0.0.1-beta.7 → 0.0.1-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,42 +0,0 @@
1
- import React from 'react'
2
-
3
- export function PreChat ({ screen, setScreen }) {
4
- const onContinue = (e) => {
5
- e.preventDefault()
6
- setScreen(screen + 1)
7
- }
8
-
9
- return (
10
- <>
11
- <h3 className='govuk-heading-s'>What you can use webchat for</h3>
12
- <p className='govuk-body-s'>Webchat lets you talk directly to a Floodline adviser.</p>
13
-
14
- <p className='govuk-body-s'>You can use webchat to get:</p>
15
- <ul className='govuk-list govuk-list--bullet govuk-body-s'>
16
- <li>current flood warnings and alerts in your area</li>
17
- <li>information on the flood warning service</li>
18
- <li>advice on what to do before, during and after a flood</li>
19
- </ul>
20
-
21
- <p className='govuk-body-s'>There are other ways to <a className='govuk-link' href='https://www.gov.uk/sign-up-for-flood-warnings'>sign up for flood warnings</a> and <a className='govuk-link' href='https://www.fws.environment-agency.gov.uk/app/olr/login'>manage your flood warnings account</a>.</p>
22
- <p className='govuk-body-s'>Do not use webchat to <a className='govuk-link' href='https://www.gov.uk/report-flood-cause'>report a flood</a>.</p>
23
-
24
- <button className='govuk-button' data-module='govuk-button' onClick={onContinue}>Continue</button>
25
-
26
- <h3 className='govuk-heading-s'>Other flood information</h3>
27
-
28
- <p className='govuk-body-s'>Call Floodline for all other flood and flood warning information.</p>
29
- <p className='govuk-body-s'>
30
- <strong>Floodline helpline</strong>
31
- <br />
32
- Telephone: 0345 988 1188
33
- <br />
34
- Textphone: 0345 602 6340
35
- <br />
36
- Open 24 hours a day, 7 days a week
37
- <br />
38
- <a className='govuk-link' href='https://gov.uk/call-charges'>Find out more about call charges</a>
39
- </p>
40
- </>
41
- )
42
- }
@@ -1,10 +0,0 @@
1
- import React from 'react'
2
-
3
- export function RequestChat ({ onBack }) {
4
- return (
5
- <>
6
- <a href='#' className='wc-back-link govuk-back-link' onClick={onBack}>What you can use webchat for</a>
7
- <h3 className='govuk-heading-s'>Your name and question</h3>
8
- </>
9
- )
10
- }