diff --git a/app.js b/app.js index 2e90687..a8e25f0 100644 --- a/app.js +++ b/app.js @@ -76,7 +76,6 @@ const scenarios = [ 'facebook-comments', 'disqus-comments', 'spotify-embed', - 'google-recaptcha', ]; scenarios.forEach(scenario => { const scenarioRoutes = require(`./src/scenarios/${scenario}/routes`); diff --git a/src/common/index.ejs b/src/common/index.ejs index 7ce52b9..6254104 100644 --- a/src/common/index.ejs +++ b/src/common/index.ejs @@ -21,8 +21,7 @@ <%= renderCard('Facebook Like', '👍', '/facebook-like') %> <%= renderCard('Facebook Comments', '💬', '/facebook-comments') %> <%= renderCard('Disqus Comments', '✉️', '/disqus-comments') %> - <%= renderCard('reCAPTCHA', '🤖', '/google-recaptcha') %> - <%= renderCard('Spotify embed', '🔊', '/spotify-embed') %> + <%= renderCard('Spotify', '🔊', '/spotify-embed') %> <%= renderCard('CHIPS', '🍪', '/chips') %> <%= renderCard('Storage Access API', '🗃️', '/storage-access-api') %> diff --git a/src/scenarios/google-recaptcha/index.ejs b/src/scenarios/google-recaptcha/index.ejs deleted file mode 100644 index 30688e1..0000000 --- a/src/scenarios/google-recaptcha/index.ejs +++ /dev/null @@ -1,54 +0,0 @@ -<%- include(commonPath + '/header.ejs') %> - -<%- include(commonPath + '/internal-page/header.ejs', {containerType: 'sm'}) %> -
- -<%- include(commonPath + '/internal-page/footer.ejs') %> - - -<%- include(commonPath + '/footer.ejs') %> diff --git a/src/scenarios/google-recaptcha/routes.js b/src/scenarios/google-recaptcha/routes.js deleted file mode 100644 index f86e9a3..0000000 --- a/src/scenarios/google-recaptcha/routes.js +++ /dev/null @@ -1,12 +0,0 @@ -const express = require('express'); -const path = require('path'); -const router = express.Router(); - -router.get('/', (req, res) => { - // Send the default page - res.render(path.join(__dirname,'index'), { - title: 'Google reCAPTCHA' - }); -}); - -module.exports = router; diff --git a/src/scenarios/spotify-embed/routes.js b/src/scenarios/spotify-embed/routes.js index 5f65388..3f1f992 100644 --- a/src/scenarios/spotify-embed/routes.js +++ b/src/scenarios/spotify-embed/routes.js @@ -6,7 +6,7 @@ router.get('/', (req, res) => { // Send the default page const currentDomain = req.get('host'); res.render(path.join(__dirname,'index'), { - title: 'Spotify Player' + title: 'Spotify' }); });