Skip to content

Instantly share code, notes, and snippets.

@dhanar98
Created November 28, 2021 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dhanar98/203d9eb68cf64f6ba91fa5b24125dd2c to your computer and use it in GitHub Desktop.
Save dhanar98/203d9eb68cf64f6ba91fa5b24125dd2c to your computer and use it in GitHub Desktop.
FAQ Page In Next-Seo
import { FAQPageJsonLd } from 'next-seo';
const Faq = () => (
<>
<FAQPageJsonLd
mainEntity={[
{
questionName: 'What is Next-Seo',
acceptedAnswerText: 'Next-Seo is an NPM package or Plugin to manage all your SEO related features in Next.js App.',
},
{
questionName: 'What is JSON-LD?',
acceptedAnswerText: 'JSON-LD (JavaScript Object Notation for Linked Data) offers a simpler means to create machine-readable data from websites to promote search results. ',
}
]}
/>
</>
);
export default Faq;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment