From d6a859b560e6a1384eadd97f371519373fc9f0b2 Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Wed, 13 Dec 2023 12:30:28 +0000 Subject: [PATCH 01/19] updating routes for related website sets --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 3b4acf5..5d89abe 100644 --- a/app.js +++ b/app.js @@ -39,7 +39,7 @@ app.use((req, res, next) => { }); // Mount routes for different demo types -const demoTypes = ['chips', 'first-party-sets', 'private-state-tokens', 'fedcm']; +const demoTypes = ['chips', 'related-websites-sets', 'private-state-tokens', 'fedcm']; demoTypes.forEach(demoType => { const demoRoutes = require(`./demos/${demoType}/routes`); app.use(`/${demoType}`, demoRoutes); // Mount the routes on a path specific to the demo type From 8cbf3ed6d9d089165e545d84ecf90ffba3ac7873 Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Wed, 13 Dec 2023 12:31:45 +0000 Subject: [PATCH 02/19] updating links to related websites set --- common/index.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/index.ejs b/common/index.ejs index 6b0d590..658b289 100644 --- a/common/index.ejs +++ b/common/index.ejs @@ -26,9 +26,9 @@ class="block p-4 bg-white shadow rounded hover:bg-blue-500 hover:text-white transition duration-300"> CHIPS - - 🚧 First Party Sets + 🚧 Related Website Sets From dd8009a8362c30a45d114bb4f98f3915b022e085 Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Wed, 13 Dec 2023 12:32:22 +0000 Subject: [PATCH 03/19] renaming folder with routes --- demos/{first-party-sets => related-websites-sets}/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename demos/{first-party-sets => related-websites-sets}/routes.js (83%) diff --git a/demos/first-party-sets/routes.js b/demos/related-websites-sets/routes.js similarity index 83% rename from demos/first-party-sets/routes.js rename to demos/related-websites-sets/routes.js index bebd5c8..738e767 100644 --- a/demos/first-party-sets/routes.js +++ b/demos/related-websites-sets/routes.js @@ -4,7 +4,7 @@ const router = express.Router(); router.get('/', (req, res) => { res.render('common/under-construction', { - title: '🚧 First Party Sets Demo' + title: '🚧 Related Website Sets Demo' }); }); From 28ccd000e8b897600548ed88ba095ec4dcd9495a Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Wed, 13 Dec 2023 12:33:52 +0000 Subject: [PATCH 04/19] adding ps logo --- public/assets/PS_Logo.svg | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 public/assets/PS_Logo.svg diff --git a/public/assets/PS_Logo.svg b/public/assets/PS_Logo.svg new file mode 100644 index 0000000..2c3bc4b --- /dev/null +++ b/public/assets/PS_Logo.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + From ddb9d40cf878240ba2e1372212453026c6148710 Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Wed, 13 Dec 2023 14:23:34 +0000 Subject: [PATCH 05/19] adding PS Logo --- common/index.ejs | 5 ++++- public/assets/PS_Logo.svg | 31 +------------------------------ 2 files changed, 5 insertions(+), 31 deletions(-) diff --git a/common/index.ejs b/common/index.ejs index 658b289..c7c839c 100644 --- a/common/index.ejs +++ b/common/index.ejs @@ -1,7 +1,10 @@ <%- include(commonPath + '/header.ejs') %>
-

Privacy Sandbox

+
+ Logo +
+

Privacy Sandbox

Scenarios

- - - - - - - - - - - - - - - - - + \ No newline at end of file From 19087485a1703b65f59bd8951caf278d239411e7 Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Wed, 13 Dec 2023 14:56:25 +0000 Subject: [PATCH 06/19] adding logo to under construction page --- common/under-construction.ejs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/under-construction.ejs b/common/under-construction.ejs index 6c354de..be2f471 100644 --- a/common/under-construction.ejs +++ b/common/under-construction.ejs @@ -1,7 +1,10 @@ <%- include(commonPath + '/header.ejs') %>
-

<%= title %>>

+
+ Logo +
+

<%= title %>

Page still under construction.

From 4740992c5d8a7484e607eb5f421e4d76e48aa809 Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Wed, 13 Dec 2023 14:57:13 +0000 Subject: [PATCH 07/19] adding new routes --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 5d89abe..2b5a040 100644 --- a/app.js +++ b/app.js @@ -46,7 +46,7 @@ demoTypes.forEach(demoType => { }); // Mount routes for different scenarios -const scenarios = ['ecommerce', 'single-sign-on', 'analytics', 'embedded-video']; +const scenarios = ['ecommerce', 'single-sign-on', 'analytics', 'embedded-video', 'payment-flow', 'content-delivery-networks']; scenarios.forEach(scenario => { const scenarioRoutes = require(`./scenarios/${scenario}/routes`); app.use(`/${scenario}`, scenarioRoutes); // Mount the routes on a path specific to the scenario From 1eb941d90438ed63b3d00d1815945aecb1e7157f Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Wed, 13 Dec 2023 14:59:56 +0000 Subject: [PATCH 08/19] adding new links --- common/index.ejs | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/common/index.ejs b/common/index.ejs index 4218082..adc54c0 100644 --- a/common/index.ejs +++ b/common/index.ejs @@ -2,7 +2,7 @@
- Logo + Logo

Privacy Sandbox

@@ -10,11 +10,11 @@

API Demos

From 92c918fff0ad0cb2c2a018247dcc681caa9587a9 Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Wed, 13 Dec 2023 15:00:33 +0000 Subject: [PATCH 09/19] adding new routes for payment flow and cdn --- scenarios/content-delivery-networks/routes.js | 11 +++++++++++ scenarios/payment-flow/routes.js | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 scenarios/content-delivery-networks/routes.js create mode 100644 scenarios/payment-flow/routes.js diff --git a/scenarios/content-delivery-networks/routes.js b/scenarios/content-delivery-networks/routes.js new file mode 100644 index 0000000..e4b1413 --- /dev/null +++ b/scenarios/content-delivery-networks/routes.js @@ -0,0 +1,11 @@ +const express = require('express'); +const path = require('path'); +const router = express.Router(); + +router.get('/', (req, res) => { + res.render('common/under-construction', { + title: '🚧 Content Delivery Network' + }); +}); + +module.exports = router; diff --git a/scenarios/payment-flow/routes.js b/scenarios/payment-flow/routes.js new file mode 100644 index 0000000..f1d337e --- /dev/null +++ b/scenarios/payment-flow/routes.js @@ -0,0 +1,11 @@ +const express = require('express'); +const path = require('path'); +const router = express.Router(); + +router.get('/', (req, res) => { + res.render('common/under-construction', { + title: '🚧 Payment Flow' + }); +}); + +module.exports = router; From 7413faa49ea698aa54175f5d2965a604adc57ff4 Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Wed, 13 Dec 2023 15:03:44 +0000 Subject: [PATCH 10/19] updating footer text --- common/footer.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/footer.ejs b/common/footer.ejs index 2748d3c..aa53edb 100644 --- a/common/footer.ejs +++ b/common/footer.ejs @@ -1,4 +1,4 @@ -