From a5ee59f5572c423d4fcbc921dde5986146d190bd Mon Sep 17 00:00:00 2001 From: Emma Date: Thu, 11 Aug 2022 17:30:22 +0100 Subject: [PATCH] Editing pass over text, updated start-a-clean validation to 50 characters. --- project-app/components/Forms/StartClean.jsx | 9 +++++---- project-app/components/Landing/Landing.jsx | 6 +++--- .../NavGetInvolved/NavGetInvolved.jsx | 2 +- .../components/OurMission/OurMission.jsx | 17 +++++++---------- project-app/components/Stats/Stats.jsx | 2 +- .../components/Weather/WeatherForecast.jsx | 4 ++-- project-app/components/Weather/WeatherReqs.jsx | 2 +- project-app/pages/index.js | 2 +- project-app/pages/log-a-clean.js | 6 +++--- project-app/pages/start-a-clean.js | 8 ++++---- 10 files changed, 28 insertions(+), 30 deletions(-) diff --git a/project-app/components/Forms/StartClean.jsx b/project-app/components/Forms/StartClean.jsx index 22035d9..0c136c1 100644 --- a/project-app/components/Forms/StartClean.jsx +++ b/project-app/components/Forms/StartClean.jsx @@ -68,7 +68,7 @@ const StartCleanForm = () => { .max(10, "Must be 10 characters or less") .required("Required"),*/ cleanName: Yup.string() - .max(20, "Must be 20 characters or less") + .max(50, "Must be 50 characters or less") .required("Required"), location: Yup.string() .max(50, "Must be 50 characters or less") @@ -81,9 +81,9 @@ const StartCleanForm = () => { .max(8, "Must be 8 characters or less") .required("Required"), host: Yup.string() - .max(15, "Must be 15 characters or less") + .max(25, "Must be 25 characters or less") .required("Required"), - notes: Yup.string().max(50, "Must be 50 characters or less"), + notes: Yup.string().max(75, "Must be 75 characters or less"), latitude: Yup.number(), longitude: Yup.number(), @@ -111,7 +111,7 @@ const StartCleanForm = () => { htmlFor="cleanName" className="pb-2 text-white text-lg font-medium" > - Your Clean-up Name + Your clean-up name { {
-

Project Clean-Up is a place where you can join others to make a difference to our - environment by creating or joining litter clean-ups. They can - be done anywhere from beaches to rivers and even national parks to your +

Project Clean-Up is a place where you can join others to improve the + environment by creating or joining litter clean-ups. They can + be done anywhere—from beaches, rivers, and even national parks, to your very own neighbourhood!

diff --git a/project-app/components/NavGetInvolved/NavGetInvolved.jsx b/project-app/components/NavGetInvolved/NavGetInvolved.jsx index e416308..d9886a8 100644 --- a/project-app/components/NavGetInvolved/NavGetInvolved.jsx +++ b/project-app/components/NavGetInvolved/NavGetInvolved.jsx @@ -33,7 +33,7 @@ const NavGetInvolved = () => {
-

If you would like to join a clean-up in your area, click "Join A Clean", and sign up by joining an existing clean on the map. Start a clean-up in your area by clicking the "Start A Clean" button. If you have hosted an event, make sure to log the results of your hard work via the "Log A Clean" button to update the project with how many bags were collected and how many people took part.

+

If you would like to join a clean-up in your area, click "Join a Clean", and sign up with an existing clean on the map. Start a clean-up in your area by clicking the "Start a Clean" button. If you have hosted an event, make sure to log the results of your hard work via the "Log a Clean" button to update the project with how many bags were collected and how many people took part.

diff --git a/project-app/components/OurMission/OurMission.jsx b/project-app/components/OurMission/OurMission.jsx index 4110872..05d4ecf 100644 --- a/project-app/components/OurMission/OurMission.jsx +++ b/project-app/components/OurMission/OurMission.jsx @@ -5,17 +5,17 @@ const OurMission = () => { return (
-

What is Project Cleanup?

+

What is Project Clean-Up?

- Project Clean-Up allows you to start your own clean-up or join an + Project Clean-Up enables you to start your own litter clean-up, or join an existing one. All you have to do is go to the {" "} map {" "}and search for a clean-up in any area you're interested in. If one is available, simply click the map marker, read the details, then - go ahead and join that cleanup. If there aren't any, you could{" "} + go ahead and join that clean-up. If there aren't any, you could{" "} {

Get some friends together, make a family day of it, take your pupils out for an educational excursion, or even take your corporate team for - an authentic team-building day out. -

-

- Whichever you choose, you will be making a positive impact on the - environment. There are so many benefits when getting involved with a - cleanup; not only are you making a massive difference to the planet, - you are also immersing yourself in the great outdoors, keeping active, + an authentic team building experience. Whatever you choose, you will make a positive impact on the + environment. There are many benefits from getting involved with a + clean-up; not only are you making a massive difference to the planet, + you are immersing yourself in the great outdoors, keeping active, and meeting new people—all at the same time.

diff --git a/project-app/components/Stats/Stats.jsx b/project-app/components/Stats/Stats.jsx index cc78655..8026750 100644 --- a/project-app/components/Stats/Stats.jsx +++ b/project-app/components/Stats/Stats.jsx @@ -40,7 +40,7 @@ export default function Stats() { {

{/* CARD 3 */} -
+

{datConvertor(weatherObject?.list[24].dt)} @@ -121,7 +121,7 @@ const WeatherForecast = ({ weatherObject }) => {

{/* CARD 4 */} -
+

{datConvertor(weatherObject?.list[32].dt)} diff --git a/project-app/components/Weather/WeatherReqs.jsx b/project-app/components/Weather/WeatherReqs.jsx index 2df5446..dc237a1 100644 --- a/project-app/components/Weather/WeatherReqs.jsx +++ b/project-app/components/Weather/WeatherReqs.jsx @@ -6,7 +6,7 @@ const WeatherReqs = () => { return ( <>