added linter
This commit is contained in:
@@ -133,9 +133,11 @@ export default function CaseSummary() {
|
|||||||
</dt>
|
</dt>
|
||||||
<dd className="govuk-summary-list__value">
|
<dd className="govuk-summary-list__value">
|
||||||
Allowed
|
Allowed
|
||||||
<a href="/">
|
<Link href="/">
|
||||||
3272770 Appeal Decision.pdf
|
<a>
|
||||||
</a>
|
3272770 Appeal Decision.pdf
|
||||||
|
</a>
|
||||||
|
</Link>
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
<div className="govuk-summary-list__row">
|
<div className="govuk-summary-list__row">
|
||||||
|
|||||||
@@ -20,12 +20,12 @@ export default function Footer(props) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<footer className="govuk-footer " role="contentinfo">
|
<footer className="govuk-footer " role="contentinfo">
|
||||||
<div class="sharebar" id="sharebar">
|
<div className="sharebar" id="sharebar">
|
||||||
<div class="sharebar__components container-fluid">
|
<div className="sharebar__components container-fluid">
|
||||||
<div class="main__sharebar">
|
<div className="main__sharebar">
|
||||||
<div
|
<div
|
||||||
id="sharebar__backtotop"
|
id="sharebar__backtotop"
|
||||||
class="btn--outlined btn--arrow-up"
|
className="btn--outlined btn--arrow-up"
|
||||||
>
|
>
|
||||||
<a href="#page_wrapper">Back to top</a>
|
<a href="#page_wrapper">Back to top</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -47,6 +47,7 @@ export default function Footer(props) {
|
|||||||
id="aTermsConds"
|
id="aTermsConds"
|
||||||
className="govuk-footer__link"
|
className="govuk-footer__link"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
{t(
|
{t(
|
||||||
"common:footer-terms-conditions-link"
|
"common:footer-terms-conditions-link"
|
||||||
@@ -59,6 +60,7 @@ export default function Footer(props) {
|
|||||||
id="aPrivacy"
|
id="aPrivacy"
|
||||||
className="govuk-footer__link"
|
className="govuk-footer__link"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
{t("common:footer-privacy-link")}
|
{t("common:footer-privacy-link")}
|
||||||
</a>
|
</a>
|
||||||
@@ -69,6 +71,7 @@ export default function Footer(props) {
|
|||||||
id="aCookies"
|
id="aCookies"
|
||||||
className="govuk-footer__link"
|
className="govuk-footer__link"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
{t("common:footer-cookies-link")}
|
{t("common:footer-cookies-link")}
|
||||||
</a>
|
</a>
|
||||||
@@ -79,6 +82,7 @@ export default function Footer(props) {
|
|||||||
className="govuk-footer__link"
|
className="govuk-footer__link"
|
||||||
id="aAccess"
|
id="aAccess"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
{t("common:footer-accessibility-link")}
|
{t("common:footer-accessibility-link")}
|
||||||
</a>
|
</a>
|
||||||
@@ -88,6 +92,7 @@ export default function Footer(props) {
|
|||||||
href="http://www.gov.uk/guidance/feedback"
|
href="http://www.gov.uk/guidance/feedback"
|
||||||
id="feedback"
|
id="feedback"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
{t("common:footer-feedback-link")}
|
{t("common:footer-feedback-link")}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
+52
-52
File diff suppressed because one or more lines are too long
@@ -1,23 +1,30 @@
|
|||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
|
import Image from "next/image";
|
||||||
import { useRouter } from "next/router";
|
import { useRouter } from "next/router";
|
||||||
import useTranslation from "next-translate/useTranslation";
|
import useTranslation from "next-translate/useTranslation";
|
||||||
|
|
||||||
export default function Inspectorate() {
|
export default function Inspectorate() {
|
||||||
let { t } = useTranslation();
|
let { t } = useTranslation();
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const { locale } = router;
|
const { locale } = router;
|
||||||
return (
|
return (
|
||||||
<div className="card clear" id="inspectorate-card">
|
<div className="card clear" id="inspectorate-card">
|
||||||
<div className="card-body">
|
<div className="card-body">
|
||||||
<img src="assets/images/PINS_dual_logo_400.png" />
|
<Image
|
||||||
<p className="govuk-body-s">
|
alt="Planning Inspectorate"
|
||||||
{t("home:inspectorate-card-visit-label")}:{" "}
|
src="/assets/images/PINS_dual_logo_400.png"
|
||||||
<Link href="/">
|
width="380px"
|
||||||
<a>{t("home:inspectorate-card-visit-link")}</a>
|
height="58px"
|
||||||
</Link>
|
layout="responsive"
|
||||||
</p>
|
/>
|
||||||
</div>
|
<p className="govuk-body-s">
|
||||||
</div>
|
{t("home:inspectorate-card-visit-label")}:{" "}
|
||||||
);
|
<Link href="/">
|
||||||
|
<a>{t("home:inspectorate-card-visit-link")}</a>
|
||||||
|
</Link>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,6 +32,8 @@
|
|||||||
"webpack": "^5.40.0"
|
"webpack": "^5.40.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"eslint": "^7.29.0",
|
||||||
|
"eslint-config-next": "^11.0.1",
|
||||||
"prettier": "2.3.2"
|
"prettier": "2.3.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
|
|
||||||
|
|
||||||
export default (req, res) => {
|
|
||||||
res.status(200).json({ name: 'John Doe' })
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user