@bradgarropy/gatsby-plugin-seo
Version:
🔎 gatsby-plugin-seo
13 lines • 1.5 kB
JavaScript
;
exports.__esModule = true;
var tslib_1 = require("tslib");
var jsx_runtime_1 = require("react/jsx-runtime");
var Facebook_1 = (0, tslib_1.__importDefault)(require("../Facebook"));
var Meta_1 = (0, tslib_1.__importDefault)(require("../Meta"));
var Twitter_1 = (0, tslib_1.__importDefault)(require("../Twitter"));
var SEO = function (_a) {
var title = _a.title, description = _a.description, keywords = _a.keywords, icon = _a.icon, themeColor = _a.themeColor, colorScheme = _a.colorScheme, facebook = _a.facebook, twitter = _a.twitter;
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Meta_1["default"], { title: title, description: description, keywords: keywords, icon: icon, themeColor: themeColor, colorScheme: colorScheme }, void 0), (0, jsx_runtime_1.jsx)(Facebook_1["default"], { title: title, description: description, url: facebook === null || facebook === void 0 ? void 0 : facebook.url, image: facebook === null || facebook === void 0 ? void 0 : facebook.image, type: facebook === null || facebook === void 0 ? void 0 : facebook.type }, void 0), (0, jsx_runtime_1.jsx)(Twitter_1["default"], { title: title, description: description, image: twitter === null || twitter === void 0 ? void 0 : twitter.image, site: twitter === null || twitter === void 0 ? void 0 : twitter.site, card: twitter === null || twitter === void 0 ? void 0 : twitter.card }, void 0)] }, void 0));
};
exports["default"] = SEO;
//# sourceMappingURL=SEO.js.map