sanity-plugin-seo-tools
Version:
> Upgrading from V2 to V3 is a breaking change. The `seo-tools` input has been replaced by a SEO pane which needs to be set-up using a custom desk structure as per the installation guide. Secondly, the previously automatically provided fields (focus keywo
36 lines (35 loc) • 1.16 kB
JavaScript
function _taggedTemplateLiteral(strings, raw) {
if (!raw) {
raw = strings.slice(0);
}
return Object.freeze(Object.defineProperties(strings, {
raw: {
value: Object.freeze(raw)
}
}));
}
function _templateObject() {
var data = _taggedTemplateLiteral([
"\n align-items: flex-start;\n gap: .5rem;\n grid-template-columns: auto 1fr;\n"
]);
_templateObject = function _templateObject() {
return data;
};
return data;
}
import { Box, Grid } from "@sanity/ui";
import React from "react";
import styled from "styled-components";
import { SeoRatingBubble } from "./SeoRatingBubble";
var StyledGrid = styled(Grid)(_templateObject());
export var SeoResultEntry = function(param) {
var result = param.result;
return /*#__PURE__*/ React.createElement(StyledGrid, null, /*#__PURE__*/ React.createElement(Box, null, /*#__PURE__*/ React.createElement(SeoRatingBubble, {
rating: result.rating
})), /*#__PURE__*/ React.createElement(Box, {
dangerouslySetInnerHTML: {
__html: result.text
}
}));
};
//# sourceMappingURL=SeoResultEntry.js.map