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

Haley Frontend Changes - Re-Enable IDP Hint #417

Merged
merged 9 commits into from
Jul 28, 2023
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
Binary file modified frontend/public/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>Site Remediation Services | British Columbia</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
7 changes: 7 additions & 0 deletions frontend/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,10 @@
transform: rotate(360deg);
}
}



#landing-container {
/* 58px = height of footer (48px) plus 10px for centering */
min-height: calc(100vh - 58px);
}
6 changes: 6 additions & 0 deletions frontend/src/app/components/landing/LoginPanel.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
height: 250px;
}

#idir-login-panel {
justify-content: center;
display: flex;
align-items: center;
margin-top: 46px; /* button-height */
}

#lrs-signup-button{
background-color: #FFFFFF;
Expand Down
12 changes: 6 additions & 6 deletions frontend/src/app/components/landing/LoginPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import "./LoginPanel.css"


export const LoginPanel = () =>{
const loginDropdownTitle = "Log in to my LRS Account";
const loginDropdownTitle = "Login to my account";
return(
<Row className="login-panel py-5 mb-3 " id="login-panel">
<Col id="idir-login-panel" className="mt-auto mb-2 col-xs-12 col-md-6 text-center text-sm-end">
<Row className="login-panel py-5 mb-3 d-flex" id="login-panel">
<div id="idir-login-panel">
{LoginDropdown(loginDropdownTitle)}
</Col>
<Col id="lrs-signup-panel" className="mt-auto mb-2 col-xs-12 col-md-6 text-center text-sm-start">
</div>
{/* <Col id="lrs-signup-panel" className="mt-auto mb-2 col-xs-12 col-md-6 text-center text-sm-start">
<Button id="lrs-signup-button" href="/signup" className="login-btn-lh">
Sign Up</Button>
</Col>
</Col> */}
</Row>
)}
12 changes: 6 additions & 6 deletions frontend/src/app/components/navigation/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ const Footer = () => {
<footer className="footer">
<div className="container">
<ul>
<li><a href=".">Home</a></li>
<li><a href=".">Disclaimer</a></li>
<li><a href=".">Privacy</a></li>
<li><a href=".">Accessibility</a></li>
<li><a href=".">Copyright</a></li>
<li><a href=".">Contact Us</a></li>
<li><a href="/">Home</a></li>
<li><a href="https://www2.gov.bc.ca/gov/content/home/disclaimer">Disclaimer</a></li>
<li><a href="https://www2.gov.bc.ca/gov/content/home/privacy">Privacy</a></li>
<li><a href="https://www2.gov.bc.ca/gov/content/home/accessible-government">Accessibility</a></li>
<li><a href="https://www2.gov.bc.ca/gov/content/home/copyright">Copyright</a></li>
<li><a href="https://www2.gov.bc.ca/gov/content/home/get-help-with-government-services">Contact Us</a></li>
</ul>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/components/navigation/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Header = () => {
<a href="https://gov.bc.ca">
<img src={logo} alt="BC Government Logo" />
</a>
<h1>Land Remediation Services</h1>
<h1>Site Remediation Services</h1>
</div>
{auth.isAuthenticated ? (
<Dropdown>
Expand Down
34 changes: 33 additions & 1 deletion frontend/src/app/features/landing/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Landing = () =>{
return(
<Container fluid className="landing-container mt-3" id="landing-container">
<LoginPanel/>
<Row id="responsive-lrs-nav" className="">
{/* <Row id="responsive-lrs-nav" className="">
<Col className="col-12 col-md-3" >
<ResponsiveNavigationSidebar/>
</Col>
Expand All @@ -22,7 +22,39 @@ const Landing = () =>{
{LRSFormAccordion(forms)}
</Row>
</Col>
</Row> */}

<Row>
<Col className="col-12 col-sm-6 offset-sm-3">
<p>Welcome to the new Site Remediation Services (SRS) web app.</p>

<p>You can now easily submit applications for site remediation services and track the status of your application.</p>

<p>Use the Site Remediation Services (SRS) web app to complete an application for:</p>

<ul>
<li>Contaminated Site Services Application (CSSA)</li>
<li>Site Disclosure Statement</li>
<li>Site Risk Classification Report</li>
</ul>

<p>These, as well as all other forms can be completed using the Site Remediation Forms</p>

<p>Site remediation forms - Province of British Columbia</p>

<p>Forms for site remediation procedures for land, air and water in B.C.</p>
</Col>


<Col className="col-12 col-sm-6 offset-sm-3 small">
<hr />
<p>Collection Notice for Environmental Protection Platform:</p>
<p>Your personal information is collected under 26(c) of the Freedom of Information and Protection of Privacy Act for the purpose of accessing services of the Environmental Protection Division. If you have any questions about the collection of your information, please contact Site Remediation Services at <a href="mailto:[email protected]">[email protected]</a>.</p>
<p>Collection Notice for Site Remediation Forms:</p>
<p>Your personal information is collected under 26(c) of the Freedom of Information and Protection of Privacy Act for the purpose of receiving site remediation services. If you have any questions about the collection of your information, please contact Site Remediation Services at <a href="mailto:[email protected]">[email protected]</a></p>
</Col>
</Row>

</Container>
)
}
Expand Down
Loading