|
| 1 | +import React from 'react'; |
| 2 | +import { motion } from 'framer-motion'; |
| 3 | +import '../../styles/dnd.css'; |
| 4 | +import useSeo from "../../hooks/useSeo"; |
| 5 | + |
| 6 | +const pageVariants = { |
| 7 | + initial: { |
| 8 | + opacity: 0, |
| 9 | + }, |
| 10 | + in: { |
| 11 | + opacity: 1, |
| 12 | + }, |
| 13 | + out: { |
| 14 | + opacity: 0, |
| 15 | + }, |
| 16 | +}; |
| 17 | + |
| 18 | +const pageTransition = { |
| 19 | + type: 'tween', |
| 20 | + ease: 'easeInOut', |
| 21 | + duration: 0.3, |
| 22 | +}; |
| 23 | + |
| 24 | +function DndAuthorsPage() { |
| 25 | + useSeo({ |
| 26 | + title: 'Authors | From Serfs and Frauds', |
| 27 | + description: 'Meet the authors behind the Dungeons & Dragons campaign, From Serfs and Frauds.', |
| 28 | + keywords: ['Fezcodex', 'd&d', 'dnd', 'from serfs and frauds', 'authors'], |
| 29 | + ogTitle: 'Authors | From Serfs and Frauds', |
| 30 | + ogDescription: 'Meet the authors behind the Dungeons & Dragons campaign, From Serfs and Frauds.', |
| 31 | + ogImage: 'https://fezcode.github.io/logo512.png', |
| 32 | + twitterCard: 'summary_large_image', |
| 33 | + twitterTitle: 'Authors | From Serfs and Frauds', |
| 34 | + twitterDescription: 'Meet the authors behind the Dungeons & Dragons campaign, From Serfs and Frauds.', |
| 35 | + twitterImage: 'https://fezcode.github.io/logo512.png' |
| 36 | + }); |
| 37 | + |
| 38 | + return ( |
| 39 | + <motion.div |
| 40 | + initial="initial" |
| 41 | + animate="in" |
| 42 | + exit="out" |
| 43 | + variants={pageVariants} |
| 44 | + transition={pageTransition} |
| 45 | + className="dnd-page-container" |
| 46 | + > |
| 47 | + <div className="dnd-hero" style={{ backgroundImage: `url(${process.env.PUBLIC_URL}/images/stories/border-large.jpg)` }}> |
| 48 | + <h1 className="dnd-title-box"> |
| 49 | + <span className="dnd-hero-title-white">Authors</span> |
| 50 | + </h1> |
| 51 | + <div className="dnd-content-box" style={{ zIndex: 1 }}> |
| 52 | + <p>This is the Authors page. Details about authors will be displayed here.</p> |
| 53 | + </div> |
| 54 | + </div> |
| 55 | + </motion.div> |
| 56 | + ); |
| 57 | +} |
| 58 | + |
| 59 | +export default DndAuthorsPage; |
0 commit comments