diff --git a/cypress/e2e/impactreportpage.cy.js b/cypress/e2e/impactreportpage.cy.js index 3c6542431..6d1507263 100644 --- a/cypress/e2e/impactreportpage.cy.js +++ b/cypress/e2e/impactreportpage.cy.js @@ -1,6 +1,6 @@ describe('Impact Report Page', () => { it('Visit the Impact Report Page', () => { - cy.visit('/impact') + cy.visit('/impact/2022') // UCLA Library brand cy.get('.logo-ucla').should('be.visible') diff --git a/gql/queries/ImpactReportsList.gql b/gql/queries/ImpactReportsList.gql deleted file mode 100644 index d20b3ae07..000000000 --- a/gql/queries/ImpactReportsList.gql +++ /dev/null @@ -1,9 +0,0 @@ -query ImpactReportsList { - entries(section: "impactReport", orderBy: "postDate desc") { - ... on impactReport_impactReport_Entry { - id - title - to: uri - } - } -} diff --git a/gql/queries/ReportsList.gql b/gql/queries/ReportsList.gql new file mode 100644 index 000000000..7fb7b2bdb --- /dev/null +++ b/gql/queries/ReportsList.gql @@ -0,0 +1,20 @@ +#import "~/gql/fragments/Image" + +query ReportsList { + entry(section: "listingImpactReports") { + ... on listingImpactReports_listingImpactReports_Entry { + title + summary + } + } + entries(section: "impactReport", orderBy: "postDate desc") { + ... on impactReport_impactReport_Entry { + title + to: uri + richText + image { + ...Image + } + } + } +} \ No newline at end of file diff --git a/pages/about/reports/index.vue b/pages/about/reports/index.vue new file mode 100644 index 000000000..357d8bdf5 --- /dev/null +++ b/pages/about/reports/index.vue @@ -0,0 +1,119 @@ + + + + + diff --git a/pages/impact/all/index.vue b/pages/impact/all/index.vue deleted file mode 100644 index 9385b1609..000000000 --- a/pages/impact/all/index.vue +++ /dev/null @@ -1,104 +0,0 @@ - - - - - diff --git a/static/_redirects b/static/_redirects index a2f163858..f88ff2334 100644 --- a/static/_redirects +++ b/static/_redirects @@ -210,7 +210,7 @@ /help/services-resources/research-data-services/ /help/services-resources/data-services /help/services-resources/teaching-with-special-collections /help/services-resources/teaching-with-library-special-collections /hours /visit/locations -/impact /impact/all +/impact/all /about/reports /lauc-la-affiliate-libraries-centers /visit/locations /lauc-la-librarian-year-marjorie-lee https://guides.library.ucla.edu/lauc-la/librarian-of-the-year#Marjorie /libraries/Arts/9824.cfm /visit/locations/arts-library