diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index c971ce5ad..f103b6436 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -36,6 +36,13 @@ export const routes: Routes = [ (mod) => mod.HomeComponent, ), }, + { + path: 'home-logged-out', + loadComponent: () => + import('./features/home/logged-out/home-logged-out.component').then( + (mod) => mod.HomeLoggedOutComponent, + ), + }, { path: 'support', loadComponent: () => diff --git a/src/app/core/components/root/root.component.scss b/src/app/core/components/root/root.component.scss index 156368f90..2d9da4687 100644 --- a/src/app/core/components/root/root.component.scss +++ b/src/app/core/components/root/root.component.scss @@ -9,6 +9,7 @@ display: flex; flex: 1; background-color: var.$dark-blue-1; + max-width: 100vw; .content-wrapper { flex: 1; diff --git a/src/app/features/home/data.ts b/src/app/features/home/data.ts new file mode 100644 index 000000000..ef10feb7c --- /dev/null +++ b/src/app/features/home/data.ts @@ -0,0 +1,246 @@ +import { Project } from '@osf/features/home/models/project.entity'; + +export const projects: Project[] = [ + { + id: '1', + title: 'Project name example', + dateModified: new Date(), + bibliographicContributors: [ + { + id: '1', + unregisteredContributor: 'Steger', + }, + { + id: '2', + unregisteredContributor: 'Oison', + }, + { + id: '2', + unregisteredContributor: 'Errington', + }, + ], + links: null, + }, + { + id: '2', + title: + 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.', + dateModified: new Date(), + bibliographicContributors: [ + { + id: '1', + unregisteredContributor: 'Longsurname1', + }, + { + id: '2', + unregisteredContributor: 'Loremipsumdolosit', + }, + { + id: '2', + unregisteredContributor: + 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.', + }, + ], + links: null, + }, + { + id: '3', + title: 'Lorem ipsum dolor sit amet', + dateModified: new Date(), + bibliographicContributors: [ + { + id: '1', + unregisteredContributor: 'Loremipsumdolorsitam1', + }, + { + id: '2', + unregisteredContributor: 'Loremipsumdolorsitamipsumdol2', + }, + ], + links: null, + }, + { + id: '4', + title: 'Project long name example Lorem ipsum dolor/', + dateModified: new Date(), + bibliographicContributors: [ + { + id: '1', + unregisteredContributor: 'Steger', + }, + { + id: '2', + unregisteredContributor: 'Oison', + }, + { + id: '2', + unregisteredContributor: 'Errington', + }, + ], + links: null, + }, + { + id: '5', + title: 'Project long name example /', + dateModified: new Date(), + bibliographicContributors: [ + { + id: '1', + unregisteredContributor: 'Steger', + }, + { + id: '2', + unregisteredContributor: 'Oison', + }, + { + id: '2', + unregisteredContributor: 'Errington', + }, + ], + links: null, + }, + { + id: '6', + title: 'Project long name example', + dateModified: new Date(), + bibliographicContributors: [ + { + id: '1', + unregisteredContributor: 'Steger', + }, + { + id: '2', + unregisteredContributor: 'Oison', + }, + { + id: '2', + unregisteredContributor: 'Errington', + }, + ], + links: null, + }, + { + id: '7', + title: 'Project long name example Lorem ipsum dolor sit amet', + dateModified: new Date(), + bibliographicContributors: [ + { + id: '1', + unregisteredContributor: 'Longsurname1', + }, + { + id: '2', + unregisteredContributor: 'Loremipsumdolosit', + }, + { + id: '2', + unregisteredContributor: 'Loremipsumdolorsitam', + }, + ], + links: null, + }, + { + id: '8', + title: 'Lorem ipsum dolor sit amet', + dateModified: new Date(), + bibliographicContributors: [ + { + id: '1', + unregisteredContributor: 'Loremipsumdolorsitam1', + }, + { + id: '2', + unregisteredContributor: 'Loremipsumdolorsitamipsumdol2', + }, + ], + links: null, + }, + { + id: '9', + title: 'Project long name example Lorem ipsum dolor sit amet', + dateModified: new Date(), + bibliographicContributors: [ + { + id: '1', + unregisteredContributor: 'Longsurname1', + }, + { + id: '2', + unregisteredContributor: 'Loremipsumdolosit', + }, + { + id: '2', + unregisteredContributor: 'Loremipsumdolorsitam', + }, + ], + links: null, + }, + { + id: '10', + title: 'Lorem ipsum dolor sit amet', + dateModified: new Date(), + bibliographicContributors: [ + { + id: '1', + unregisteredContributor: 'Loremipsumdolorsitam1', + }, + { + id: '2', + unregisteredContributor: 'Loremipsumdolorsitamipsumdol2', + }, + ], + links: null, + }, +]; + +export const noteworthy = [ + { + title: + 'CLINICAL APPLICATIONS OF DIGITAL DENTISTRY IN PEDIATRIC DENTISTRY: SCOPE REVIEW', + authors: 'by Moreira, Imparato, Borges, and 1 more', + }, + { + title: + 'Transcutaneous electrical nerve stimulation enhances gait adaptation savings in multiple sclerosis', + authors: 'by Hagen, Whittier, Stephens, and 1 more', + }, + { + title: + 'New technologies of the lipid fraction of industrialized parenteral nutrition, does the incorporation bring results in the clinical results of patients? A scoping review of the literature', + authors: 'by de Oliveira and Manin', + }, + { + title: + 'Corticospinal Excitability in Response to Mediolateral Gait Instability', + authors: 'by Raven, Davies, and Bruijn', + }, + { + title: 'Topic Modeling - Mississippi River Basin Literature', + authors: 'by Wimhurst, Koch, and McPherson', + }, +]; + +export const mostPopular = [ + { + title: 'PsiChiR', + authors: 'by Wagge, Staples, Edlund, and 3 more', + }, + { + title: + 'Data and Code for "Evaluating large language models in theory of mind tasks"', + authors: 'by Kosinski', + }, + { + title: + 'The Data Detectives! A Game of Persistent Identifiers (PIDfest 2024)', + authors: 'by Olson', + }, + { + title: 'Working Group on NIH DMSP Guidance', + authors: 'by Ye, Hertz, Badger, and 26 more', + }, + { + title: 'Better Scientific Poster', + authors: 'by Morrison', + }, +]; diff --git a/src/app/features/home/home.component.html b/src/app/features/home/home.component.html index 253b6e8a1..cbafbe0db 100644 --- a/src/app/features/home/home.component.html +++ b/src/app/features/home/home.component.html @@ -27,12 +27,11 @@ search OSF

-
+