-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from rtCamp/feature/social-media
Social media demo
- Loading branch information
Showing
7 changed files
with
54 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<%- include(commonPath + '/header.ejs') %> | ||
|
||
<%- include(commonPath + '/internal-page/header.ejs', {containerType: 'sm'}) %> | ||
<div id="fb-root"></div> | ||
<script | ||
async | ||
defer | ||
crossorigin="anonymous" | ||
src="https://connect.facebook.net/en_EN/sdk.js#xfbml=1&version=v19.0&appId=222635294526394" | ||
nonce="T4XgOzUp" | ||
></script> | ||
<div id="status" class="text-center font-bold text-lg my-4"></div> | ||
<div class="flex justify-center"> | ||
<div | ||
class="fb-like" | ||
data-href="https://third-party-social-button.glitch.me/" | ||
data-width="" | ||
data-layout="" | ||
data-action="" | ||
data-size="" | ||
data-share="true" | ||
></div> | ||
</div> | ||
<%- include(commonPath + '/internal-page/footer.ejs') %> | ||
<%- include(commonPath + '/footer.ejs') %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
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: 'Social media Like Button' | ||
}); | ||
}); | ||
|
||
module.exports = router; |