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 164a0f5 commit 7fff118
Show file tree
Hide file tree
Showing 339 changed files with 108 additions and 108 deletions.
6 changes: 3 additions & 3 deletions documentation/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const siteConfig = {
tagline: "Computer Science Preparation",
url: "https://prepverse.github.io",
baseUrl: "/",
projectName: "PrepVerse",
projectName: "prepverse",
organizationName: "PrepVerse",
trailingSlash: true,
favicon: "img/prepverse_favicon.jpg",
Expand Down Expand Up @@ -61,8 +61,8 @@ const siteConfig = {
blog: false,
theme: {
customCss: [
require.resolve("./src/refine-theme/css/fonts.css"),
require.resolve("./src/refine-theme/css/custom.css"),
require.resolve("./src/prepverse-theme/css/fonts.css"),
require.resolve("./src/prepverse-theme/css/custom.css"),
require.resolve("./src/css/custom.css"),
require.resolve("./src/css/split-pane.css"),
require.resolve("./src/css/demo-page.css"),
Expand Down
2 changes: 1 addition & 1 deletion documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start": "docusaurus start",
"dev:lean": "DISABLE_DOCGEN=true DISABLE_VERSIONING=true DISABLE_EXAMPLES=true DISABLE_CHECKLISTS=true npm run start",
"dev:docs": "DISABLE_BLOG=true npm run dev:lean",
"dev:blog": "DISABLE_DOCS=true LIVE_PREVIEW_URL=https://next.live-previews.refine.dev/preview npm run dev:lean",
"dev:blog": "DISABLE_DOCS=true LIVE_PREVIEW_URL=https://next.live-previews.prepverse.github.io/preview npm run dev:lean",
"build": "NODE_OPTIONS=\"--max-old-space-size=8192\" docusaurus build",
"build:plugins": "sucrase ./plugins -d ./plugins --transforms typescript,imports && npx prettier --write ./plugins",
"swizzle": "docusaurus swizzle",
Expand Down
4 changes: 2 additions & 2 deletions documentation/plugins/checklist.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const getUnitById = (id) => {

function plugin() {
return {
name: "docusaurus-plugin-refine-checklist",
name: "docusaurus-plugin-prepverse-checklist",
configureWebpack(config) {
return {
resolve: {
Expand All @@ -92,7 +92,7 @@ function plugin() {
"optionalAccess",
(_3) => _3["@generated"],
]),
"docusaurus-plugin-refine-checklist",
"docusaurus-plugin-prepverse-checklist",
"default",
),
},
Expand Down
4 changes: 2 additions & 2 deletions documentation/plugins/checklist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ const getUnitById = (id: string) => {

export default function plugin(): Plugin {
return {
name: "docusaurus-plugin-refine-checklist",
name: "docusaurus-plugin-prepverse-checklist",
configureWebpack(config) {
return {
resolve: {
alias: {
"@checklists": path.join(
config.resolve?.alias?.["@generated"],
"docusaurus-plugin-refine-checklist",
"docusaurus-plugin-prepverse-checklist",
"default",
),
},
Expand Down
4 changes: 2 additions & 2 deletions documentation/plugins/docgen.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ const handleDocgen = async () => {

function plugin() {
return {
name: "docusaurus-plugin-refine-docgen",
name: "docusaurus-plugin-prepverse-docgen",
getPathsToWatch: function () {
return [packagesDir];
},
Expand All @@ -415,7 +415,7 @@ function plugin() {
"optionalAccess",
(_13) => _13["@generated"],
]),
"docusaurus-plugin-refine-docgen",
"docusaurus-plugin-prepverse-docgen",
"default",
),
},
Expand Down
4 changes: 2 additions & 2 deletions documentation/plugins/docgen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ const handleDocgen = async () => {

export default function plugin(): Plugin<DocgenContent> {
return {
name: "docusaurus-plugin-refine-docgen",
name: "docusaurus-plugin-prepverse-docgen",
getPathsToWatch: function () {
return [packagesDir];
},
Expand All @@ -352,7 +352,7 @@ export default function plugin(): Plugin<DocgenContent> {
alias: {
"@docgen": path.join(
config.resolve?.alias?.["@generated"],
"docusaurus-plugin-refine-docgen",
"docusaurus-plugin-prepverse-docgen",
"default",
),
},
Expand Down
6 changes: 3 additions & 3 deletions documentation/plugins/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const addColorToTags = (tags) => {

function plugin() {
return {
name: "docusaurus-plugin-refine-examples",
name: "docusaurus-plugin-prepverse-examples",
configureWebpack(config) {
return {
resolve: {
Expand All @@ -116,7 +116,7 @@ function plugin() {
"optionalAccess",
(_3) => _3["@generated"],
]),
"docusaurus-plugin-refine-examples",
"docusaurus-plugin-prepverse-examples",
"default",
),
},
Expand All @@ -125,7 +125,7 @@ function plugin() {
},
async contentLoaded({ allContent, actions }) {
if (!process.env.DISABLE_EXAMPLES) {
console.log("Composing refine examples...");
console.log("Composing prepverse examples...");

const { createData } = actions;

Expand Down
6 changes: 3 additions & 3 deletions documentation/plugins/examples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ const addColorToTags = (tags: string[]) => {

export default function plugin(): Plugin {
return {
name: "docusaurus-plugin-refine-examples",
name: "docusaurus-plugin-prepverse-examples",
configureWebpack(config) {
return {
resolve: {
alias: {
"@examples": path.join(
config.resolve?.alias?.["@generated"],
"docusaurus-plugin-refine-examples",
"docusaurus-plugin-prepverse-examples",
"default",
),
},
Expand All @@ -127,7 +127,7 @@ export default function plugin(): Plugin {
},
async contentLoaded({ allContent, actions }): Promise<void> {
if (!process.env.DISABLE_EXAMPLES) {
console.log("Composing refine examples...");
console.log("Composing prepverse examples...");

const { createData } = actions;

Expand Down
4 changes: 2 additions & 2 deletions documentation/src/assets/examples.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PageIcon } from "@site/src/refine-theme/icons/page";
import { ShareIcon } from "@site/src/refine-theme/icons/share";
import { PageIcon } from "@site/src/prepverse-theme/icons/page";
import { ShareIcon } from "@site/src/prepverse-theme/icons/share";
import React from "react";
import { Examples } from "../types/examples";

Expand Down
4 changes: 2 additions & 2 deletions documentation/src/components/banner/banner-examples.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { FC } from "react";
import clsx from "clsx";
import { LandingRainbowButton } from "@site/src/refine-theme/landing-rainbow-button";
import { RefineLogoSeal } from "@site/src/refine-theme/icons/refine-logo-seal";
import { LandingRainbowButton } from "@site/src/prepverse-theme/landing-rainbow-button";
import { RefineLogoSeal } from "@site/src/prepverse-theme/icons/refine-logo-seal";

type Props = {
title?: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { FC } from "react";
import clsx from "clsx";
import { LandingRainbowButton } from "@site/src/refine-theme/landing-rainbow-button";
import { RefineLogoSeal } from "@site/src/refine-theme/icons/refine-logo-seal";
import { ArrowRightIcon } from "@site/src/refine-theme/icons/arrow-right";
import { LandingRainbowButton } from "@site/src/prepverse-theme/landing-rainbow-button";
import { RefineLogoSeal } from "@site/src/prepverse-theme/icons/refine-logo-seal";
import { ArrowRightIcon } from "@site/src/prepverse-theme/icons/arrow-right";
import Link from "@docusaurus/Link";

type Props = {
Expand Down
6 changes: 3 additions & 3 deletions documentation/src/components/banner/banner-modal.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React, { FC, Fragment, useEffect, useRef, useState } from "react";
import clsx from "clsx";
import { LandingRainbowButton } from "@site/src/refine-theme/landing-rainbow-button";
import { ArrowRightIcon } from "@site/src/refine-theme/icons/arrow-right";
import { LandingRainbowButton } from "@site/src/prepverse-theme/landing-rainbow-button";
import { ArrowRightIcon } from "@site/src/prepverse-theme/icons/arrow-right";
import Link from "@docusaurus/Link";
import { Dialog, Transition } from "@headlessui/react";
import { CloseIcon } from "@site/src/refine-theme/icons/close";
import { CloseIcon } from "@site/src/prepverse-theme/icons/close";
import useScrollTracker from "@site/src/hooks/use-scroll-tracker";
import useLocalStorage from "@site/src/hooks/use-localstorage";
import { useLocation } from "@docusaurus/router";
Expand Down
4 changes: 2 additions & 2 deletions documentation/src/components/banner/banner-sidebar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Link from "@docusaurus/Link";
import { ArrowRightIcon } from "@site/src/refine-theme/icons/arrow-right";
import { LandingRainbowButton } from "@site/src/refine-theme/landing-rainbow-button";
import { ArrowRightIcon } from "@site/src/prepverse-theme/icons/arrow-right";
import { LandingRainbowButton } from "@site/src/prepverse-theme/landing-rainbow-button";
import clsx from "clsx";
import React from "react";

Expand Down
2 changes: 1 addition & 1 deletion documentation/src/components/checklist/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import clsx from "clsx";

import { useCurrentTutorial } from "../../hooks/use-current-tutorial";
import { useTutorialChecklists } from "../../hooks/use-tutorial-checklists";
import { CheckListIcon } from "@site/src/refine-theme/icons/check-list";
import { CheckListIcon } from "@site/src/prepverse-theme/icons/check-list";

type Props = React.PropsWithChildren<{}>;

Expand Down
6 changes: 3 additions & 3 deletions documentation/src/components/example-list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { Disclosure, Transition } from "@headlessui/react";
import data from "@examples/examples-data.json";
import { EXAMPLES, SHOW_CASES } from "@site/src/assets/examples";
import clsx from "clsx";
import { GithubIconOutlined } from "@site/src/refine-theme/icons/github";
import { ArrowUpIcon } from "@site/src/refine-theme/icons/arrow-up";
import { GithubIconOutlined } from "@site/src/prepverse-theme/icons/github";
import { ArrowUpIcon } from "@site/src/prepverse-theme/icons/arrow-up";
import { AnimatePresence, motion } from "framer-motion";
import { Example } from "@site/src/types/examples";
import { TriangleDownIcon } from "@site/src/refine-theme/icons/triangle-down";
import { TriangleDownIcon } from "@site/src/prepverse-theme/icons/triangle-down";

type ExampleDoc = Record<
"id" | "title" | "description" | "permalink" | "displayTitle",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { CommonRunLocalPrompt as default } from "../../refine-theme/common-run-local-prompt";
export { CommonRunLocalPrompt as default } from "../../prepverse-theme/common-run-local-prompt";
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { CommonShowSourcePrompt } from "../../refine-theme/common-show-source-prompt";
import { CommonShowSourcePrompt } from "../../prepverse-theme/common-show-source-prompt";

type Props = {
path: string;
Expand Down
6 changes: 3 additions & 3 deletions documentation/src/components/integrations/layout/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from "react";
import Head from "@docusaurus/Head";
import clsx from "clsx";
import { CommonLayout } from "@site/src/refine-theme/common-layout";
import { CommonHeader } from "@site/src/refine-theme/common-header";
import { BlogFooter } from "@site/src/refine-theme/blog-footer";
import { CommonLayout } from "@site/src/prepverse-theme/common-layout";
import { CommonHeader } from "@site/src/prepverse-theme/common-header";
import { BlogFooter } from "@site/src/prepverse-theme/blog-footer";

const IntegrationsLayout = ({ children }: React.PropsWithChildren<{}>) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion documentation/src/components/live-preview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { Conditional } from "../conditional";
import { splitCode } from "../../utils/split-code";
import { useLivePreviewContext } from "../live-preview-context";
import Buffer from "buffer";
import { ArrowUpIcon } from "@site/src/refine-theme/icons/arrow-up";
import { ArrowUpIcon } from "@site/src/prepverse-theme/icons/arrow-up";

global.Buffer = global.Buffer || Buffer.Buffer;

Expand Down
6 changes: 3 additions & 3 deletions documentation/src/components/project-list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { Disclosure, Transition } from "@headlessui/react";
import data from "@examples/examples-data.json";
import { EXAMPLES, SHOW_CASES } from "@site/src/assets/examples";
import clsx from "clsx";
import { GithubIconOutlined } from "@site/src/refine-theme/icons/github";
import { ArrowUpIcon } from "@site/src/refine-theme/icons/arrow-up";
import { GithubIconOutlined } from "@site/src/prepverse-theme/icons/github";
import { ArrowUpIcon } from "@site/src/prepverse-theme/icons/arrow-up";
import { AnimatePresence, motion } from "framer-motion";
import { Example } from "@site/src/types/examples";
import { TriangleDownIcon } from "@site/src/refine-theme/icons/triangle-down";
import { TriangleDownIcon } from "@site/src/prepverse-theme/icons/triangle-down";

type ExampleDoc = Record<
"id" | "title" | "description" | "permalink" | "displayTitle",
Expand Down
8 changes: 4 additions & 4 deletions documentation/src/components/refine-week/data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import {
StrapiWithText,
SupabaseWithText,
} from "@site/src/assets/integration-icons";
import { FooterDiscordIcon as DiscordIcon } from "../../refine-theme/icons/footer-discord";
import { FooterGithubIcon as GithubIcon } from "../../refine-theme/icons/footer-github";
import { FooterRedditIcon as RedditIcon } from "../../refine-theme/icons/footer-reddit";
import { FooterTwitterIcon as TwitterIcon } from "../../refine-theme/icons/footer-twitter";
import { FooterDiscordIcon as DiscordIcon } from "../../prepverse-theme/icons/footer-discord";
import { FooterGithubIcon as GithubIcon } from "../../prepverse-theme/icons/footer-github";
import { FooterRedditIcon as RedditIcon } from "../../prepverse-theme/icons/footer-reddit";
import { FooterTwitterIcon as TwitterIcon } from "../../prepverse-theme/icons/footer-twitter";

// The contents added to the timeline are defined day by day in the data.timeline. All contents are not published at the same time.
// For unpublished contents, the link can be defined as null. If the link is set to null, the timeline item becomes disabled.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import clsx from "clsx";
import { PlayOutlinedIcon } from "@site/src/refine-theme/icons/play-outlined";
import { PlayOutlinedIcon } from "@site/src/prepverse-theme/icons/play-outlined";

type Props = {
onClick?: () => void;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { LetsStartButton } from "./lets-start-button";
import { TwitterButton } from "./twitter-button";
import { DayIndicator } from "./day-indicator";
import { CoverBgShadowDesktop } from "./cover-bg-shadow";
import { ShareIcon } from "@site/src/refine-theme/icons/share";
import { ShareIcon } from "@site/src/prepverse-theme/icons/share";
import PublishCountdown from "./publish-countdown";
import { CalendarIcon } from "@site/src/refine-theme/icons/calendar";
import { CalendarIcon } from "@site/src/prepverse-theme/icons/calendar";

type Props = {
variant: WeekVariants;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { RefineWeekLogo } from "@site/src/assets/week-of-refine/icons";
import { LetsStartButton } from "./lets-start-button";
import { TwitterButton } from "./twitter-button";
import { DayIndicator } from "./day-indicator";
import { ShareIcon } from "@site/src/refine-theme/icons/share";
import { ShareIcon } from "@site/src/prepverse-theme/icons/share";
import { CoverBgShadowMobile } from "./cover-bg-shadow";
import { CalendarIcon } from "@site/src/refine-theme/icons/calendar";
import { CalendarIcon } from "@site/src/prepverse-theme/icons/calendar";

type Props = {
variant: WeekVariants;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { FooterTwitterIcon as TwitterIcon } from "../../refine-theme/icons/footer-twitter";
import { FooterTwitterIcon as TwitterIcon } from "../../prepverse-theme/icons/footer-twitter";
import clsx from "clsx";

type Props = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import Head from "@docusaurus/Head";
import { TemplatesDetail } from "../../refine-theme/template-detail";
import { TemplatesDetail } from "../../prepverse-theme/template-detail";

const TemplatesDetailPage = (props) => {
const { content } = props;
Expand Down
2 changes: 1 addition & 1 deletion documentation/src/components/video-modal-15k/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useHistory, useLocation } from "@docusaurus/router";
import { CloseIcon } from "@site/src/refine-theme/icons/close";
import { CloseIcon } from "@site/src/prepverse-theme/icons/close";
import clsx from "clsx";
import React from "react";
import {
Expand Down
28 changes: 14 additions & 14 deletions documentation/src/pages/about/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ import Head from "@docusaurus/Head";
import Link from "@docusaurus/Link";
import clsx from "clsx";
import React from "react";
import { FooterRedditIcon as RedditIcon } from "@site/src/refine-theme/icons/footer-reddit";
import { BlogFooter } from "@site/src/refine-theme/blog-footer";
import { CommonHeader } from "@site/src/refine-theme/common-header";
import { CommonLayout } from "@site/src/refine-theme/common-layout";
import { GithubIcon } from "@site/src/refine-theme/icons/github";
import { JoinUsIcon } from "@site/src/refine-theme/icons/join-us";
import { MailIcon } from "@site/src/refine-theme/icons/mail";
import { MarkerIcon } from "@site/src/refine-theme/icons/marker";
import { OpenSourceIcon } from "@site/src/refine-theme/icons/open-source";
import { DiscordIcon, TwitterIcon } from "@site/src/refine-theme/icons/popover";
import { FooterRedditIcon as RedditIcon } from "@site/src/prepverse-theme/icons/footer-reddit";
import { BlogFooter } from "@site/src/prepverse-theme/blog-footer";
import { CommonHeader } from "@site/src/prepverse-theme/common-header";
import { CommonLayout } from "@site/src/prepverse-theme/common-layout";
import { GithubIcon } from "@site/src/prepverse-theme/icons/github";
import { JoinUsIcon } from "@site/src/prepverse-theme/icons/join-us";
import { MailIcon } from "@site/src/prepverse-theme/icons/mail";
import { MarkerIcon } from "@site/src/prepverse-theme/icons/marker";
import { OpenSourceIcon } from "@site/src/prepverse-theme/icons/open-source";
import { DiscordIcon, TwitterIcon } from "@site/src/prepverse-theme/icons/popover";
import { useColorMode } from "@docusaurus/theme-common";
import { CommonThemedImage } from "@site/src/refine-theme/common-themed-image";
import { EnterpriseHeroSection } from "@site/src/refine-theme/enterprise-hero-section";
import { EnterpriseFaq } from "@site/src/refine-theme/enterprise-faq";
import { EnterpriseGetInTouchCta } from "@site/src/refine-theme/enterprise-get-in-touch-cta";
import { CommonThemedImage } from "@site/src/prepverse-theme/common-themed-image";
import { EnterpriseHeroSection } from "@site/src/prepverse-theme/enterprise-hero-section";
import { EnterpriseFaq } from "@site/src/prepverse-theme/enterprise-faq";
import { EnterpriseGetInTouchCta } from "@site/src/prepverse-theme/enterprise-get-in-touch-cta";
import ProjectList from "@site/src/components/project-list";

const About: React.FC = () => {
Expand Down
Loading

0 comments on commit 7fff118

Please sign in to comment.