1- < section class ="home-container flex flex-column ">
2- < div class ="flex flex-column pt-7 px-3 md:mt-7 md:px-5 xl:flex-row xl:mt-4 xl:px-4 ">
1+ < div class ="home-container flex flex-column ">
2+ < section class ="flex flex-column pt-7 px-3 md:mt-7 md:px-5 xl:flex-row xl:mt-4 xl:px-4 ">
33 < div
44 class ="flex flex-column align-items-center text-center xl:justify-content-center xl:text-left xl:align-items-start "
55 >
66 < h1 [innerHTML] ="'home.loggedOut.hero.title' | translate "> </ h1 >
77
8- < p class ="mt-3 " [innerHTML] =" 'home.loggedOut.hero.subtitle' | translate " > </ p >
8+ < p class ="mt-3 "> {{ 'home.loggedOut.hero.subtitle' | translate }} </ p >
99
10- < div class ="flex justify-content-center mt-4 w-6 xl:w-auto ">
11- < p-button
12- class ="btn-full-width "
13- [label] ="'home.loggedOut.hero.signUp' | translate "
14- severity ="success "
15- [routerLink] ="['/register'] "
16- />
17- </ div >
10+ < p-button
11+ class ="btn-full-width mt-4 w-6 xl:w-auto "
12+ [label] ="'home.loggedOut.hero.signUp' | translate "
13+ severity ="success "
14+ [routerLink] ="['/register'] "
15+ />
1816 </ div >
1917
2018 < div class ="flex justify-content-center my-5 md:mt-7 xl:m-0 ">
@@ -24,17 +22,15 @@ <h1 [innerHTML]="'home.loggedOut.hero.title' | translate"></h1>
2422 priority
2523 height ="377 "
2624 width ="585 "
27- alt =" Better research "
25+ [ alt] =" 'home.loggedOut.hero.betterResearchImageAltText' | translate "
2826 />
2927 </ div >
30- </ div >
28+ </ section >
3129
32- < div class ="discover-research-container flex flex-column text-center py-7 px-3 md:mt-7 md:px-5 xl:px-4 ">
33- < div class ="flex flex-column ">
34- < h1 [innerHTML] ="'home.loggedOut.discover.title' | translate "> </ h1 >
30+ < section class ="discover-research-container flex flex-column text-center py-7 px-3 md:mt-7 md:px-5 xl:px-4 ">
31+ < h1 [innerHTML] ="'home.loggedOut.discover.title' | translate "> </ h1 >
3532
36- < p class ="mt-3 "> {{ 'home.loggedOut.discover.subtitle' | translate }}</ p >
37- </ div >
33+ < p class ="mt-3 "> {{ 'home.loggedOut.discover.subtitle' | translate }}</ p >
3834
3935 < div class ="w-full mt-4 ">
4036 < osf-search-input
@@ -43,184 +39,117 @@ <h1 [innerHTML]="'home.loggedOut.discover.title' | translate"></h1>
4339 (triggerSearch) ="redirectToSearchPageWithValue() "
4440 />
4541 </ div >
46- </ div >
42+ </ section >
4743
48- < div class ="supports-container flex flex-column text-center pt-6 px-3 md:mt-8 md:px-5 xl:mt-3 xl:px-4 ">
44+ < section class ="flex flex-column text-center pt-6 px-3 md:mt-8 md:px-5 xl:mt-3 xl:px-4 ">
4945 < h1 [innerHTML] ="'home.loggedOut.support.title' | translate "> </ h1 >
5046
51- < div class ="flex flex-column mt-4 xl:flex-row ">
52- < div class ="flex flex-column gap-4 text-left xl:col-6 pr-6 ">
53- < div class ="flex gap-3 ">
54- < div class ="flex flex-column justify-content-between align-items-center ">
55- < img ngSrc ="assets/icons/colored/search.svg " alt ="Search " width ="48 " height ="48 " />
56- < osf-icon class ="arrow-down " iconClass ="fas fa-chevron-down fa-xs "> </ osf-icon >
57- </ div >
58-
59- < div class ="flex flex-column gap-2 mt-3 ">
60- < h2 >
61- {{ 'home.loggedOut.support.sections.search.title' | translate }}
62- </ h2 >
63-
64- < p >
65- {{ 'home.loggedOut.support.sections.search.description' | translate }}
66- </ p >
67- </ div >
68- </ div >
69-
70- < div class ="flex gap-3 ">
71- < div class ="flex flex-column justify-content-between align-items-center ">
72- < img ngSrc ="assets/icons/colored/design.svg " alt ="Design " width ="48 " height ="48 " />
73- < osf-icon class ="arrow-down " iconClass ="fas fa-chevron-down fa-xs "> </ osf-icon >
74- </ div >
75-
76- < div class ="flex flex-column gap-2 mt-3 ">
77- < h2 >
78- {{ 'home.loggedOut.support.sections.design.title' | translate }}
79- </ h2 >
80-
81- < p >
82- {{ 'home.loggedOut.support.sections.design.description' | translate }}
83- </ p >
84- </ div >
85- </ div >
86-
87- < div class ="flex gap-3 ">
88- < div class ="flex flex-column justify-content-between align-items-center ">
89- < img ngSrc ="assets/icons/colored/collect.svg " alt ="Collect " width ="48 " height ="48 " />
90- < osf-icon class ="arrow-down " iconClass ="fas fa-chevron-down fa-xs "> </ osf-icon >
91- </ div >
92-
93- < div class ="flex flex-column gap-2 mt-3 ">
94- < h2 >
95- {{ 'home.loggedOut.support.sections.collect.title' | translate }}
96- </ h2 >
97-
98- < p >
99- {{ 'home.loggedOut.support.sections.collect.description' | translate }}
100- </ p >
101- </ div >
102- </ div >
103-
104- < div class ="flex gap-3 ">
105- < div class ="flex flex-column justify-content-between ">
106- < img ngSrc ="assets/icons/colored/publish.svg " alt ="Publish " width ="48 " height ="48 " />
107- </ div >
108-
109- < div class ="flex flex-column gap-2 mt-3 ">
110- < h2 >
111- {{ 'home.loggedOut.support.sections.publish.title' | translate }}
112- </ h2 >
113-
114- < p >
115- {{ 'home.loggedOut.support.sections.publish.description' | translate }}
116- </ p >
117- </ div >
118- </ div >
119- </ div >
120-
121- < div class ="flex justify-content-center align-items-center mt-4 xl:col-6 ">
122- < iframe
123- class ="youtube-frame "
124- src ="https://www.youtube.com/embed/X07mBq2tnMg?si=jzOBeqyUPGJ6tm86 "
125- title ="YouTube video player "
126- allow ="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share "
127- referrerpolicy ="strict-origin-when-cross-origin "
128- allowfullscreen
129- > </ iframe >
130- </ div >
47+ < div class ="flex justify-content-center mt-4 ">
48+ < img
49+ class ="connected-record-image "
50+ ngSrc ="assets/images/connected-record.png "
51+ width ="896 "
52+ height ="504 "
53+ [alt] ="'home.loggedOut.support.connectedRecord' | translate "
54+ />
13155 </ div >
13256
13357 < div class ="flex justify-content-center mt-4 xl:mt-6 ">
13458 < a
135- class ="w-6 btn-full-width xl:w-auto "
59+ class ="p-button font-bold w-6 xl:w-auto "
13660 href ="https://cos.io/our-products/osf/ "
13761 target ="_blank "
13862 rel ="noopener noreferrer "
139- class ="p-button font-bold "
14063 >
14164 {{ 'common.labels.learnMore' | translate }}
14265 </ a >
14366 </ div >
144- </ div >
67+ </ section >
14568
146- < div class ="flex justify-content -center pt-6 px-3 text-center md:mt-8 md:px-5 xl:px-4 ">
69+ < section class ="flex flex-column text -center pt-6 px-3 md:mt-8 md:px-5 xl:px-4 ">
14770 < h1 [innerHTML] ="'home.loggedOut.testimonials.title' | translate "> </ h1 >
148- </ div >
14971
150- < div class ="carousel-container max-w-full mt-4 pt-5 px-3 md:mt-6 md:px-5 xl:px-4 ">
151- < p-carousel
152- [value] ="slides "
153- [showNavigators] ="false "
154- [numVisible] ="1 "
155- [numScroll] ="1 "
156- [circular] ="true "
157- [autoplayInterval] ="5000 "
158- >
159- < ng-template let-slide #item >
160- < div class ="flex align-items-center justify-content-center ">
161- < div class ="flex flex-column ">
162- < osf-icon class ="quote-icon " iconClass ="fas fa-quote-left fa-2xl "> </ osf-icon >
72+ < div class ="carousel-container max-w-full mt-4 pt-5 ">
73+ < p-carousel
74+ [value] ="slides "
75+ [showNavigators] ="false "
76+ [numVisible] ="1 "
77+ [numScroll] ="1 "
78+ [circular] ="true "
79+ [autoplayInterval] ="5000 "
80+ >
81+ < ng-template let-slide #item >
82+ < div class ="flex align-items-center justify-content-center ">
83+ < div class ="flex flex-column ">
84+ < osf-icon class ="quote-icon " iconClass ="fas fa-quote-left fa-2xl "> </ osf-icon >
16385
164- < div class ="text-container pl-6 max-w-full ">
165- < h2 > {{ slide.title | translate }}</ h2 >
86+ < div class ="pl-6 max-w-full text-left ">
87+ < h2 > {{ slide.title | translate }}</ h2 >
16688
167- < p class ="font-semibold mt-4 "> {{ slide.author }}</ p >
168- < p class ="mt-2 "> {{ slide.facility | translate }}</ p >
89+ < p class ="font-semibold mt-4 "> {{ slide.author }}</ p >
90+ < p class ="mt-2 "> {{ slide.facility | translate }}</ p >
91+ </ div >
16992 </ div >
170- </ div >
17193
172- < img class ="user-image hidden md:flex " [src] ="slide.img " [alt] ="slide.name " />
94+ < img class ="hidden md:flex " [src] ="slide.img " [alt] ="slide.name " />
95+ </ div >
96+ </ ng-template >
97+ </ p-carousel >
98+ </ div >
99+ </ section >
100+
101+ < section class ="flex flex-column pt-6 px-3 md:mt-8 md:px-5 xl:px-4 ">
102+ < h1 class ="text-center " [innerHTML] ="'home.loggedOut.integrations.title' | translate "> </ h1 >
103+
104+ < div class ="hidden flex-wrap p-6 md:flex md:p-5 xl:px-0 xl:flex-nowrap ">
105+ @for (icon of icons; track icon.title) {
106+ < div class ="col-6 pb-6 xl:col-4 ">
107+ < ng-container
108+ [ngTemplateOutlet] ="integrationIcons "
109+ [ngTemplateOutletContext] ="{ $implicit: icon } "
110+ > </ ng-container >
173111 </ div >
174- </ ng-template >
175- </ p-carousel >
176- </ div >
177-
178- < h1
179- class ="text-center pt-6 px-3 md:mt-8 md:px-5 xl:px-4 "
180- [innerHTML] ="'home.loggedOut.integrations.title' | translate "
181- > </ h1 >
182-
183- < div class ="hidden flex-wrap p-6 md:flex xl:px-4 xl:flex-nowrap ">
184- @for (icon of icons; track $index) {
185- < div class ="flex flex-column align-items-center gap-4 col-6 pb-6 xl:col-3 ">
186- < p > {{ icon.title | translate }}</ p >
187-
188- < img [ngSrc] ="icon.first.path " [width] ="icon.first.width " [height] ="icon.first.height " alt ="Integration icon " />
189-
190- < img
191- [ngSrc] ="icon.second.path "
192- [width] ="icon.second.width "
193- [height] ="icon.second.height "
194- alt ="Integration icon "
195- />
196- </ div >
197- }
198- </ div >
112+ }
113+ </ div >
199114
200- < div class ="my-4 md:hidden ">
201- < p-carousel
202- [value] ="icons "
203- [showNavigators] ="false "
204- [numVisible] ="1 "
205- [numScroll] ="1 "
206- [circular] ="true "
207- [autoplayInterval] ="5000 "
208- >
209- < ng-template let-icon #item >
210- < div class ="flex flex-column align-items-center gap-4 ">
211- < p > {{ icon.title | translate }}</ p >
212-
213- < img [ngSrc] ="icon.first.path " [width] ="icon.first.width " [height] ="icon.first.height " alt ="Carousel icon " />
214-
215- < img
216- class ="mb-4 "
217- [ngSrc] ="icon.second.path "
218- [width] ="icon.second.width "
219- [height] ="icon.second.height "
220- alt ="Carousel icon "
221- />
222- </ div >
223- </ ng-template >
224- </ p-carousel >
115+ < div class ="my-4 md:hidden ">
116+ < p-carousel
117+ [value] ="icons "
118+ [showNavigators] ="false "
119+ [numVisible] ="1 "
120+ [numScroll] ="1 "
121+ [circular] ="true "
122+ [autoplayInterval] ="5000 "
123+ >
124+ < ng-template let-icon #item >
125+ < div class ="mb-4 ">
126+ < ng-container
127+ [ngTemplateOutlet] ="integrationIcons "
128+ [ngTemplateOutletContext] ="{ $implicit: icon } "
129+ > </ ng-container >
130+ </ div >
131+ </ ng-template >
132+ </ p-carousel >
133+ </ div >
134+ </ section >
135+ </ div >
136+
137+ < ng-template #integrationIcons let-icon >
138+ < div class ="flex flex-column align-items-center gap-4 ">
139+ < p > {{ icon.title | translate }}</ p >
140+
141+ < img
142+ [ngSrc] ="icon.first.path "
143+ [width] ="icon.first.width "
144+ [height] ="icon.first.height "
145+ [alt] ="'home.loggedOut.integrations.iconImageAltText' | translate "
146+ />
147+
148+ < img
149+ [ngSrc] ="icon.second.path "
150+ [width] ="icon.second.width "
151+ [height] ="icon.second.height "
152+ [alt] ="'home.loggedOut.integrations.iconImageAltText' | translate "
153+ />
225154 </ div >
226- </ section >
155+ </ ng-template >
0 commit comments