Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Privacy page (& Disclaimer/Site Map) #17

Merged
merged 9 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
164 changes: 164 additions & 0 deletions app/app/components/DefaultPage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
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 (
<div id='page-container'>
<div
id='et-boc'
className='et-boc'
>
<Header />
<div id='et-main-area'>
<div id='main-content'>
<div className='et-l et-l--body'>
<div className='et_builder_inner_content et_pb_gutters1'>
<div className='et_pb_section et_pb_section_1_tb_body et_pb_with_background et_section_regular'>
<div className='et_pb_row et_pb_row_0_tb_body'>
<div className='et_pb_column et_pb_column_4_4 et_pb_column_0_tb_body et_pb_css_mix_blend_mode_passthrough et-last-child'>
<div className='et_pb_module et_pb_text et_pb_text_0_tb_body et_pb_text_align_center et_pb_bg_layout_light'>
<div className='et_pb_text_inner'>
<p>
Dedication. Skill. Innovation.
<br /> Trust The{' '}
<strong>
<span className='nap-item nap-item--name'>
Law Offices of Villard Bastien, LLC
</span>
</strong>
.
</p>
</div>
</div>
</div>
</div>
</div>
<div className='et_pb_section et_pb_section_3_tb_body fl-breadcrumbs et_pb_with_background et_section_regular'>
<div className='et_pb_row et_pb_row_1_tb_body'>
<div className='et_pb_column et_pb_column_4_4 et_pb_column_1_tb_body et_pb_css_mix_blend_mode_passthrough et-last-child'>
<div className='et_pb_module et_pb_dcsbcm_divi_breadcrumbs_module et_pb_dcsbcm_divi_breadcrumbs_module_0_tb_body'>
<div className='et_pb_module_inner'>
<ol className='dcsbcm_divi_breadcrumbs'>
<li className='dcsbcm_divi_breadcrumb'>
<a href='/'>
<span>Home</span>
</a>
<meta
property='position'
content='1'
/>
</li>
<span className='dcsbcm_separator'>
&nbsp;&raquo;&nbsp;
</span>
<span className='dcsbcm_divi_breadcrumb dcsbcm_divi_breadcrumb-active'>
{props.title}
</span>
</ol>
</div>
</div>
</div>
</div>
</div>
<div className='et_pb_section et_pb_section_4_tb_body et_pb_with_background et_section_regular'>
<div className='et_pb_row et_pb_row_2_tb_body'>
<div
className={
!props.includeSidebar
? 'et_pb_column et_pb_column_2_tb_body fl-main-content et_pb_css_mix_blend_mode_passthrough'
: 'et_pb_column et_pb_column_2_3 et_pb_column_2_tb_body fl-main-content et_pb_css_mix_blend_mode_passthrough'
}
>
<div className='et_pb_module et_pb_post_content et_pb_post_content_0_tb_body'>
<h1>{props.title}</h1>
{typeof props.description === 'string' ? (
<p>{props.description}</p>
) : (
props.description
)}
</div>
</div>
{!props.includeSidebar ? null : (
<div className='et_pb_column et_pb_column_1_3 et_pb_column_3_tb_body et_pb_css_mix_blend_mode_passthrough et-last-child'>
<div
id='nav-practice-silo'
className='et_pb_module et_pb_sidebar_0_tb_body nav-practice-silo et_pb_widget_area clearfix et_pb_widget_area_left et_pb_bg_layout_light'
>
<div
id='nav_menu-2'
className='et_pb_widget widget_nav_menu'
>
<h2 className='widgettitle'>Practice Areas</h2>
<div className='menu-practice-areas-container'>
<ul
id='menu-practice-areas'
className='menu'
>
<li className='menu-item current-menu-item menu-item--depth-0'>
<a
href='nursing-home-abuse'
aria-current='page'
tabIndex={0}
>
Nursing Home Abuse
</a>
</li>
<li className='menu-item menu-item-has-children menu-item--depth-0'>
<a
href='other-practice-areas'
tabIndex={0}
>
Other Practice Areas
</a>
<ul className='sub-menu'>
<li className='menu-item menu-item--depth-1'>
<a
href='business-general-counsel-business-transactions'
tabIndex={0}
>
Business General Counsel / Business Transactions
</a>
</li>
<li className='menu-item menu-item--depth-1'>
<a
href='criminal-law-defense'
tabIndex={0}
>
Criminal Law Defense
</a>
</li>
<li className='menu-item menu-item--depth-1'>
<a
href='serious-injury'
tabIndex={0}
>
Serious Injury
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
)}
</div>
</div>
</div>
</div>
</div>
<Footer />
</div>
</div>
</div>
);
}
2 changes: 1 addition & 1 deletion app/app/components/HelpForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export default function HelpForm() {
</a>{' '}
|{' '}
<a
href='/privacy-policy'
href='privacy'
style={{
// display: "block",
// textAlign: "center",
Expand Down
13 changes: 13 additions & 0 deletions app/app/routes/disclaimer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import DefaultPage from "../components/DefaultPage";

import "../styles/nursing-home-abuse.css";

export default function Disclaimer() {
return (
<DefaultPage
title='Disclaimer'
description='The information you obtain at this site is not, nor is it intended to be, legal advice. You should consult an attorney for advice regarding your individual situation. We invite you to contact us and welcome your calls, letters and electronic mail. Contacting us does not create an attorney-client relationship. Please do not send any confidential information to us until such time as an attorney-client relationship has been established.'
includeSidebar={false}
/>
);
}
15 changes: 15 additions & 0 deletions app/app/routes/privacy.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import DefaultPage from '../components/DefaultPage';

import '../styles/nursing-home-abuse.css';

export default function Privacy() {
return (
<DefaultPage
title='Privacy Policy'
description='Currently, our law firm&rsquo;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}
/>
);
}
72 changes: 72 additions & 0 deletions app/app/routes/site-map.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
import DefaultPage from "../components/DefaultPage";

import "../styles/nursing-home-abuse.css";

export default function SiteMap() {
return (
<DefaultPage
title='Site Map'
description={
<div>
<div
id='simple-sitemap-container-65ae94e7e1ce2'
className='simple-sitemap-container simple-sitemap-container-65ae94e7e1ce2 tab-disabled'
>
<div className='simple-sitemap-wrap'>
<h2 className='post-type'>Pages</h2>
<ul className='simple-sitemap-page main'>
<li className='sitemap-item page_item page-item-46188'>
<a href='about'>About</a>
</li>
<li className='sitemap-item page_item page-item-46280'>
<a href='atlanta-medical-malpractice-law-office'>
Atlanta Medical Malpractice Law Office
</a>
</li>
<li className='sitemap-item page_item page-item-46418'>
<a href='business-general-counsel-business-transactions'>
Business General Counsel / Business Transactions
</a>
</li>
<li className='sitemap-item page_item page-item-45927'>
<a href='contact'>Contact</a>
</li>
<li className='sitemap-item page_item page-item-46419'>
<a href='criminal-law-defense'>Criminal Law Defense</a>
</li>
<li className='sitemap-item page_item page-item-6'>
<a href='/'>Home</a>
</li>
<li className='sitemap-item page_item page-item-46200'>
<a href='nursing-home-abuse'>Nursing Home Abuse</a>
</li>
<li className='sitemap-item page_item page-item-46191'>
<a href='other-practice-areas'>Other Practice Areas</a>
</li>
<li className='sitemap-item page_item page-item-46420'>
<a href='serious-injury'>Serious Injury</a>
</li>
</ul>
</div>
</div>
<br style={{clear: 'both'}} />
<div
id='simple-sitemap-container-65ae94e7e3444'
className='simple-sitemap-container simple-sitemap-container-65ae94e7e3444 tab-disabled'
>
<div className='simple-sitemap-wrap'>
<h2 className='post-type'>People</h2>
<ul className='simple-sitemap-people main'>
<li className='sitemap-item'>
<a href='bastein-villard-s'>Bastien, Villard S.</a>
</li>
</ul>
</div>
</div>
<br style={{clear: 'both'}} />
</div>
}
includeSidebar={true}
/>
);
}
5 changes: 0 additions & 5 deletions app/app/styles/global.css
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
8 changes: 4 additions & 4 deletions app/app/styles/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 0 additions & 2 deletions app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/**",
// ],
Expand Down