From 15121168bc8d57410cc6bffb8f08d47a7c76205e Mon Sep 17 00:00:00 2001 From: nsemets Date: Tue, 24 Jun 2025 13:52:34 +0300 Subject: [PATCH 1/2] fix(home-logged-out): updated page --- src/app/app.routes.ts | 1 + .../core/components/root/root.component.html | 8 +- .../home-logged-out.component.html | 310 ++++++------- .../home-logged-out.component.scss | 425 +----------------- .../home-logged-out.component.ts | 17 +- .../institutions/institutions.component.ts | 13 +- .../add-project-form.component.ts | 3 +- .../components/icon/icon.component.html | 2 +- src/assets/styles/_base.scss | 9 +- src/assets/styles/_common.scss | 7 + src/assets/styles/overrides/carousel.scss | 26 +- src/assets/styles/overrides/checkbox.scss | 2 - 12 files changed, 190 insertions(+), 633 deletions(-) diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index 79f8d23fe..9433e3d50 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -52,6 +52,7 @@ export const routes: Routes = [ import('@osf/features/home/pages/home-logged-out/home-logged-out.component').then( (mod) => mod.HomeLoggedOutComponent ), + data: { skipBreadcrumbs: true }, }, { path: 'support', diff --git a/src/app/core/components/root/root.component.html b/src/app/core/components/root/root.component.html index 516deac12..f2bfc1c0e 100644 --- a/src/app/core/components/root/root.component.html +++ b/src/app/core/components/root/root.component.html @@ -5,9 +5,7 @@
-
- -
+
@@ -21,9 +19,7 @@ } -
- -
+ diff --git a/src/app/features/home/pages/home-logged-out/home-logged-out.component.html b/src/app/features/home/pages/home-logged-out/home-logged-out.component.html index 2b22afa06..fbbbe31ac 100644 --- a/src/app/features/home/pages/home-logged-out/home-logged-out.component.html +++ b/src/app/features/home/pages/home-logged-out/home-logged-out.component.html @@ -1,103 +1,117 @@ -
-
-
+
+
+

-

-
- + +

+ +
+
-
- better-research + +
+ Better research
-
-
+
+

-

{{ 'home.loggedOut.discover.subtitle' | translate }}

+ +

{{ 'home.loggedOut.discover.subtitle' | translate }}

- -
+

-
-
-
-
- search icon - + +
+
+
+
+ Search +
-
+ +

{{ 'home.loggedOut.support.sections.search.title' | translate }}

-

+ +

{{ 'home.loggedOut.support.sections.search.description' | translate }} -

+

-
-
- search icon - +
+
+ Design +
-
+ +

{{ 'home.loggedOut.support.sections.design.title' | translate }}

-

+ +

{{ 'home.loggedOut.support.sections.design.description' | translate }} -

+

-
-
- search icon - +
+
+ Collect +
-
+ +

{{ 'home.loggedOut.support.sections.collect.title' | translate }}

-

+ +

{{ 'home.loggedOut.support.sections.collect.description' | translate }} -

+

-
-
- search icon +
+
+ Publish
-
+ +

{{ 'home.loggedOut.support.sections.publish.title' | translate }}

-

+ +

{{ 'home.loggedOut.support.sections.publish.description' | translate }} -

+

-
+ +