feat: add landing page components including hero, features, problem, and footer
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 3m23s
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 3m23s
- Introduced LandingHero component with logo, tagline, and action buttons. - Created LandingFeatures component to showcase chore system benefits. - Developed LandingProblem component explaining the importance of a structured chore system. - Implemented LandingFooter for navigation and copyright information. - Added LandingPage to assemble all components and manage navigation. - Included unit tests for LandingHero component to ensure functionality.
This commit is contained in:
@@ -134,8 +134,8 @@ export function initAuthSync() {
|
||||
const payload = JSON.parse(event.newValue)
|
||||
if (payload?.type === 'logout') {
|
||||
applyLoggedOutState()
|
||||
if (!window.location.pathname.startsWith('/auth')) {
|
||||
window.location.href = '/auth/login'
|
||||
if (!window.location.pathname.startsWith('/auth') && window.location.pathname !== '/') {
|
||||
window.location.href = '/'
|
||||
}
|
||||
} else if (payload?.type === 'parent_logout') {
|
||||
applyParentLoggedOutState()
|
||||
|
||||
Reference in New Issue
Block a user