diff --git a/package-lock.json b/package-lock.json index 8718301..3c95d9e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,6 @@ "turndown": "^7.1.1" }, "devDependencies": { - "@tailwindcss/typography": "^0.5.2", "@types/node": "17.0.21", "@types/react": "17.0.40", "@types/react-dom": "^17.0.13", @@ -455,20 +454,6 @@ "integrity": "sha512-JLo+Y592QzIE+q7Dl2pMUtt4q8SKYI5jDrZxrozEQxnGVOyYE+GWK9eLkwTaeN9DDctlaRAQ3TBmzZ1qdLE30A==", "dev": true }, - "node_modules/@tailwindcss/typography": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.2.tgz", - "integrity": "sha512-coq8DBABRPFcVhVIk6IbKyyHUt7YTEC/C992tatFB+yEx5WGBQrCgsSFjxHUr8AWXphWckadVJbominEduYBqw==", - "dev": true, - "dependencies": { - "lodash.castarray": "^4.4.0", - "lodash.isplainobject": "^4.0.6", - "lodash.merge": "^4.6.2" - }, - "peerDependencies": { - "tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1 || insiders" - } - }, "node_modules/@types/json5": { "version": "0.0.29", "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", @@ -2405,18 +2390,6 @@ "node": ">=4" } }, - "node_modules/lodash.castarray": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.castarray/-/lodash.castarray-4.4.0.tgz", - "integrity": "sha1-wCUTUV4wna3dTCTGDP3c9ZdtkRU=", - "dev": true - }, - "node_modules/lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=", - "dev": true - }, "node_modules/lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", @@ -3950,17 +3923,6 @@ "integrity": "sha512-JLo+Y592QzIE+q7Dl2pMUtt4q8SKYI5jDrZxrozEQxnGVOyYE+GWK9eLkwTaeN9DDctlaRAQ3TBmzZ1qdLE30A==", "dev": true }, - "@tailwindcss/typography": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.2.tgz", - "integrity": "sha512-coq8DBABRPFcVhVIk6IbKyyHUt7YTEC/C992tatFB+yEx5WGBQrCgsSFjxHUr8AWXphWckadVJbominEduYBqw==", - "dev": true, - "requires": { - "lodash.castarray": "^4.4.0", - "lodash.isplainobject": "^4.0.6", - "lodash.merge": "^4.6.2" - } - }, "@types/json5": { "version": "0.0.29", "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", @@ -5394,18 +5356,6 @@ "path-exists": "^3.0.0" } }, - "lodash.castarray": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.castarray/-/lodash.castarray-4.4.0.tgz", - "integrity": "sha1-wCUTUV4wna3dTCTGDP3c9ZdtkRU=", - "dev": true - }, - "lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=", - "dev": true - }, "lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", diff --git a/package.json b/package.json index 20c6682..661ba85 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,6 @@ "turndown": "^7.1.1" }, "devDependencies": { - "@tailwindcss/typography": "^0.5.2", "@types/node": "17.0.21", "@types/react": "17.0.40", "@types/react-dom": "^17.0.13", diff --git a/src/components/Content/ThumbnailHeader.tsx b/src/components/Content/ThumbnailHeader.tsx index 5ae6da6..b9bfd44 100644 --- a/src/components/Content/ThumbnailHeader.tsx +++ b/src/components/Content/ThumbnailHeader.tsx @@ -2,10 +2,11 @@ import { GetContentQuery, GetWebsiteInterfaceQuery, } from "graphql/operations-types"; -import { prettySlug } from "queries/helpers"; +import { prettyinlineTitle, prettySlug, slugify } from "queries/helpers"; import Button from "components/Button"; import Img, { ImageQuality } from "components/Img"; import InsetBox from "components/InsetBox"; +import Chip from "components/Chip"; export type ThumbnailHeaderProps = { content: { @@ -39,7 +40,18 @@ export default function ThumbnailHeader(
)} -{content.titles[0].pre_title}
@@ -54,22 +66,26 @@ export default function ThumbnailHeader({props.children}
+ > + ); + }, + }, + InsetBox: { + component: (props) => { + return- Accord’s Library aims at gathering and archiving all of Yoko - Taro’s work. Yoko Taro is a Japanese video game director and - scenario writer. He is best-known for his work on the NieR and - Drakengard (Drag-on Dragoon) franchises. To complement his games, Yoko - Taro likes to publish side materials in the form of books, novellas, - artbooks, stage plays, manga, drama CDs, and comics. Those side - materials can be very difficult to find. His work goes all the way back - to 2003, and most of them are out of print after having been released - solely in Japan, sometimes in limited quantities. Their prices on the - second hand market have skyrocketed, ranging all the way to hundreds if - not thousand of dollars for the rarest items. -
-- This is where this library takes its meaning, in trying to help the - community grow by providing translators, writers, and wiki’s - contributors a simple way to access these records filled with stories, - artworks, and knowledge. -
-- We are a small group of Yoko Taro’s fans that decided to join - forces and create a website and a community. Our motto is{" "} - Discover • Analyze • Translate • Archive (D.A.T.A. for - short). We started with the goal of gathering and archiving as much - side-materials/merch as possible. But since then, our ambition grew and - we decided to create a full-fledged website that will also include news - articles, lore, summaries, translations, and transcriptions. Hopefully - one day, we will be up there in the list of notable resources for - Drakengard and NieR fans. -
-- - The Compendium - - : This is where we will list every NieR/DOD/other Yoko Tato merch, - games, books, novel, stage play, CD... well everything! For each, we - will provide photos and/or scans of the content, information about what - it is, when and how it was released, size, initial price... -
-- - News - - : Yes because we also want to create our own content! So there you will - find translations, transcriptions, unboxing, news about future - merch/game releases, maybe some guides. We don’t see this website - as being purely a showcase of our work, but also of the community, and - as such, we will be accepting applications for becoming contributors on - the website. For the applicant, there is no deadline or article quota, - it merely means that we will have access to the website Post Writing - tools and will be able to submit a draft that can be published once - verified by an editor. Anyway, that’s at least the plan, we will - think more about this until the website’s official launch. -
-- - Data - - : There we will publish lore/knowledge about the Yokoverse: Dictionary, - Timeline, Weapons Stories, Game summaries... We have not yet decided how - deep we want to go as they are already quite a few resources out there.{" "} -
-- - - Gallery - - - : A fully tagged Danbooru-styled gallery with currently more than a - thousand unique artworks. If you are unfamiliar with this kind of - gallery, it comes with a powerful search function that allows you to - search for specific images: want to search for images with both Caim and - Inuart, just type{" "} - - - Caim Inuart - - - . If you want images of Devola OR Popola, you can use a comma{" "} - - - Popola,Devola - - - . You can also negate a tag: i.e. images of 9S without any pods around, - search for{" "} - - - 9S -Pods - - - . Anyway, there is a lot more to it, you can click on "Syntax - help" next to the Search button for even neater functions. Btw, you - can create an account to favorite, upvote/downvote posts, or if you want - to help tagging them. There isn’t currently a way for new users to - upload images, you’ll have to contact us first and we can decide - to enable this function on your account. -
+