soames-gatsby-theme 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const jsx_runtime_1 = require("react/jsx-runtime");
4
4
  const SoamesVideo = ({ attributes }) => {
5
5
  const { link, title } = attributes;
6
- return ((0, jsx_runtime_1.jsx)("section", { className: "soames-video-container", children: (0, jsx_runtime_1.jsx)("figure", { className: "soames-figure align-center container", children: (0, jsx_runtime_1.jsx)("div", { className: "video-block", children: (0, jsx_runtime_1.jsx)("div", { className: "video-wrapper", children: (0, jsx_runtime_1.jsx)("iframe", { height: "580", width: "360", src: link, title: title ?? "Embedded video", frameBorder: "0", allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share", allowFullScreen: true }) }) }) }) }));
6
+ return ((0, jsx_runtime_1.jsx)("section", { className: "soames-video-container", children: (0, jsx_runtime_1.jsx)("figure", { className: "soames-figure align-center container", children: (0, jsx_runtime_1.jsx)("div", { className: "video-block", children: (0, jsx_runtime_1.jsx)("div", { className: "video-wrapper", children: (0, jsx_runtime_1.jsx)("iframe", { height: "580", width: "360", src: link, title: title ?? "Embedded video", frameBorder: "0", allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share", referrerPolicy: "strict-origin-when-cross-origin", allowFullScreen: true }) }) }) }) }));
7
7
  };
8
8
  exports.default = SoamesVideo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soames-gatsby-theme",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "A customizable Gatsby theme for personal websites using WordPress as a headless CMS.",
5
5
  "main": "dist/gatsby-config.js",
6
6
  "scripts": {
@@ -22,6 +22,7 @@ const SoamesVideo: React.FC<SoamesVideoProps> = ({ attributes }) => {
22
22
  title={title ?? "Embedded video"}
23
23
  frameBorder="0"
24
24
  allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
25
+ referrerPolicy="strict-origin-when-cross-origin"
25
26
  allowFullScreen
26
27
  ></iframe>
27
28
  </div>
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createPages = void 0;
4
- const createPages = async ({ actions }) => {
5
- // Add dynamic page creation logic here if needed
6
- };
7
- exports.createPages = createPages;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const Layout_1 = __importDefault(require("../components/Layout"));
8
- const Home = () => ((0, jsx_runtime_1.jsx)(Layout_1.default, { children: (0, jsx_runtime_1.jsx)("p", { children: "Welcome to the TypeScript version of Soames Gatsby Theme!" }) }));
9
- exports.default = Home;