-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds pages for newsletter demo (#3599)
Co-authored-by: justinchou-google <[email protected]>
- Loading branch information
1 parent
8383e70
commit 2584e46
Showing
6 changed files
with
200 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Mini Autoprompt (Free Article) - Swgjs Demos</title> | ||
<link | ||
rel="shortcut icon" | ||
href="../../images/favicon.png" | ||
type="image/x-icon" | ||
/> | ||
|
||
<link rel="stylesheet" href="../../demos.css" /> | ||
|
||
<script | ||
async | ||
type="application/javascript" | ||
src="/examples/sample-pub/redirect-to/swg-basic.js" | ||
></script> | ||
|
||
<script> | ||
(self.SWG_BASIC = self.SWG_BASIC || []).push((basicSubscriptions) => { | ||
basicSubscriptions.init({ | ||
type: 'NewsArticle', | ||
isAccessibleForFree: true, | ||
isPartOfType: ['Product'], | ||
isPartOfProductId: 'CAowmLOrCw:openaccess', | ||
autoPromptType: 'subscription', | ||
clientOptions: {theme: 'light', lang: 'en'}, | ||
}); | ||
}); | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<div class="content"> | ||
<article> | ||
<h2>Newsletter Signup CTA</h2> | ||
|
||
<p> | ||
Macaroon chocolate wafer cake chocolate cake gummies soufflé lollipop | ||
pie. Cheesecake cotton candy macaroon caramels pie. | ||
</p> | ||
</article> | ||
</div> | ||
|
||
<script src="../../demos.js"></script> | ||
</body> | ||
</html> |
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,50 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Large Autoprompt (Free Article) - Swgjs Demos</title> | ||
<link | ||
rel="shortcut icon" | ||
href="../../images/favicon.png" | ||
type="image/x-icon" | ||
/> | ||
|
||
<link rel="stylesheet" href="../../demos.css" /> | ||
|
||
<script | ||
async | ||
type="application/javascript" | ||
src="/examples/sample-pub/redirect-to/swg-basic.js" | ||
></script> | ||
|
||
<script> | ||
(self.SWG_BASIC = self.SWG_BASIC || []).push((basicSubscriptions) => { | ||
basicSubscriptions.init({ | ||
type: 'NewsArticle', | ||
isAccessibleForFree: true, | ||
isPartOfType: ['Product'], | ||
isPartOfProductId: 'CAowvrHZCw:cool', | ||
autoPromptType: 'subscription_large', | ||
clientOptions: {theme: 'dark', lang: 'en'}, | ||
}); | ||
}); | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<div class="content"> | ||
<article> | ||
<h2>Large Autoprompt (Free Article)</h2> | ||
|
||
<p> | ||
Macaroon chocolate wafer cake chocolate cake gummies soufflé lollipop | ||
pie. Cheesecake cotton candy macaroon caramels pie. | ||
</p> | ||
</article> | ||
</div> | ||
|
||
<script src="../../demos.js"></script> | ||
</body> | ||
</html> |
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,49 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" | ||
content="IE=edge"> | ||
<meta name="viewport" | ||
content="width=device-width, initial-scale=1.0"> | ||
<title>Newsletter CTA - Swgjs Demos</title> | ||
<link rel="shortcut icon" | ||
href="../../images/favicon.png" | ||
type="image/x-icon"> | ||
|
||
<link rel="stylesheet" | ||
href="../../demos.css"> | ||
|
||
<script async | ||
type="application/javascript" | ||
src="/examples/sample-pub/redirect-to/swg-basic.js"></script> | ||
|
||
<script> | ||
(self.SWG_BASIC = self.SWG_BASIC || []).push(basicSubscriptions => { | ||
basicSubscriptions.init({ | ||
type: "NewsArticle", | ||
isPartOfType: ["Product"], | ||
isPartOfProductId: "CAowuq6IAQ:openaccess", | ||
clientOptions: { theme: "light", lang: "en" }, | ||
}); | ||
}); | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<div class="content"> | ||
<article> | ||
<h2>Newsletter CTA</h2> | ||
|
||
<p> | ||
Macaroon chocolate wafer cake chocolate cake gummies soufflé lollipop pie. Cheesecake cotton | ||
candy macaroon caramels pie. | ||
</p> | ||
</article> | ||
</div> | ||
|
||
<script src="../../demos.js"></script> | ||
</body> | ||
|
||
</html> |
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,49 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" | ||
content="IE=edge"> | ||
<meta name="viewport" | ||
content="width=device-width, initial-scale=1.0"> | ||
<title>Newsletter CTA - Swgjs Demos</title> | ||
<link rel="shortcut icon" | ||
href="../../images/favicon.png" | ||
type="image/x-icon"> | ||
|
||
<link rel="stylesheet" | ||
href="../../demos.css"> | ||
|
||
<script async | ||
type="application/javascript" | ||
src="/examples/sample-pub/redirect-to/swg-basic.js"></script> | ||
|
||
<script> | ||
(self.SWG_BASIC = self.SWG_BASIC || []).push(basicSubscriptions => { | ||
basicSubscriptions.init({ | ||
type: "NewsArticle", | ||
isPartOfType: ["Product"], | ||
isPartOfProductId: "CAowuq6IAQ:openaccess", | ||
clientOptions: { theme: "light", lang: "en" }, | ||
}); | ||
}); | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<div class="content"> | ||
<article> | ||
<h2>Newsletter CTA</h2> | ||
|
||
<p> | ||
Macaroon chocolate wafer cake chocolate cake gummies soufflé lollipop pie. Cheesecake cotton | ||
candy macaroon caramels pie. | ||
</p> | ||
</article> | ||
</div> | ||
|
||
<script src="../../demos.js"></script> | ||
</body> | ||
|
||
</html> |