Merged PR 641: updated footer content
Related work items: #6631, #6632, #6756
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import Link from "next/link";
|
||||
import { useRouter } from "next/router";
|
||||
import useTranslation from "next-translate/useTranslation";
|
||||
import AccessibilityEN from "./footerDocs/accessibility_en";
|
||||
import AccessibilityCY from "./footerDocs/accessibility_cy";
|
||||
|
||||
const AccessibilityStatement = (props) => {
|
||||
let { t } = useTranslation();
|
||||
@@ -16,14 +18,7 @@ const AccessibilityStatement = (props) => {
|
||||
id="main-content"
|
||||
role="main"
|
||||
>
|
||||
<div className="govuk-grid-row">
|
||||
<div className="govuk-grid-column-full">
|
||||
<h1 className="govuk-heading-l govuk-!-margin-bottom-7">
|
||||
Accessibility Statement
|
||||
</h1>
|
||||
<p>bkah blah</p>
|
||||
</div>
|
||||
</div>
|
||||
{router.locale != "en" ? <AccessibilityCY /> : <AccessibilityEN />}
|
||||
</main>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -238,11 +238,9 @@ export default function Footer(props) {
|
||||
|
||||
<li className="govuk-footer__inline-list-item">
|
||||
<Link
|
||||
href={
|
||||
router.locale == "cy"
|
||||
? "/telerau-ac-amodau"
|
||||
: "/terms-and-conditions"
|
||||
}
|
||||
href={t(
|
||||
"common:footer-terms-conditions-link"
|
||||
)}
|
||||
>
|
||||
<a
|
||||
id="aTermsConds"
|
||||
|
||||
@@ -0,0 +1,225 @@
|
||||
import Link from "next/link";
|
||||
import { useRouter } from "next/router";
|
||||
import useTranslation from "next-translate/useTranslation";
|
||||
|
||||
export default function AccessibilityCY() {
|
||||
let { t } = useTranslation();
|
||||
|
||||
const router = useRouter();
|
||||
const { locale } = router;
|
||||
return (
|
||||
<div className="govuk-grid-row govuk-body">
|
||||
<div className="govuk-grid-column-full">
|
||||
<h2 className="govuk-heading-l govuk-!-margin-bottom-7">
|
||||
Datganiad Hygyrchedd ar gyfer Porth Penderfyniadau Cynllunio
|
||||
ac Amgylchedd Cymru{" "}
|
||||
</h2>
|
||||
|
||||
<p>
|
||||
Mae’r datganiad hygyrchedd hwn yn berthnasol i borth ar-lein
|
||||
Penderfyniadau Cynllunio ac Amgylchedd Cymru (PCAC) ar gyfer
|
||||
cyflwyno ac adolygu dogfennau sy’n ymwneud â’r gwaith achos
|
||||
rydym yn ei brosesu.
|
||||
</p>
|
||||
<p>
|
||||
Cynhelir y wefan hon gan PCAC, sef un o Is-adrannau
|
||||
Llywodraeth Cymru. Rydym eisiau i gynifer o bobl â phosibl
|
||||
allu defnyddio’r wefan hon. Er enghraifft, mae hynny’n
|
||||
golygu y dylech allu:
|
||||
</p>
|
||||
<ul>
|
||||
<li>newid lliwiau, lefelau cyferbynnedd a ffontiau</li>
|
||||
<li>
|
||||
chwyddo i mewn hyd at 300% heb i’r testun fynd oddi ar y
|
||||
sgrin
|
||||
</li>
|
||||
<li>
|
||||
llywio’r rhan fwyaf o’r wefan gan ddefnyddio bysellfwrdd
|
||||
yn unig
|
||||
</li>
|
||||
<li>
|
||||
llywio’r rhan fwyaf o’r wefan gan ddefnyddio meddalwedd
|
||||
adnabod llais
|
||||
</li>
|
||||
<li>
|
||||
gwrando ar y rhan fwyaf o’r wefan gan ddefnyddio rhaglen
|
||||
darllen sgrin (gan gynnwys fersiynau diweddaraf JAWS,
|
||||
NVDA a VoiceOver)
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
Rydym hefyd wedi gwneud testun y wefan mor syml ei ddeall â
|
||||
phosibl.
|
||||
</p>
|
||||
<p>
|
||||
Mae AbilityNet yn rhoi cyngor ar wneud eich dyfais yn haws
|
||||
ei defnyddio os oes gennych anabledd.
|
||||
</p>
|
||||
|
||||
<h3>Pa mor hygyrch yw’r wefan hon</h3>
|
||||
<p>
|
||||
Rydym yn gwybod nad yw rhai rhannau o’r wefan hon yn gwbl
|
||||
hygyrch:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
ni fydd y testun yn ail-lifo mewn un golofn pan fyddwch
|
||||
yn newid maint y ffenestr bori{" "}
|
||||
</li>
|
||||
<li>
|
||||
ni allwch addasu uchder llinell testun na’r gofod rhwng
|
||||
testun
|
||||
</li>
|
||||
<li>
|
||||
nid yw’r rhan fwyaf o ddogfennau PDF hŷn yn gwbl hygyrch
|
||||
i feddalwedd darllen sgrin
|
||||
</li>
|
||||
<li>nid oes gan ffrydiau fideo byw gapsiynau</li>
|
||||
<li>
|
||||
mae rhai o’n ffurflenni ar-lein yn anodd eu llywio gan
|
||||
ddefnyddio bysellfwrdd yn unig{" "}
|
||||
</li>
|
||||
<li>
|
||||
ni allwch neidio i’r prif gynnwys pan fyddwch yn
|
||||
defnyddio rhaglen darllen sgrin{" "}
|
||||
</li>
|
||||
<li>
|
||||
mae terfyn ar ba mor fawr y gallwch chwyddo’r map ar ein
|
||||
tudalen ‘cysylltwch â ni’
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3>Adborth a gwybodaeth gyswllt</h3>
|
||||
|
||||
<p>
|
||||
Os oes arnoch angen y wybodaeth ar y wefan hon mewn fformat
|
||||
arall, fel PDF hygyrch, print bras, fersiwn hawdd ei
|
||||
darllen, recordiad sain neu braille:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Anfonwch neges e-bost at:{" "}
|
||||
<a
|
||||
className="govuk-link--no-underline govuk-!-font-weight-bold"
|
||||
href="mailto:PEDW.GwaithAchos@llyw.cymru"
|
||||
>
|
||||
PEDW.GwaithAchos@llyw.cymru
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
Ffoniwch:{" "}
|
||||
<a
|
||||
className="govuk-link--no-underline govuk-!-font-weight-bold"
|
||||
href="tel:03000 604400"
|
||||
>
|
||||
03000 604400
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
Byddwn yn ystyried eich cais ac yn cysylltu â chi ymhen 5
|
||||
niwrnod.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Os na allwch weld y map ar ein tudalen ‘cysylltwch â ni’,
|
||||
ffoniwch ni neu anfonwch neges e-bost atom i gael
|
||||
cyfarwyddiadau;{" "}
|
||||
<a
|
||||
className="govuk-link--no-underline govuk-!-font-weight-bold"
|
||||
href="https://llyw.cymru/penderfyndiadau-cynllunio-ac-amgylchedd-cymru/cysylltwch-ni"
|
||||
>
|
||||
Cysylltwch â Ni
|
||||
</a>
|
||||
.
|
||||
</p>
|
||||
|
||||
<h3>Gweithdrefn orfodi</h3>
|
||||
|
||||
<p>
|
||||
Mae’r Comisiwn Cydraddoldeb a Hawliau Dynol (EHRC) yn
|
||||
gyfrifol am orfodi Rheoliadau Hygyrchedd Cyrff Sector
|
||||
Cyhoeddus (Gwefannau ac Apiau Symudol) (Rhif 2) 2018 (y
|
||||
‘rheoliadau hygyrchedd’). Os nad ydych yn fodlon â’r ffordd
|
||||
rydym yn ymateb i’ch cwyn, cysylltwch â’r Gwasanaeth
|
||||
Cynghori a Chymorth Cydraddoldeb (EASS).
|
||||
</p>
|
||||
|
||||
<h3>Cysylltu â ni ar y ffôn neu ymweld â ni’n bersonol</h3>
|
||||
|
||||
<p>
|
||||
Rydym yn darparu gwasanaeth cyfnewid testun ar gyfer pobl
|
||||
B/byddar, pobl sydd â nam ar y clyw neu bobl sydd â nam ar y
|
||||
lleferydd.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Mae dolenni sain yn ein swyddfeydd hefyd, neu os byddwch yn
|
||||
cysylltu â ni cyn eich ymweliad gallwn drefnu dehonglydd
|
||||
Iaith Arwyddion Prydain (BSL).
|
||||
</p>
|
||||
|
||||
<p>Dysgwch sut i gysylltu â ni.</p>
|
||||
|
||||
<h3>Gwybodaeth dechnegol am hygyrchedd y wefan hon</h3>
|
||||
|
||||
<p>
|
||||
Mae PCAC wedi ymrwymo i wneud ei wefan yn hygyrch, yn unol â
|
||||
Rheoliadau Hygyrchedd Cyrff Sector Cyhoeddus (Gwefannau ac
|
||||
Apiau Symudol) (Rhif 2) 2018.
|
||||
</p>
|
||||
|
||||
<h3>Statws cydymffurfio</h3>
|
||||
|
||||
<p>
|
||||
Mae’r wefan hon yn cydymffurfio’n rhannol â Chanllawiau
|
||||
Hygyrchedd Cynnwys y We (WCAG) fersiwn 2.1 – safon Lefel AA,
|
||||
o ganlyniad i’r ‘achosion o ddiffyg
|
||||
cydymffurfio’/’eithriadau’ neu’r ‘achosion o ddiffyg
|
||||
cydymffurfio ac eithriadau’] a restrir isod.
|
||||
</p>
|
||||
|
||||
<h3>Diffyg cydymffurfio â’r rheoliadau hygyrchedd</h3>
|
||||
|
||||
<p>
|
||||
Nid oes testun amgen ar gyfer rhai delweddau, felly ni all
|
||||
pobl sy’n defnyddio rhaglen darllen sgrin gael at y
|
||||
wybodaeth. Mae hyn yn methu maen prawf llwyddiant 1.1.1
|
||||
(cynnwys nad yw’n destun).
|
||||
</p>
|
||||
<p>
|
||||
Bwriadwn ychwanegu testun amgen at yr holl ddelweddau erbyn
|
||||
mis Medi 2020. Pan fyddwn yn cyhoeddi cynnwys newydd, byddwn
|
||||
yn sicrhau bod ein defnydd o ddelweddau’n bodloni safonau
|
||||
hygyrchedd.
|
||||
</p>
|
||||
|
||||
<h3>Paratoi’r datganiad hygyrchedd hwn</h3>
|
||||
|
||||
<p>
|
||||
Paratowyd y datganiad hwn ar [TBC]. Fe’i hadolygwyd
|
||||
ddiwethaf ar [TBC when signed off].
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Profwyd y wefan hon ddiwethaf ar [TBC]. Cynhaliwyd y prawf
|
||||
gan [add name of organisation that carried out test, or
|
||||
indicate that you did your own testing].
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Gwnaethom ddefnyddio’r dull hwn i benderfynu ar sampl o
|
||||
dudalennau i’w profi [add link to explanation of how you
|
||||
decided which pages to test].
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Gallwch ddarllen yr adroddiad llawn ar y prawf hygyrchedd
|
||||
[add link to report].
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,219 @@
|
||||
import Link from "next/link";
|
||||
import { useRouter } from "next/router";
|
||||
import useTranslation from "next-translate/useTranslation";
|
||||
|
||||
export default function AccessibilityEN() {
|
||||
let { t } = useTranslation();
|
||||
|
||||
const router = useRouter();
|
||||
const { locale } = router;
|
||||
return (
|
||||
<div className="govuk-grid-row govuk-body">
|
||||
<div className="govuk-grid-column-full">
|
||||
<h2 className="govuk-heading-l govuk-!-margin-bottom-7">
|
||||
Accessibility Statement for Planning and Environment
|
||||
Decisions Wales Portal
|
||||
</h2>
|
||||
|
||||
<p>
|
||||
This accessibility statement applies to Planning and
|
||||
Environment Decisions Wales’ (PEDW) online portal for the
|
||||
submission and review of documents related to the casework
|
||||
we process.
|
||||
</p>
|
||||
<p>
|
||||
This website is run by PEDW, a Division of The Welsh
|
||||
Government. We want as many people as possible to be able to
|
||||
use this website. For example, that means you should be able
|
||||
to:
|
||||
</p>
|
||||
<ul>
|
||||
<li>change colours, contrast levels and fonts</li>
|
||||
<li>
|
||||
zoom in up to 300% without the text spilling off the
|
||||
screen
|
||||
</li>
|
||||
<li>navigate most of the website using just a keyboard</li>
|
||||
<li>
|
||||
navigate most of the website using speech recognition
|
||||
software
|
||||
</li>
|
||||
<li>
|
||||
listen to most of the website using a screen reader
|
||||
(including the most recent versions of JAWS, NVDA and
|
||||
VoiceOver)
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
We’ve also made the website text as simple as possible to
|
||||
understand.
|
||||
</p>
|
||||
<p>
|
||||
AbilityNet has advice on making your device easier to use if
|
||||
you have a disability.
|
||||
</p>
|
||||
|
||||
<h3>How accessible this website is</h3>
|
||||
<p>
|
||||
We know some parts of this website are not fully accessible:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
the text will not reflow in a single column when you
|
||||
change the size of the browser window
|
||||
</li>
|
||||
<li>
|
||||
you cannot modify the line height or spacing of text
|
||||
</li>
|
||||
<li>
|
||||
most older PDF documents are not fully accessible to
|
||||
screen reader software
|
||||
</li>
|
||||
<li>live video streams do not have captions</li>
|
||||
<li>
|
||||
some of our online forms are difficult to navigate using
|
||||
just a keyboard
|
||||
</li>
|
||||
<li>
|
||||
you cannot skip to the main content when using a screen
|
||||
reader
|
||||
</li>
|
||||
<li>
|
||||
there’s a limit to how far you can magnify the map on
|
||||
our ‘contact us’ page
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3>Feedback and contact information</h3>
|
||||
|
||||
<p>
|
||||
If you need information on this website in a different
|
||||
format like accessible PDF, large print, easy read, audio
|
||||
recording or braille:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Email:{" "}
|
||||
<a
|
||||
className="govuk-link--no-underline govuk-!-font-weight-bold"
|
||||
href="mailto:PEDW.Casework@gov.wales"
|
||||
>
|
||||
PEDW.Casework@gov.wales
|
||||
</a>{" "}
|
||||
</li>
|
||||
<li>
|
||||
Call:{" "}
|
||||
<a
|
||||
className="govuk-link--no-underline govuk-!-font-weight-bold"
|
||||
href="tel:03000 604400"
|
||||
>
|
||||
03000 604400
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
We’ll consider your request and get back to you in no later
|
||||
than 5 days.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
If you cannot view the map on our ‘contact us’ page, please
|
||||
call or email us for directions; Contact Us.
|
||||
</p>
|
||||
|
||||
<h3>Enforcement procedure</h3>
|
||||
|
||||
<p>
|
||||
The Equality and Human Rights Commission (EHRC) is
|
||||
responsible for enforcing the Public Sector Bodies (Websites
|
||||
and Mobile Applications) (No. 2) Accessibility Regulations
|
||||
2018 (the ‘accessibility regulations’). If you’re not happy
|
||||
with how we respond to your complaint, contact the Equality
|
||||
Advisory and Support Service (EASS).
|
||||
</p>
|
||||
|
||||
<h3>Contacting us by phone or visiting us in person</h3>
|
||||
|
||||
<p>
|
||||
We provide a text relay service for people who are D/deaf,
|
||||
hearing impaired or have a speech impediment.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Our offices have audio induction loops, or if you contact us
|
||||
before your visit we can arrange a British Sign Language
|
||||
(BSL) interpreter.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Find out how to{" "}
|
||||
<a
|
||||
className="govuk-link--no-underline govuk-!-font-weight-bold"
|
||||
href="https://gov.wales/planning-and-environment-decisions-wales/contact-us"
|
||||
>
|
||||
contact us
|
||||
</a>
|
||||
.
|
||||
</p>
|
||||
|
||||
<h3>
|
||||
Technical information about this website’s accessibility
|
||||
</h3>
|
||||
|
||||
<p>
|
||||
PEDW is committed to making its website accessible, in
|
||||
accordance with the Public Sector Bodies (Websites and
|
||||
Mobile Applications) (No. 2) Accessibility Regulations 2018.
|
||||
</p>
|
||||
|
||||
<h3>Compliance status</h3>
|
||||
|
||||
<p>
|
||||
This website is partially compliant with the Web Content
|
||||
Accessibility Guidelines version 2.1 – Level AA standard,
|
||||
due to the non-compliances’/‘the exemptions’ or ‘the
|
||||
non-compliances and exemptions’] listed below.
|
||||
</p>
|
||||
|
||||
<h3>Non-compliance with the accessibility regulations</h3>
|
||||
|
||||
<p>
|
||||
Some images do not have a text alternative, so people using
|
||||
a screen reader cannot access the information. This fails
|
||||
WCAG 2.1 success criterion 1.1.1 (non-text content).
|
||||
</p>
|
||||
<p>
|
||||
We plan to add text alternatives for all images by September
|
||||
2020. When we publish new content we’ll make sure our use of
|
||||
images meets accessibility standards.
|
||||
</p>
|
||||
|
||||
<h3>Preparation of this accessibility statement</h3>
|
||||
|
||||
<p>
|
||||
This statement was prepared on [TBC]. It was last reviewed
|
||||
on [TBC when signed off].
|
||||
</p>
|
||||
|
||||
<p>
|
||||
This website was last tested on [TBC]. The test was carried
|
||||
out by [add name of organisation that carried out test, or
|
||||
indicate that you did your own testing].
|
||||
</p>
|
||||
|
||||
<p>
|
||||
We used this approach to deciding on a sample of pages to
|
||||
test [add link to explanation of how you decided which pages
|
||||
to test].
|
||||
</p>
|
||||
|
||||
<p>
|
||||
You can read the full accessibility test report [add link to
|
||||
report].
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,19 @@
|
||||
import Link from "next/link";
|
||||
import { useRouter } from "next/router";
|
||||
import useTranslation from "next-translate/useTranslation";
|
||||
|
||||
export default function TandCCY() {
|
||||
let { t } = useTranslation();
|
||||
|
||||
const router = useRouter();
|
||||
const { locale } = router;
|
||||
return (
|
||||
<div className="govuk-grid-row govuk-body">
|
||||
<div className="govuk-grid-column-full">
|
||||
<h2 className="govuk-heading-l govuk-!-margin-bottom-7">
|
||||
T and c CY
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
import Link from "next/link";
|
||||
import { useRouter } from "next/router";
|
||||
import useTranslation from "next-translate/useTranslation";
|
||||
|
||||
export default function TandCEN() {
|
||||
let { t } = useTranslation();
|
||||
|
||||
const router = useRouter();
|
||||
const { locale } = router;
|
||||
return (
|
||||
<div className="govuk-grid-row govuk-body">
|
||||
<div className="govuk-grid-column-full">
|
||||
<h2 className="govuk-heading-l govuk-!-margin-bottom-7">
|
||||
T and c
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
+35
-12
@@ -9,6 +9,7 @@ import AwaitingSubmission from "./myportal/awaitingsubmission";
|
||||
import MyRepresentations from "./myportal/myrepresentations";
|
||||
import WatchedCases from "./myportal/watchedcases";
|
||||
import YourAccount from "./myportal/youraccount";
|
||||
import { parseCookies, setCookie, destroyCookie } from "nookies";
|
||||
|
||||
const MyPortal = (props) => {
|
||||
let { t } = useTranslation();
|
||||
@@ -18,26 +19,48 @@ const MyPortal = (props) => {
|
||||
|
||||
return (
|
||||
<main className="" id="main-content" role="main">
|
||||
<div className="servicebanner govuk-!-margin-bottom-4">
|
||||
<div className="servicebanner myportal govuk-!-margin-bottom-4">
|
||||
<h1>
|
||||
<img
|
||||
src={
|
||||
router.locale == "cy"
|
||||
? "/assets/images/my-portal-cy.svg"
|
||||
: "/assets/images/my-portal-en.svg"
|
||||
? "/assets/images/planning-casework-cy.svg"
|
||||
: "/assets/images/planning-casework-en.svg"
|
||||
}
|
||||
alt={router.locale == "cy" ? "Fy mhorth" : "My Portal"}
|
||||
/>
|
||||
<img
|
||||
className="pedw_logo"
|
||||
src="/assets/images/pedw_logo.png"
|
||||
alt={
|
||||
router.locale == "cy"
|
||||
? "Penderfyniadau Cynllunio ac Amgylchedd Cymru"
|
||||
: "Planning & Environment Decisions Wales"
|
||||
}
|
||||
/>
|
||||
</h1>
|
||||
|
||||
<div className="serviceBanner_userDetails">
|
||||
<img
|
||||
className="user_logo"
|
||||
src="/assets/images/user.svg"
|
||||
alt={router.locale == "cy" ? "Defnyddiwr" : "User"}
|
||||
/>{" "}
|
||||
<div className="serviceBanner_userDetails_name">
|
||||
{props.accountDetails.accountDetails.firstname}{" "}
|
||||
{props.accountDetails.accountDetails.lastname}
|
||||
</div>
|
||||
<div>
|
||||
<Link
|
||||
href={
|
||||
router.locale == "cy"
|
||||
? "/allgofnodi"
|
||||
: "/logout"
|
||||
}
|
||||
>
|
||||
<a
|
||||
onClick={() => {
|
||||
destroyCookie({}, "pinsUser"),
|
||||
window.localStorage.clear();
|
||||
}}
|
||||
className="govuk-header__link govuk-!-margin-right-3"
|
||||
>
|
||||
{t("common:signout-label")}
|
||||
</a>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="govuk-grid-row">
|
||||
<div className="govuk-grid-column-full">
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import Link from "next/link";
|
||||
import { useRouter } from "next/router";
|
||||
import useTranslation from "next-translate/useTranslation";
|
||||
|
||||
import PrivacyEN from "./footerDocs/privacy_en";
|
||||
import PrivacyCY from "./footerDocs/privacy_cy";
|
||||
const PrivacyStatement = (props) => {
|
||||
let { t } = useTranslation();
|
||||
|
||||
@@ -16,14 +17,7 @@ const PrivacyStatement = (props) => {
|
||||
id="main-content"
|
||||
role="main"
|
||||
>
|
||||
<div className="govuk-grid-row">
|
||||
<div className="govuk-grid-column-full">
|
||||
<h1 className="govuk-heading-l govuk-!-margin-bottom-7">
|
||||
Privacy Statement
|
||||
</h1>
|
||||
<p>bkah blah</p>
|
||||
</div>
|
||||
</div>
|
||||
{router.locale != "en" ? <PrivacyCY /> : <PrivacyEN />}
|
||||
</main>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -9,6 +9,7 @@ export default function ServiceBanner() {
|
||||
<div className="servicebanner">
|
||||
<h1>
|
||||
<img
|
||||
className="govuk-!-margin-top-4"
|
||||
src={
|
||||
router.locale == "cy"
|
||||
? "/assets/images/planning-casework-cy.svg"
|
||||
@@ -16,7 +17,7 @@ export default function ServiceBanner() {
|
||||
}
|
||||
alt="Planning casework"
|
||||
/>
|
||||
<img
|
||||
{/* <img
|
||||
className="pedw_logo"
|
||||
src="/assets/images/pedw_logo.png"
|
||||
alt={
|
||||
@@ -24,7 +25,7 @@ export default function ServiceBanner() {
|
||||
? "Penderfyniadau Cynllunio ac Amgylchedd Cymru"
|
||||
: "Planning & Environment Decisions Wales"
|
||||
}
|
||||
/>
|
||||
/> */}
|
||||
</h1>
|
||||
</div>
|
||||
);
|
||||
|
||||
+3
-8
@@ -1,6 +1,8 @@
|
||||
import Link from "next/link";
|
||||
import { useRouter } from "next/router";
|
||||
import useTranslation from "next-translate/useTranslation";
|
||||
import TandCEN from "./footerDocs/tandc_en";
|
||||
import TandCCY from "./footerDocs/tandc_cy";
|
||||
|
||||
const TermsAndConditionsStatement = (props) => {
|
||||
let { t } = useTranslation();
|
||||
@@ -16,14 +18,7 @@ const TermsAndConditionsStatement = (props) => {
|
||||
id="main-content"
|
||||
role="main"
|
||||
>
|
||||
<div className="govuk-grid-row">
|
||||
<div className="govuk-grid-column-full">
|
||||
<h1 className="govuk-heading-l govuk-!-margin-bottom-7">
|
||||
{t("common:footer-terms-conditions-link-label")}
|
||||
</h1>
|
||||
<p>bkah blah</p>
|
||||
</div>
|
||||
</div>
|
||||
{router.locale != "en" ? <TandCCY /> : <TandCEN />}
|
||||
</main>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"search-button": "Chwilio",
|
||||
"submit-and-start": "Cyflwyno a dechrau'r cwrs",
|
||||
"footer-terms-conditions-link-label": "Telerau ac amodau",
|
||||
"footer-terms-conditions-link": "/telerau-ac-amodau",
|
||||
"footer-terms-conditions-link": "https://llyw.cymru/telerau-ac-amodau",
|
||||
"footer-privacy-link-label": "Preifatrwydd",
|
||||
"footer-privacy-link": "/preifatrwydd",
|
||||
"footer-cookies-link": "Cwcis",
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"search-button": "Search",
|
||||
"submit-and-start": "Submit and start course",
|
||||
"footer-terms-conditions-link-label": "Terms and conditions",
|
||||
"footer-terms-conditions-link": "/terms-and-conditions",
|
||||
"footer-terms-conditions-link": "https://gov.wales/terms-and-conditions",
|
||||
"footer-privacy-link-label": "Privacy",
|
||||
"footer-privacy-link": "/privacy",
|
||||
"footer-cookies-link": "Cookies",
|
||||
|
||||
@@ -123,6 +123,11 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
async ({ query, req, res }) => {
|
||||
console.log("query-", query);
|
||||
|
||||
res.setHeader(
|
||||
"Cache-Control",
|
||||
"public, s-maxage=10, stale-while-revalidate=59"
|
||||
);
|
||||
|
||||
let token = await getToken();
|
||||
|
||||
var tokenIssuedAt = new Date();
|
||||
|
||||
@@ -52,6 +52,7 @@ const Home = (props) => {
|
||||
myRepresentations,
|
||||
watchedCases,
|
||||
awaitingSubmission,
|
||||
accountDetails,
|
||||
} = props;
|
||||
let { t, lang } = useTranslation();
|
||||
|
||||
@@ -137,6 +138,7 @@ const Home = (props) => {
|
||||
myRepresentations={myRepresentations}
|
||||
watchedCases={watchedCases}
|
||||
awaitingSubmission={awaitingSubmission}
|
||||
accountDetails={accountDetails}
|
||||
/>
|
||||
</div>
|
||||
<Footer footerLinks={footerLinks} />
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>global/icon/user</title>
|
||||
<defs>
|
||||
<circle id="path-1" cx="10" cy="10" r="10"></circle>
|
||||
</defs>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="Group-15">
|
||||
<g id="Group-14">
|
||||
<mask id="mask-2" fill="white">
|
||||
<use xlink:href="#path-1"></use>
|
||||
</mask>
|
||||
<use id="Oval-2" fill="#0360A6" xlink:href="#path-1"></use>
|
||||
<g id="Group" mask="url(#mask-2)" fill="#0360A6">
|
||||
<g id="colour/blue/$blue-#0360a6">
|
||||
<polygon id="#0360a6" points="-5.81730895e-14 1.15040252e-13 20 1.15040252e-13 20 20 -5.81730895e-14 20"></polygon>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<path d="M10.0824634,10.3113192 C12.7982346,10.3113192 14.9978864,11.4111451 14.9978864,12.7690307 L14.9978864,13.9978864 L5.16704039,13.9978864 L5.16704039,12.7690307 C5.16704039,11.4111451 7.36669219,10.3113192 10.0824634,10.3113192" id="Path" fill="#FFFFFF"></path>
|
||||
<path d="M10.0824634,4.16704039 C11.4397346,4.16704039 12.5401749,5.26748072 12.5401749,6.6247519 C12.5401749,7.98202308 11.4397346,9.0824634 10.0824634,9.0824634 C8.72519222,9.0824634 7.6247519,7.98202308 7.6247519,6.6247519 C7.6247519,5.26748072 8.72519222,4.16704039 10.0824634,4.16704039" id="Path" fill="#FFFFFF"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -213,11 +213,65 @@ a.longLinkBreak {
|
||||
|
||||
@media screen and (max-width: 360px) {
|
||||
flex-direction: column-reverse;
|
||||
align-items: flex-start;
|
||||
.pedw_logo {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.myportal {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@media screen and (max-width: 414px) {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
h1 {
|
||||
img {
|
||||
@media screen and (max-width: 414px) {
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.serviceBanner_userDetails {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
width: auto;
|
||||
align-items: center;
|
||||
|
||||
.serviceBanner_userDetails_name {
|
||||
padding-left: 8px;
|
||||
padding-right: 20px;
|
||||
color: $blue;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
@media screen and (max-width: 414px) {
|
||||
max-width: 41%;
|
||||
}
|
||||
}
|
||||
.govuk-header__link {
|
||||
color: $blue;
|
||||
font-weight: bold;
|
||||
border: 1px solid $blue;
|
||||
color: $blue;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
padding: 10px 20px;
|
||||
&:hover {
|
||||
background: $blue;
|
||||
border: 1px solid $blue;
|
||||
color: $white;
|
||||
font-size: 16px;
|
||||
padding: 10px 20px;
|
||||
text-decoration: none;
|
||||
}
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.govuk-grid-row {
|
||||
@@ -717,6 +771,15 @@ textarea,
|
||||
// background: #f3f2f1;
|
||||
// }
|
||||
|
||||
.annex {
|
||||
.govuk-summary-list__value {
|
||||
width: 33.333333%;
|
||||
@media screen and (max-width: 900px) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.govuk-summary-list__key,
|
||||
.govuk-summary-list__value,
|
||||
.govuk-summary-list__actions {
|
||||
|
||||
Reference in New Issue
Block a user