From 79db69ff520791acd9d2f8f51cdd27c8e369ea2b Mon Sep 17 00:00:00 2001 From: Patrick Howard Date: Tue, 16 Apr 2024 16:18:32 -0400 Subject: [PATCH 1/9] new `DefaultPage` component --- app/app/components/DefaultPage.tsx | 160 +++++++++++++++++++++++++++++ 1 file changed, 160 insertions(+) create mode 100644 app/app/components/DefaultPage.tsx diff --git a/app/app/components/DefaultPage.tsx b/app/app/components/DefaultPage.tsx new file mode 100644 index 0000000..8a75435 --- /dev/null +++ b/app/app/components/DefaultPage.tsx @@ -0,0 +1,160 @@ +import {Header} from '../components/Header'; +import {Footer} from '../components/Footer'; + +import '../styles/nursing-home-abuse.css'; + +export interface DefaultPageProps { + title: string; + description: string | JSX.Element; + includeSidebar?: boolean; +} + +export default function DefaultPage(props: DefaultPageProps) { + return ( +
+
+
+
+
+
+
+
+
+
+
+
+

+ Dedication. Skill. Innovation. +
Trust The{' '} + + + Law Offices of Villard Bastien, LLC + + + . +

+
+
+
+
+
+
+
+
+
+
+
    +
  1. + + Home + + +
  2. + +  »  + + + {props.title} + +
+
+
+
+
+
+
+
+
+
+

{props.title}

+

{props.description}

+
+
+ {!props.includeSidebar ? null : ( + + )} +
+
+
+
+
+
+
+
+
+ ); +} From 1fe310c9fd9dd3614e0ecef50cd65d84fbe5c0e4 Mon Sep 17 00:00:00 2001 From: Patrick Howard Date: Tue, 16 Apr 2024 16:20:20 -0400 Subject: [PATCH 2/9] `Privacy`, `Disclaimer`, & `SiteMap` pages --- app/app/routes/disclaimer.tsx | 13 +++++++ app/app/routes/privacy.tsx | 16 ++++++++ app/app/routes/site-map.tsx | 72 +++++++++++++++++++++++++++++++++++ 3 files changed, 101 insertions(+) create mode 100644 app/app/routes/disclaimer.tsx create mode 100644 app/app/routes/privacy.tsx create mode 100644 app/app/routes/site-map.tsx diff --git a/app/app/routes/disclaimer.tsx b/app/app/routes/disclaimer.tsx new file mode 100644 index 0000000..afed1da --- /dev/null +++ b/app/app/routes/disclaimer.tsx @@ -0,0 +1,13 @@ +import DefaultPage from "../components/DefaultPage"; + +import "../styles/nursing-home-abuse.css"; + +export default function Disclaimer() { + return ( + + ); +} diff --git a/app/app/routes/privacy.tsx b/app/app/routes/privacy.tsx new file mode 100644 index 0000000..7de1741 --- /dev/null +++ b/app/app/routes/privacy.tsx @@ -0,0 +1,16 @@ +import DefaultPage from '../components/DefaultPage'; + +import '../styles/nursing-home-abuse.css'; + +export default function Privacy() { + return ( + + ); +} diff --git a/app/app/routes/site-map.tsx b/app/app/routes/site-map.tsx new file mode 100644 index 0000000..c28e876 --- /dev/null +++ b/app/app/routes/site-map.tsx @@ -0,0 +1,72 @@ +import DefaultPage from "../components/DefaultPage"; + +import "../styles/nursing-home-abuse.css"; + +export default function SiteMap() { + return ( + + +
+
+
+

People

+ +
+
+
+ + } + includeSidebar={true} + /> + ); +} From 654085f17dcce2d0d0b6ab89e304ba10b77e0b8d Mon Sep 17 00:00:00 2001 From: Patrick Howard Date: Tue, 16 Apr 2024 16:20:35 -0400 Subject: [PATCH 3/9] fix `Privacy` routing in `HelpForm` --- app/app/components/HelpForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app/components/HelpForm.tsx b/app/app/components/HelpForm.tsx index 1d61fff..f2d63b3 100644 --- a/app/app/components/HelpForm.tsx +++ b/app/app/components/HelpForm.tsx @@ -256,7 +256,7 @@ export default function HelpForm() { {' '} |{' '} Date: Tue, 16 Apr 2024 16:24:59 -0400 Subject: [PATCH 4/9] replace `Thomson Reuters Privacy Statement` text w/ placeholder `No Clocks` GitHub URL (#16) --- app/app/routes/privacy.tsx | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/app/app/routes/privacy.tsx b/app/app/routes/privacy.tsx index 7de1741..39e3f04 100644 --- a/app/app/routes/privacy.tsx +++ b/app/app/routes/privacy.tsx @@ -6,10 +6,20 @@ export default function Privacy() { return ( + Our law firm partners with No Clocks, LLC. To learn more about the No + Clocks privacy policy and the data that might be collected, please + visit:{' '} + + No Clocks GitHub + +

+ } includeSidebar={false} /> ); From 837baa6d0a71adfd451e3b89425132388c5f81e5 Mon Sep 17 00:00:00 2001 From: Patrick Howard Date: Fri, 19 Apr 2024 12:29:07 -0400 Subject: [PATCH 5/9] Simplified `Privacy Policy` --- app/app/routes/privacy.tsx | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/app/app/routes/privacy.tsx b/app/app/routes/privacy.tsx index 39e3f04..c74f498 100644 --- a/app/app/routes/privacy.tsx +++ b/app/app/routes/privacy.tsx @@ -6,20 +6,9 @@ export default function Privacy() { return ( - Our law firm partners with No Clocks, LLC. To learn more about the No - Clocks privacy policy and the data that might be collected, please - visit:{' '} - - No Clocks GitHub - -

- } + description='Currently, our law firm’s website does not collect any personal + data, unless provided by the user, such as through a contact form. This + policy may change in the future. If you have any questions, please contact us.' includeSidebar={false} /> ); From 35e0bf28a33d75844462ec3a8611943f7dedac45 Mon Sep 17 00:00:00 2001 From: Patrick Howard Date: Fri, 19 Apr 2024 12:29:16 -0400 Subject: [PATCH 6/9] update `DefaultPage` comp --- app/app/components/DefaultPage.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/app/components/DefaultPage.tsx b/app/app/components/DefaultPage.tsx index 8a75435..3f0bfb2 100644 --- a/app/app/components/DefaultPage.tsx +++ b/app/app/components/DefaultPage.tsx @@ -79,7 +79,11 @@ export default function DefaultPage(props: DefaultPageProps) { >

{props.title}

-

{props.description}

+ {typeof props.description === 'string' ? ( +

{props.description}

+ ) : ( + props.description + )}
{!props.includeSidebar ? null : ( From 01f67db170372c9650cfcb6c8bbad5ef1f64c17a Mon Sep 17 00:00:00 2001 From: Patrick Howard Date: Fri, 19 Apr 2024 12:47:26 -0400 Subject: [PATCH 7/9] fix `url`s in `home.css` --- app/app/styles/home.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/app/styles/home.css b/app/app/styles/home.css index 93a0029..1ee3b63 100644 --- a/app/app/styles/home.css +++ b/app/app/styles/home.css @@ -4577,7 +4577,7 @@ div.et_pb_section.et_pb_section_1_tb_body { background-image: linear-gradient(180deg, rgba(29, 51, 68, 0.68) 0%, rgba(29, 51, 68, 0.68) 100%), - url(https://www.bastienlaw.com/wp-content/uploads/sites/1302270/2021/06/banner.jpg) !important; + "../wp-content/uploads/sites/1302270/2021/06/banner.jpg" !important; } .et_pb_section_0_tb_body.et_pb_section { @@ -4723,7 +4723,7 @@ div.et_pb_section.et_pb_section_1_tb_body { background-image: linear-gradient(180deg, rgba(29, 51, 68, 0.68) 0%, rgba(29, 51, 68, 0.68) 100%), - url(https://www.bastienlaw.com/wp-content/uploads/sites/1302270/2021/06/banner-mobile.jpg) !important; + "../wp-content/uploads/sites/1302270/2021/06/banner-mobile.jpg" !important; } .et_pb_section_0_tb_body.et_pb_section { @@ -4753,7 +4753,7 @@ div.et_pb_section.et_pb_section_1_tb_body { div.et_pb_section.et_pb_section_0_tb_footer { background-blend-mode: overlay; - background-image: url(https://www.bastienlaw.com/wp-content/uploads/sites/1302270/2021/06/bg-short-form.jpg) !important; + background-image: '../wp-content/uploads/sites/1302270/2021/06/bg-short-form.jpg' !important; } .et_pb_section_0_tb_footer.et_pb_section { @@ -4991,7 +4991,7 @@ body #page-container .et_pb_section .et_pb_button_1_tb_footer:hover { @media only screen and (max-width: 767px) { div.et_pb_section.et_pb_section_0_tb_footer { - background-image: url(https://www.bastienlaw.com/wp-content/uploads/sites/1302270/2023/09/bg-short-form-mob.jpg) !important; + background-image: '../wp-content/uploads/sites/1302270/2023/09/bg-short-form-mob.jpg' !important; } .et_pb_section_0_tb_footer.et_pb_section { From 9cbdf44adafc86e9c5b2c5abd7495f6a9396bc73 Mon Sep 17 00:00:00 2001 From: Patrick Howard Date: Fri, 19 Apr 2024 12:47:31 -0400 Subject: [PATCH 8/9] cleanup --- app/app/styles/global.css | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/app/styles/global.css b/app/app/styles/global.css index fda1306..e199c5b 100644 --- a/app/app/styles/global.css +++ b/app/app/styles/global.css @@ -1,10 +1,5 @@ /* global.css */ -/* Banner image */ -div.et_pb_section.et_pb_section_1_tb_body { - background-image: linear-gradient(180deg, rgba(29, 51, 68, 0.68) 0%, rgba(29, 51, 68, 0.68) 100%), url(../wp-content/uploads/sites/1302270/2021/06/banner.jpg) !important -} - /* Font */ body, input, From b51286c313325248d04933ec6c663018c2f1a6a3 Mon Sep 17 00:00:00 2001 From: Patrick Howard Date: Fri, 19 Apr 2024 12:47:53 -0400 Subject: [PATCH 9/9] cleanup --- app/vite.config.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/vite.config.ts b/app/vite.config.ts index b2bb91d..74c5360 100644 --- a/app/vite.config.ts +++ b/app/vite.config.ts @@ -8,8 +8,6 @@ export default defineConfig({ // "assets/**", // "wp-content/**", // "app/wp-content/**", - // "google-fonts/**", - // "app/google-fonts/**", // "wp-content/uploads/sites/1302270/2021/06/**", // "wp-content/uploads/sites/1302270/2023/09/**", // ],