Skip to content

Commit

Permalink
Add PrepVerse files
Browse files Browse the repository at this point in the history
  • Loading branch information
Akash Singh committed Feb 4, 2024
1 parent c75b84c commit 164a0f5
Show file tree
Hide file tree
Showing 13 changed files with 465 additions and 471 deletions.
2 changes: 1 addition & 1 deletion documentation/blog/2024-02-01-history-of-bharatvarsha.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ slug: bharatvarsha
authors: AkashSingh3031
tags: [Bharatvarsha, Jambudweep, Bharatkhand, Bharat, Hindustan, Aryavarta, Ajnabhavarsh, Tenjiku, India]
is_featured: true
image: https://github.com/AkashSingh3031.png
image: https://sc0.blr1.digitaloceanspaces.com/large/805990-article-dhyrizbzrt-1459438492.jpeg
hide_table_of_contents: false
---

Expand Down
2 changes: 1 addition & 1 deletion documentation/blog/2024-02-02-history-of-universe.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ slug: universe
authors: AkashSingh3031
tags: [Universe, Bharat]
is_featured: false
image: https://github.com/AkashSingh3031.png
image: https://www.astronomy.com/wp-content/uploads/sites/2/2021/09/ASYIF0121_02.jpg
hide_table_of_contents: false
---

Expand Down
2 changes: 1 addition & 1 deletion documentation/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const siteConfig = {
process.env.DISABLE_VERSIONING === "true",
versions: {
current: {
label: "CSE Preparation",
label: "DSA",
},
},
lastVersion: "current",
Expand Down
44 changes: 34 additions & 10 deletions documentation/src/components/blog/blog-post-page/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@ import MDXContent from "@theme/MDXContent";
import BlogPostItemContainer from "@theme/BlogPostItem/Container";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import {
LinkedinIcon,
LinkedinShareButton,
RedditShareButton,
TwitterShareButton,
TwitterIcon,
TwitterShareButton,
TelegramIcon,
TelegramShareButton,
FacebookIcon,
FacebookShareButton,
InstapaperIcon,
InstapaperShareButton,
RedditIcon,
LinkedinIcon,
RedditShareButton,
} from "react-share";
import clsx from "clsx";

Expand Down Expand Up @@ -74,6 +80,7 @@ export const BlogPostPageView = ({ children }) => {
title={title}
source={url}
summary={description}
hashtags={tags.map((tag) => tag.label)}
className="flex"
>
<LinkedinIcon size={26} round />
Expand All @@ -82,24 +89,41 @@ export const BlogPostPageView = ({ children }) => {
windowWidth={750}
windowHeight={800}
url={url + permalink}
className="flex"
title={title}
hashtags={tags.map((tag) => tag.label)}
className="flex"
>
<Twitter width={26} height={26} />
</TwitterShareButton>
<TelegramShareButton
windowWidth={750}
windowHeight={800}
url={url + permalink}
title={title}
hashtags={tags.map((tag) => tag.label)}
className="flex"
>
<TelegramIcon size={26} round />
</TelegramShareButton>
<FacebookShareButton
windowWidth={750}
windowHeight={800}
url={url + permalink}
title={title}
hashtags={tags.map((tag) => tag.label)}
className="flex"
>
<FacebookIcon size={26} round />
</FacebookShareButton>
</div>
</div>
{/* <div>
<div>
<img
className="mb-2 w-full rounded-xl"
src={`https://refine-web.imgix.net${frontMatter.image?.replace(
"https://refine.ams3.cdn.digitaloceanspaces.com",
"",
)}?w=800`}
src={`${frontMatter.image}?w=160`}
alt={title}
/>
</div> */}
</div>
<div className="blog-sm:px-6">
<div className="mb-6 text-sm">
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,18 @@ export const FeaturedBlogPostItem = () => {
return (
<BlogPostItemContainer>
<Link itemProp="url" to={permalink}>
{/* <div className="not-prose relative m-0 h-40 hover:brightness-90 md:h-64">
<div className="not-prose relative m-0 h-40 hover:brightness-90 md:h-64">
<img
src={`https://refine-web.imgix.net${frontMatter.image?.replace(
"https://refine.ams3.cdn.digitaloceanspaces.com",
"",
)}?h=256`}
// src={`https://refine-web.imgix.net${frontMatter.image?.replace(
// "https://refine.ams3.cdn.digitaloceanspaces.com",
// "",
// )}?h=256`}
src={`${frontMatter.image}?h=256`}
alt={title}
className="absolute inset-0 mt-0 h-full w-full rounded-[10px] object-cover"
loading="lazy"
/>
</div> */}
</div>
</Link>
<div className="px-4 py-4 md:px-6 md:py-6">
<div
Expand Down
3 changes: 1 addition & 2 deletions documentation/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { LandingFooter } from "../refine-theme/landing-footer";
import { LandingHeader } from "../refine-theme/landing-header";
import { BlogFooter } from "../refine-theme/blog-footer";
import { LandingHero } from "../refine-theme/landing-hero";
import { EnterpriseHeroSection } from "@site/src/refine-theme/enterprise-hero-section";
import { GithubIcon } from "@site/src/refine-theme/icons/github";
import { OpenSourceIcon } from "@site/src/refine-theme/icons/open-source";
import { DiscordIcon, TwitterIcon, LinkedInIcon } from "@site/src/refine-theme/icons/popover";
Expand Down Expand Up @@ -46,7 +45,7 @@ function Home() {
</div>
<About />
<div className="h-[96px] landing-lg:h-[160px]" />
<BlogFooter />
<LandingFooter />
</div>
</CommonLayout>
</>
Expand Down
Loading

0 comments on commit 164a0f5

Please sign in to comment.