diff --git a/package.json b/package.json index 5903311..05e9f81 100644 --- a/package.json +++ b/package.json @@ -56,6 +56,7 @@ "@types/node": "20.11.17", "@types/react": "18.2.55", "@types/react-dom": "18.2.19", + "@types/react-syntax-highlighter": "^15.5.11", "@vercel/postgres": "^0.7.2", "bootstrap": "5.3.2", "bootstrap-icons": "^1.11.3", @@ -71,6 +72,7 @@ "pg": "^8.11.3", "react": "18.2.0", "react-dom": "18.2.0", + "react-syntax-highlighter": "^15.5.0", "react-toastify": "^10.0.4", "rehype-katex": "^7.0.0", "rehype-stringify": "^10.0.0", diff --git a/src/assets/images/help/contributing/extensions/empty-new-extension-issue.png b/src/assets/images/help/contributing/extensions/empty-new-extension-issue.png new file mode 100644 index 0000000..74117e7 Binary files /dev/null and b/src/assets/images/help/contributing/extensions/empty-new-extension-issue.png differ diff --git a/src/assets/images/help/contributing/extensions/filled-out-new-extension-issue-template.png b/src/assets/images/help/contributing/extensions/filled-out-new-extension-issue-template.png new file mode 100644 index 0000000..1be576a Binary files /dev/null and b/src/assets/images/help/contributing/extensions/filled-out-new-extension-issue-template.png differ diff --git a/src/assets/images/help/contributing/tools/empty-new-tool-issue.png b/src/assets/images/help/contributing/tools/empty-new-tool-issue.png new file mode 100644 index 0000000..e375025 Binary files /dev/null and b/src/assets/images/help/contributing/tools/empty-new-tool-issue.png differ diff --git a/src/assets/images/help/contributing/tools/filled-out-new-tool-issue-template.png b/src/assets/images/help/contributing/tools/filled-out-new-tool-issue-template.png new file mode 100644 index 0000000..7061c09 Binary files /dev/null and b/src/assets/images/help/contributing/tools/filled-out-new-tool-issue-template.png differ diff --git a/src/components/AwesomeArcadeList/extension.tsx b/src/components/AwesomeArcadeList/extension.tsx index 4c25e13..08e63be 100644 --- a/src/components/AwesomeArcadeList/extension.tsx +++ b/src/components/AwesomeArcadeList/extension.tsx @@ -3,7 +3,7 @@ import React from "react"; import "tippy.js/dist/tippy.css"; import { copyTextToClipboard } from "@/scripts/Utils/Clipboard"; import Link from "next/link"; -import { smoothScrollHash } from "@/components/AwesomeArcadeList/linkableHeader"; +import { smoothScrollHash } from "@/components/Linkable/Header"; import { AnalyticEvents } from "@/components/Analytics"; import { useRouter } from "next/router"; import { TippyJSLibContext } from "@/pages/_app"; diff --git a/src/components/AwesomeArcadeList/tool.tsx b/src/components/AwesomeArcadeList/tool.tsx index 730ff15..4106129 100644 --- a/src/components/AwesomeArcadeList/tool.tsx +++ b/src/components/AwesomeArcadeList/tool.tsx @@ -1,7 +1,7 @@ import { Tool, ToolRef, URLLink } from "@/scripts/Utils/ParseListXML"; import React from "react"; import Link from "next/link"; -import { smoothScrollHash } from "@/components/AwesomeArcadeList/linkableHeader"; +import { smoothScrollHash } from "@/components/Linkable/Header"; import { AnalyticEvents } from "@/components/Analytics"; import { useRouter } from "next/router"; import Tippy from "@tippyjs/react"; diff --git a/src/components/Layout/layout.tsx b/src/components/Layout/layout.tsx index 04a88b1..61c78d9 100644 --- a/src/components/Layout/layout.tsx +++ b/src/components/Layout/layout.tsx @@ -171,47 +171,47 @@ LayoutProps): JSX.Element { {/* */} {/* */} + + + - - - - {dontShowServicesWarning ? <> : } - {/* {dontShowAdblockerWarning ? <> : } */} + {dontShowServicesWarning ? <> : } + {/* {dontShowAdblockerWarning ? <> : } */} - -
- {(() => { - if (putInDIV == undefined || putInDIV) { - return ( -
+ +
+ {(() => { + if (putInDIV == undefined || putInDIV) { + return ( +
+ <> + {breadCrumbsHTML} + {children} + +
+ ); + } else { + return ( <> {breadCrumbsHTML} {children} -
- ); - } else { - return ( - <> - {breadCrumbsHTML} - {children} - - ); - } - })()} -
-
+ ); + } + })()} + + - {showFooter == undefined || showFooter ?