Skip to content

Commit

Permalink
Project Page Templating (#1134)
Browse files Browse the repository at this point in the history
* modify FragmentRender, add mappers, create new template pages and directory structure

* modify rewrites and fetch in template

* update getAllUpdateIds to getAllPathParams for flexibility, update article and project template pages

* update projectpage template to use new properties, ProjectInfo leveraging TextRender

* update content handling

* update home.js fetch

* update mocks and integration tests

* add env var for AEM folder selection

* fix missing alt text in Cards in ExploreProjects

* fix nested p tags

* update test-and-lint workflow

* remove specific project pages from e2e tests

* remove unused rewrites

* add missing instances of AEM_CONTENT_FOLDER env var
  • Loading branch information
will0684 authored Dec 19, 2024
1 parent 3cf5c93 commit f1389ca
Show file tree
Hide file tree
Showing 66 changed files with 22,564 additions and 12,779 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
NEXT_PUBLIC_API_MOCKING: enabled
AEM_GRAPHQL_ENDPOINT: ${{ secrets.AEM_GRAPHQL_ENDPOINT }}
AEM_BASE_URL: ${{ secrets.AEM_BASE_URL }}
AEM_CONTENT_FOLDER: ${{ secrets.AEM_CONTENT_FOLDER }}
ADOBE_ANALYTICS_URL: ${{ secrets.ADOBE_ANALYTICS_URL }}
THANK_YOU_EMAIL: ${{ secrets.THANK_YOU_EMAIL }}
CI: true
Expand Down
1 change: 1 addition & 0 deletions AzurePipelines/dev-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ stages:
--build-arg THANK_YOU_EMAIL=$(THANK_YOU_EMAIL)
--build-arg AEM_GRAPHQL_ENDPOINT=$(AEM_GRAPHQL_ENDPOINT)
--build-arg AEM_BASE_URL=$(AEM_BASE_URL)
--build-arg AEM_CONTENT_FOLDER=$(AEM_CONTENT_FOLDER)
--build-arg REVALIDATION_TOKEN=$(REVALIDATION_TOKEN)
--build-arg GIT_SHA=$(Build.SourceVersion)
--build-arg ENVIRONMENT=$(ENVIRONMENT)
Expand Down
1 change: 1 addition & 0 deletions AzurePipelines/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ steps:
--build-arg THANK_YOU_EMAIL=$(THANK_YOU_EMAIL)
--build-arg AEM_GRAPHQL_ENDPOINT=$(AEM_GRAPHQL_ENDPOINT)
--build-arg AEM_BASE_URL=$(AEM_BASE_URL)
--build-arg AEM_CONTENT_FOLDER=$(AEM_CONTENT_FOLDER)
--build-arg REVALIDATION_TOKEN=$(REVALIDATION_TOKEN)
--build-arg GIT_SHA=$(GIT_SHA)
--build-arg ENVIRONMENT=$(ENVIRONMENT)
Expand Down
1 change: 1 addition & 0 deletions AzurePipelines/prod-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ stages:
--build-arg THANK_YOU_EMAIL=$(THANK_YOU_EMAIL)
--build-arg AEM_GRAPHQL_ENDPOINT=$(AEM_GRAPHQL_ENDPOINT)
--build-arg AEM_BASE_URL=$(AEM_BASE_URL)
--build-arg AEM_CONTENT_FOLDER=$(AEM_CONTENT_FOLDER)
--build-arg REVALIDATION_TOKEN=$(REVALIDATION_TOKEN)
--build-arg GIT_SHA=$(GIT_SHA)
--build-arg ENVIRONMENT=$(ENVIRONMENT)
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ ARG NEXT_PUBLIC_BUILD_DATE
ARG NEXT_PUBLIC_BUILD_ID
ARG AEM_GRAPHQL_ENDPOINT
ARG AEM_BASE_URL
ARG AEM_CONTENT_FOLDER
ARG ADOBE_ANALYTICS_URL=""
ARG ISR_ENABLED
ARG THANK_YOU_EMAIL
Expand Down
Loading

0 comments on commit f1389ca

Please sign in to comment.