diff --git a/documentation/docusaurus.config.js b/documentation/docusaurus.config.js index 9aa83c2a..fbfd326c 100644 --- a/documentation/docusaurus.config.js +++ b/documentation/docusaurus.config.js @@ -159,10 +159,10 @@ const siteConfig = { }, image: "img/prepverse_favicon.jpg", algolia: { - appId: "1", - apiKey: "2", - indexName: "prepverse", - contextualSearch: true, + appId: "WFEX2734BK", + apiKey: "ca4e3acfce16651e728fe959f2502f28", + indexName: "prepverseio", + // contextualSearch: true, }, metadata: [ { diff --git a/documentation/package-lock.json b/documentation/package-lock.json index 64dd438d..5bfe7df4 100644 --- a/documentation/package-lock.json +++ b/documentation/package-lock.json @@ -13,6 +13,7 @@ "@docusaurus/preset-classic": "2.4.0", "@giscus/react": "^2.4.0", "@headlessui/react": "^1.7.15", + "@iconify/react": "^4.1.1", "@mdx-js/react": "^1.6.22", "@swc/core": "^1.3.64", "@tailwindcss/line-clamp": "^0.4.2", @@ -2684,6 +2685,25 @@ "react-dom": "^16 || ^17 || ^18" } }, + "node_modules/@iconify/react": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/@iconify/react/-/react-4.1.1.tgz", + "integrity": "sha512-jed14EjvKjee8mc0eoscGxlg7mSQRkwQG3iX3cPBCO7UlOjz0DtlvTqxqEcHUJGh+z1VJ31Yhu5B9PxfO0zbdg==", + "dependencies": { + "@iconify/types": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/cyberalien" + }, + "peerDependencies": { + "react": ">=16" + } + }, + "node_modules/@iconify/types": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz", + "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==" + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", @@ -17272,6 +17292,19 @@ "client-only": "^0.0.1" } }, + "@iconify/react": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/@iconify/react/-/react-4.1.1.tgz", + "integrity": "sha512-jed14EjvKjee8mc0eoscGxlg7mSQRkwQG3iX3cPBCO7UlOjz0DtlvTqxqEcHUJGh+z1VJ31Yhu5B9PxfO0zbdg==", + "requires": { + "@iconify/types": "^2.0.0" + } + }, + "@iconify/types": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz", + "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==" + }, "@jridgewell/gen-mapping": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", diff --git a/documentation/package.json b/documentation/package.json index f57181f6..11d7b444 100644 --- a/documentation/package.json +++ b/documentation/package.json @@ -21,6 +21,7 @@ "@docusaurus/preset-classic": "2.4.0", "@giscus/react": "^2.4.0", "@headlessui/react": "^1.7.15", + "@iconify/react": "^4.1.1", "@mdx-js/react": "^1.6.22", "@swc/core": "^1.3.64", "@tailwindcss/line-clamp": "^0.4.2", diff --git a/documentation/src/components/project-list/index.tsx b/documentation/src/components/project-list/index.tsx index 4993f688..1719fff2 100644 --- a/documentation/src/components/project-list/index.tsx +++ b/documentation/src/components/project-list/index.tsx @@ -294,7 +294,7 @@ const ExampleList: React.FC = () => { <>
diff --git a/documentation/src/prepverse-theme/blog-footer.tsx b/documentation/src/prepverse-theme/blog-footer.tsx index 3b9445b3..c0d8f8f8 100644 --- a/documentation/src/prepverse-theme/blog-footer.tsx +++ b/documentation/src/prepverse-theme/blog-footer.tsx @@ -3,231 +3,4 @@ import { LandingFooter } from "./landing-footer"; export const BlogFooter = () => { return ; -}; - -// import { useColorMode } from "@docusaurus/theme-common"; -// import clsx from "clsx"; -// import React from "react"; -// import { openFigma } from "../utils/open-figma"; -// import { footerDescription, menuItems, socialLinks } from "./footer-data"; -// import { HeartOutlinedIcon } from "./icons/heart-outlined"; -// import { PrepVerseLogoIcon } from "./icons/prepverse-logo"; - -// export const BlogFooter = () => { -// const { colorMode } = useColorMode(); - -// return ( -// <> -//
-//
-//
-// -//
-//
-//
-// {footerDescription} -//
-//
-// {menuItems.map((menu) => ( -//
-//
-// {menu.label} -//
-//
-// {menu.items.map((item) => ( -// -// {item.label} -// -// ))} -//
-//
-// ))} -//
-//
-//
-// Contact -//
-// -//
-//
-//
-//
-//
-//
-//
-//
-//
-// Copyright © 2023 PrepVerse{" "} -//

-// Built with Docusaurus & refine. -//
-//
-// -// Connect with me on -// -//
-// {socialLinks.map(({ href, icon: Icon }) => ( -// -// -// -// ))} -//
-//
-//
-//
-// -// ); -// }; +}; \ No newline at end of file diff --git a/documentation/src/prepverse-theme/common-footer.tsx b/documentation/src/prepverse-theme/common-footer.tsx index 0f1b8d67..49eb3220 100644 --- a/documentation/src/prepverse-theme/common-footer.tsx +++ b/documentation/src/prepverse-theme/common-footer.tsx @@ -45,7 +45,7 @@ export const CommonFooter = () => { "sm:mr-4", )} > - Join us on + Connect with me on
I am{" "} @@ -39,7 +38,6 @@ export const EnterpriseHeroSection = ({ > Akash Singh - .




"Face the challenge, Fight through the obstacles, Finish what you started." +

+

@@ -74,13 +74,11 @@ export const EnterpriseHeroSection = ({ > diff --git a/documentation/src/prepverse-theme/footer-data.tsx b/documentation/src/prepverse-theme/footer-data.tsx index 51b57b14..502b94ad 100644 --- a/documentation/src/prepverse-theme/footer-data.tsx +++ b/documentation/src/prepverse-theme/footer-data.tsx @@ -73,12 +73,12 @@ export const socialLinks = [ icon: FooterGithubIcon, href: "https://github.com/AkashSingh3031", }, - { - icon: FooterTwitterIcon, - href: "https://twitter.com/akashsingh3031", - }, { icon: FooterLinkedinIcon, href: "https://www.linkedin.com/in/akashsingh3031", }, + { + icon: FooterTwitterIcon, + href: "https://twitter.com/akashsingh3031", + }, ]; diff --git a/documentation/src/prepverse-theme/icons/account-pin.tsx b/documentation/src/prepverse-theme/icons/account-pin.tsx new file mode 100644 index 00000000..14b26dd6 --- /dev/null +++ b/documentation/src/prepverse-theme/icons/account-pin.tsx @@ -0,0 +1,19 @@ +import React from "react"; + +export const AccountPin = (props: React.SVGProps) => ( + + + +); diff --git a/documentation/src/prepverse-theme/landing-rainbow-button.tsx b/documentation/src/prepverse-theme/landing-rainbow-button.tsx index 280999fa..d9dcbd71 100644 --- a/documentation/src/prepverse-theme/landing-rainbow-button.tsx +++ b/documentation/src/prepverse-theme/landing-rainbow-button.tsx @@ -1,8 +1,7 @@ import React, { AnchorHTMLAttributes, ButtonHTMLAttributes } from "react"; import clsx from "clsx"; import Link from "@docusaurus/Link"; - -import { PlayOutlinedIcon } from "./icons/play-outlined"; +import { AccountPin } from "./icons/account-pin"; type Props = { children?: React.ReactNode; @@ -85,7 +84,7 @@ export const LandingRainbowButton = ({ children ) : ( <> - {/* */} + About Me diff --git a/documentation/src/theme/BlogPostPage/index.js b/documentation/src/theme/BlogPostPage/index.js index 0d811fdc..29aa3c06 100644 --- a/documentation/src/theme/BlogPostPage/index.js +++ b/documentation/src/theme/BlogPostPage/index.js @@ -1,19 +1,12 @@ import React from "react"; import clsx from "clsx"; -import { - HtmlClassNameProvider, - ThemeClassNames, -} from "@docusaurus/theme-common"; -import { - BlogPostProvider, - useBlogPost, -} from "@docusaurus/theme-common/internal"; +import { HtmlClassNameProvider, ThemeClassNames } from "@docusaurus/theme-common"; +import { BlogPostProvider, useBlogPost } from "@docusaurus/theme-common/internal"; import BlogLayout from "@theme/BlogLayout"; import BlogPostPageMetadata from "@theme/BlogPostPage/Metadata"; import { BlogTOC } from "../../prepverse-theme/blog-toc"; -import Comment from '@site/src/components/blog-comment' - import { BlogPostPageView, PostPaginator } from "../../components/blog"; +import Comment from '@site/src/components/blog-comment' function BlogPostPageContent({ children }) { const { metadata, toc } = useBlogPost();