Compare commits
4 Commits
9b8b59d4e6
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
| f15a1fb167 | |||
| bab35fbfce | |||
| 84cc6d64db | |||
| 63245d9afd |
@@ -1,9 +1,5 @@
|
||||
export const YouTubeVideo = ({id, children} : any) => (
|
||||
<iframe
|
||||
src={'https://www.youtube.com/embed/' + id}
|
||||
width="640"
|
||||
height="360"
|
||||
>
|
||||
{children}
|
||||
export const YouTubeVideo = ({ id, children }: any) => (
|
||||
<iframe src={'https://www.youtube.com/embed/' + id} className="w-full xl:h-96 md:h-80 h-64">
|
||||
{children}
|
||||
</iframe>
|
||||
)
|
||||
)
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
import { PropsWithChildren } from "react";
|
||||
import { R3Gradient } from '../components/R3Background';
|
||||
import { Navbar } from "../components/Navbar";
|
||||
import { PropsWithChildren } from 'react'
|
||||
import { R3Gradient } from '../components/R3Background'
|
||||
import { Navbar } from '../components/Navbar'
|
||||
|
||||
export const MainLayout = ({ children }: PropsWithChildren) => {
|
||||
return (
|
||||
<div className="w-full">
|
||||
<Navbar />
|
||||
<R3Gradient />
|
||||
<main className="xl:p-5 p-4 px-5 xl:mx-0">{children}</main>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
return (
|
||||
<div className="w-full">
|
||||
<Navbar />
|
||||
<main className="xl:p-5 p-4 px-5 xl:mx-0">{children}</main>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -20,10 +20,10 @@
|
||||
"@types/three": "^0.149.0",
|
||||
"framer-motion": "^8.0.2",
|
||||
"gray-matter": "^4.0.3",
|
||||
"next": "13.0.6",
|
||||
"next": "^13.3.1",
|
||||
"parse-numeric-range": "^1.3.0",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-icons": "^4.7.1",
|
||||
"react-markdown": "^8.0.4",
|
||||
"react-syntax-highlighter": "^15.5.0",
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
import { R3Gradient } from '../components/R3Background'
|
||||
import '../styles/globals.css'
|
||||
import type { AppProps } from 'next/app'
|
||||
|
||||
export default function App({ Component, pageProps }: AppProps) {
|
||||
return <Component {...pageProps} />
|
||||
return (
|
||||
<>
|
||||
<R3Gradient />
|
||||
<Component {...pageProps} />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
import { GetStaticPaths, GetStaticProps } from "next";
|
||||
import fs from "fs";
|
||||
import { ParsedUrlQuery } from "querystring";
|
||||
import { getProjectContentBySlug, PROJECTS_PATH } from "../../utils/markdown";
|
||||
import {
|
||||
getHeadings,
|
||||
getProjectContentBySlug,
|
||||
PROJECTS_PATH,
|
||||
} from "../../utils/markdown";
|
||||
import { MarkdownRenderingResult } from "../../types/types";
|
||||
import { MainLayout } from "../../layouts/MainLayout";
|
||||
import Link from "next/link";
|
||||
@@ -52,6 +56,9 @@ export const getStaticProps: GetStaticProps<MarkdownRenderingResult> = async ({
|
||||
params,
|
||||
}) => {
|
||||
const markdownContent = getProjectContentBySlug(params?.slug as string);
|
||||
|
||||
console.log(getHeadings(markdownContent.content));
|
||||
|
||||
return {
|
||||
props: {
|
||||
frontMatter: markdownContent.frontMatter,
|
||||
|
||||
@@ -1,71 +1,55 @@
|
||||
import { GetServerSideProps } from "next";
|
||||
import { MainLayout } from "../../layouts/MainLayout";
|
||||
import { Post, getAllProjectsFrontMatter } from "../../utils/markdown";
|
||||
import Link from "next/link";
|
||||
import { formatDate } from "../../utils/general";
|
||||
import { BasicArticleProps } from "../../components/PostHeader";
|
||||
import { GetServerSideProps } from 'next'
|
||||
import { MainLayout } from '../../layouts/MainLayout'
|
||||
import { Post, getAllProjectsFrontMatter } from '../../utils/markdown'
|
||||
import Link from 'next/link'
|
||||
import { formatDate } from '../../utils/general'
|
||||
import { BasicArticleProps } from '../../components/PostHeader'
|
||||
|
||||
const ProjectCard = ({
|
||||
project,
|
||||
slug,
|
||||
}: {
|
||||
project: BasicArticleProps;
|
||||
slug: string;
|
||||
}) => {
|
||||
return (
|
||||
<div className="p-4 rounded-md border border-gray-200 shadow-md shadow-gray-200 dark:shadow-gray-900 dark:border-gray-700 grid grid-cols-1 xl:grid-cols-2 items-center gap-4 bg-black bg-opacity-60">
|
||||
<div className="order-last xl:order-1">
|
||||
<div className="text-sm font-medium text-gray-500">
|
||||
{formatDate(project.date)}
|
||||
const ProjectCard = ({ project, slug }: { project: BasicArticleProps; slug: string }) => {
|
||||
return (
|
||||
<div className="p-4 rounded-md border border-gray-200 shadow-md shadow-gray-200 dark:shadow-gray-900 dark:border-gray-700 grid grid-cols-1 xl:grid-cols-2 items-center gap-4 bg-black bg-opacity-60">
|
||||
<div className="order-last xl:order-1">
|
||||
<div className="text-sm font-medium text-gray-500">{formatDate(project.date)}</div>
|
||||
<h2 className="text-2xl font-bold">{project.title}</h2>
|
||||
<p className="text-gray-600 dark:text-gray-400 text-sm">{project.description}</p>
|
||||
<Link href={`project/${slug}`}>
|
||||
<button className="bg-action px-2 py-1 rounded-md mt-4 hover:bg-action/60 transition-all ease-in duration-100 font-bold text-white">
|
||||
Read more
|
||||
</button>
|
||||
</Link>
|
||||
</div>
|
||||
{project.thumbnail && (
|
||||
<img
|
||||
src={project.thumbnail}
|
||||
alt={`${slug}-thumbnail`}
|
||||
className="w-full xl:h-40 h-auto object-cover rounded-md order-1 xl:order-last"
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
<h2 className="text-2xl font-bold">{project.title}</h2>
|
||||
<p className="text-gray-600 dark:text-gray-400 text-sm">
|
||||
{project.description}
|
||||
</p>
|
||||
<Link href={`project/${slug}`}>
|
||||
<button className="bg-action px-2 py-1 rounded-md mt-4 hover:bg-action/60 transition-all ease-in duration-100 font-bold text-white">
|
||||
Read more
|
||||
</button>
|
||||
</Link>
|
||||
</div>
|
||||
{project.thumbnail && (
|
||||
<img
|
||||
src={project.thumbnail}
|
||||
alt={`${slug}-thumbnail`}
|
||||
className="w-full xl:h-40 h-auto object-cover rounded-md order-1 xl:order-last"
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
)
|
||||
}
|
||||
|
||||
const Projects = ({ posts }: { posts: Post[] }) => {
|
||||
return (
|
||||
<MainLayout>
|
||||
<h1 className="text-3xl font-bold text-gray-800 dark:text-gray-100">
|
||||
Projects
|
||||
</h1>
|
||||
<div className="w-full h-0.5 bg-violet-200 dark:bg-white/20 my-4 rounded-full" />
|
||||
<div className="grid grid-cols-1 gap-4">
|
||||
{posts.map((post, index) => (
|
||||
<ProjectCard
|
||||
key={index}
|
||||
project={post.frontMatter as BasicArticleProps}
|
||||
slug={post.slug}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
</MainLayout>
|
||||
);
|
||||
};
|
||||
return (
|
||||
<MainLayout>
|
||||
<h1 className="text-3xl font-bold text-gray-800 dark:text-gray-100">Projects</h1>
|
||||
<div className="w-full h-0.5 bg-violet-200 dark:bg-white/20 my-4 rounded-full" />
|
||||
<div className="grid grid-cols-1 gap-4">
|
||||
{posts.map((post, index) => (
|
||||
<ProjectCard key={index} project={post.frontMatter as BasicArticleProps} slug={post.slug} />
|
||||
))}
|
||||
</div>
|
||||
</MainLayout>
|
||||
)
|
||||
}
|
||||
|
||||
export const getServerSideProps: GetServerSideProps = async () => {
|
||||
const posts = getAllProjectsFrontMatter();
|
||||
return {
|
||||
props: {
|
||||
posts,
|
||||
},
|
||||
};
|
||||
};
|
||||
const posts = getAllProjectsFrontMatter()
|
||||
return {
|
||||
props: {
|
||||
posts,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
export default Projects;
|
||||
export default Projects
|
||||
|
||||
@@ -27,14 +27,17 @@ pre > code {
|
||||
}
|
||||
|
||||
.codeStyle {
|
||||
@apply bg-transparent !important
|
||||
@apply bg-transparent !important;
|
||||
}
|
||||
|
||||
pre > div > div > button > svg:hover {
|
||||
@apply hover:text-action transition-all ease-in-out duration-100 !important;
|
||||
}
|
||||
|
||||
h1 > a, h2 > a, h3 > a, h4 > a {
|
||||
h1 > a,
|
||||
h2 > a,
|
||||
h3 > a,
|
||||
h4 > a {
|
||||
@apply cursor-pointer relative text-gray-800 dark:text-gray-100 decoration-transparent font-bold !important;
|
||||
}
|
||||
|
||||
@@ -57,9 +60,9 @@ h4 > a:hover::before {
|
||||
@apply -left-4;
|
||||
}
|
||||
|
||||
|
||||
div > code, pre > code {
|
||||
@apply p-0 m-0 !important
|
||||
div > code,
|
||||
pre > code {
|
||||
@apply p-0 m-0 !important;
|
||||
}
|
||||
|
||||
.slider {
|
||||
@@ -107,4 +110,4 @@ div > code, pre > code {
|
||||
opacity: 1;
|
||||
transition-duration: 0.5s;
|
||||
transform: scale(0.8);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,6 +74,24 @@ export const getAllProjectsFrontMatter = (): Post[] => {
|
||||
);
|
||||
};
|
||||
|
||||
export const getHeadings = (markdown: string): any => {
|
||||
const headingOne = markdown.match(/^(#{1})\s(.*)/gm);
|
||||
const headingTwo = markdown.match(/^(#{2})\s(.*)/gm);
|
||||
const headingThree = markdown.match(/^(#{3})\s(.*)/gm);
|
||||
const headingFour = markdown.match(/^(#{4})\s(.*)/gm);
|
||||
|
||||
const headings = markdown.match(/^(#{1,4})\s(.*)/gm);
|
||||
var tree: any[] = [];
|
||||
var prev = "";
|
||||
headings?.forEach((heading) => {
|
||||
if (headingOne?.includes(heading)) {
|
||||
tree.push(heading);
|
||||
}
|
||||
});
|
||||
|
||||
return tree;
|
||||
};
|
||||
|
||||
export async function markdownToHtml(markdown: any) {
|
||||
const result = await remark().use(html).process(markdown);
|
||||
return result.toString();
|
||||
|
||||
173
yarn.lock
173
yarn.lock
@@ -118,75 +118,55 @@
|
||||
hey-listen "^1.0.8"
|
||||
tslib "^2.3.1"
|
||||
|
||||
"@next/env@13.0.6":
|
||||
version "13.0.6"
|
||||
resolved "https://registry.npmjs.org/@next/env/-/env-13.0.6.tgz"
|
||||
integrity sha512-yceT6DCHKqPRS1cAm8DHvDvK74DLIkDQdm5iV+GnIts8h0QbdHvkUIkdOvQoOODgpr6018skbmSQp12z5OWIQQ==
|
||||
"@next/env@13.3.1":
|
||||
version "13.3.1"
|
||||
resolved "https://registry.yarnpkg.com/@next/env/-/env-13.3.1.tgz#589707043065f6b71d411ed9b8f1ffd057c0fd4a"
|
||||
integrity sha512-EDtCoedIZC7JlUQ3uaQpSc4aVmyhbLHmQVALg7pFfQgOTjgSnn7mKtA0DiCMkYvvsx6aFb5octGMtWrOtGXW9A==
|
||||
|
||||
"@next/swc-android-arm-eabi@13.0.6":
|
||||
version "13.0.6"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.0.6.tgz#c971e5a3f8aae875ac1d9fdb159b7e126d8d98d5"
|
||||
integrity sha512-FGFSj3v2Bluw8fD/X+1eXIEB0PhoJE0zfutsAauRhmNpjjZshLDgoXMWm1jTRL/04K/o9gwwO2+A8+sPVCH1uw==
|
||||
"@next/swc-darwin-arm64@13.3.1":
|
||||
version "13.3.1"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.3.1.tgz#2c9719dd10a9cdf63bf50a7576b05dcf78999fe8"
|
||||
integrity sha512-UXPtriEc/pBP8luSLSCZBcbzPeVv+SSjs9cH/KygTbhmACye8/OOXRZO13Z2Wq1G0gLmEAIHQAOuF+vafPd2lw==
|
||||
|
||||
"@next/swc-android-arm64@13.0.6":
|
||||
version "13.0.6"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-13.0.6.tgz#ecacae60f1410136cc31f9e1e09e78e624ca2d68"
|
||||
integrity sha512-7MgbtU7kimxuovVsd7jSJWMkIHBDBUsNLmmlkrBRHTvgzx5nDBXogP0hzZm7EImdOPwVMPpUHRQMBP9mbsiJYQ==
|
||||
"@next/swc-darwin-x64@13.3.1":
|
||||
version "13.3.1"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.3.1.tgz#0be90342c89e53a390ccd9bece15f7f5cd480049"
|
||||
integrity sha512-lT36yYxosCfLtplFzJWgo0hrPu6/do8+msgM7oQkPeohDNdhjtjFUgOOwdSnPublLR6Mo2Ym4P/wl5OANuD2bw==
|
||||
|
||||
"@next/swc-darwin-arm64@13.0.6":
|
||||
version "13.0.6"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.0.6.tgz#266e9e0908024760eba0dfce17edc90ffcba5fdc"
|
||||
integrity sha512-AUVEpVTxbP/fxdFsjVI9d5a0CFn6NVV7A/RXOb0Y+pXKIIZ1V5rFjPwpYfIfyOo2lrqgehMNQcyMRoTrhq04xg==
|
||||
"@next/swc-linux-arm64-gnu@13.3.1":
|
||||
version "13.3.1"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.3.1.tgz#a7353265839f8b8569a346a444dc3ab3770d297e"
|
||||
integrity sha512-wRb76nLWJhonH8s3kxC/1tFguEkeOPayIwe9mkaz1G/yeS3OrjeyKMJsb4+Kdg0zbTo53bNCOl59NNtDM7yyyw==
|
||||
|
||||
"@next/swc-darwin-x64@13.0.6":
|
||||
version "13.0.6"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.0.6.tgz#4be4ca7bc37f9c93d2e38be5ff313873ad758c09"
|
||||
integrity sha512-SasCDJlshglsPnbzhWaIF6VEGkQy2NECcAOxPwaPr0cwbbt4aUlZ7QmskNzgolr5eAjFS/xTr7CEeKJtZpAAtQ==
|
||||
"@next/swc-linux-arm64-musl@13.3.1":
|
||||
version "13.3.1"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.3.1.tgz#24552e6102c350e372f83f505a1d93c880551a50"
|
||||
integrity sha512-qz3BzjJRZ16Iq/jrp+pjiYOc0jTjHlfmxQmZk9x/+5uhRP6/eWQSTAPVJ33BMo6oK5O5N4644OgTAbzXzorecg==
|
||||
|
||||
"@next/swc-freebsd-x64@13.0.6":
|
||||
version "13.0.6"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.0.6.tgz#42eb9043ee65ea5927ba550f4b59827d7064c47b"
|
||||
integrity sha512-6Lbxd9gAdXneTkwHyYW/qtX1Tdw7ND9UbiGsGz/SP43ZInNWnW6q0au4hEVPZ9bOWWRKzcVoeTBdoMpQk9Hx9w==
|
||||
"@next/swc-linux-x64-gnu@13.3.1":
|
||||
version "13.3.1"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.3.1.tgz#5f335a683b6eafa52307b12af97782993b6c45ff"
|
||||
integrity sha512-6mgkLmwlyWlomQmpl21I3hxgqE5INoW4owTlcLpNsd1V4wP+J46BlI/5zV5KWWbzjfncIqzXoeGs5Eg+1GHODA==
|
||||
|
||||
"@next/swc-linux-arm-gnueabihf@13.0.6":
|
||||
version "13.0.6"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.0.6.tgz#aab663282b5f15d12bf9de1120175f438a44c924"
|
||||
integrity sha512-wNdi5A519e1P+ozEuYOhWPzzE6m1y7mkO6NFwn6watUwO0X9nZs7fT9THmnekvmFQpaZ6U+xf2MQ9poQoCh6jQ==
|
||||
"@next/swc-linux-x64-musl@13.3.1":
|
||||
version "13.3.1"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.3.1.tgz#58e5aad6f97203a0788783f66324456c8f9cdb50"
|
||||
integrity sha512-uqm5sielhQmKJM+qayIhgZv1KlS5pqTdQ99b+Z7hMWryXS96qE0DftTmMZowBcUL6x7s2vSXyH5wPtO1ON7LBg==
|
||||
|
||||
"@next/swc-linux-arm64-gnu@13.0.6":
|
||||
version "13.0.6"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.0.6.tgz#5e2b6df4636576a00befb7bd414820a12161a9af"
|
||||
integrity sha512-e8KTRnleQY1KLk5PwGV5hrmvKksCc74QRpHl5ffWnEEAtL2FE0ave5aIkXqErsPdXkiKuA/owp3LjQrP+/AH7Q==
|
||||
"@next/swc-win32-arm64-msvc@13.3.1":
|
||||
version "13.3.1"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.3.1.tgz#f8ed1badab57ed4503969758754e6fb0cf326753"
|
||||
integrity sha512-WomIiTj/v3LevltlibNQKmvrOymNRYL+a0dp5R73IwPWN5FvXWwSELN/kiNALig/+T3luc4qHNTyvMCp9L6U5Q==
|
||||
|
||||
"@next/swc-linux-arm64-musl@13.0.6":
|
||||
version "13.0.6"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.0.6.tgz#4a5e91a36cf140cad974df602d647e64b1b9473f"
|
||||
integrity sha512-/7RF03C3mhjYpHN+pqOolgME3guiHU5T3TsejuyteqyEyzdEyLHod+jcYH6ft7UZ71a6TdOewvmbLOtzHW2O8A==
|
||||
"@next/swc-win32-ia32-msvc@13.3.1":
|
||||
version "13.3.1"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.3.1.tgz#7f599c8975b09ee5527cc49b9e5a4d13be50635a"
|
||||
integrity sha512-M+PoH+0+q658wRUbs285RIaSTYnGBSTdweH/0CdzDgA6Q4rBM0sQs4DHmO3BPP0ltCO/vViIoyG7ks66XmCA5g==
|
||||
|
||||
"@next/swc-linux-x64-gnu@13.0.6":
|
||||
version "13.0.6"
|
||||
resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.0.6.tgz"
|
||||
integrity sha512-kxyEXnYHpOEkFnmrlwB1QlzJtjC6sAJytKcceIyFUHbCaD3W/Qb5tnclcnHKTaFccizZRePXvV25Ok/eUSpKTw==
|
||||
|
||||
"@next/swc-linux-x64-musl@13.0.6":
|
||||
version "13.0.6"
|
||||
resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.0.6.tgz"
|
||||
integrity sha512-N0c6gubS3WW1oYYgo02xzZnNatfVQP/CiJq2ax+DJ55ePV62IACbRCU99TZNXXg+Kos6vNW4k+/qgvkvpGDeyA==
|
||||
|
||||
"@next/swc-win32-arm64-msvc@13.0.6":
|
||||
version "13.0.6"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.0.6.tgz#28e5c042772865efd05197a8d1db5920156997fc"
|
||||
integrity sha512-QjeMB2EBqBFPb/ac0CYr7GytbhUkrG4EwFWbcE0vsRp4H8grt25kYpFQckL4Jak3SUrp7vKfDwZ/SwO7QdO8vw==
|
||||
|
||||
"@next/swc-win32-ia32-msvc@13.0.6":
|
||||
version "13.0.6"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.0.6.tgz#30d91a6d847fa8bce9f8a0f9d2b469d574270be5"
|
||||
integrity sha512-EQzXtdqRTcmhT/tCq81rIwE36Y3fNHPInaCuJzM/kftdXfa0F+64y7FAoMO13npX8EG1+SamXgp/emSusKrCXg==
|
||||
|
||||
"@next/swc-win32-x64-msvc@13.0.6":
|
||||
version "13.0.6"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.0.6.tgz#dfa28ddb335c16233d22cf39ec8cdf723e6587a1"
|
||||
integrity sha512-pSkqZ//UP/f2sS9T7IvHLfEWDPTX0vRyXJnAUNisKvO3eF3e1xdhDX7dix/X3Z3lnN4UjSwOzclAI87JFbOwmQ==
|
||||
"@next/swc-win32-x64-msvc@13.3.1":
|
||||
version "13.3.1"
|
||||
resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.3.1.tgz#192d43ab44ebb98bd4f5865d0e1d7ce62703182f"
|
||||
integrity sha512-Sl1F4Vp5Z1rNXWZYqJwMuWRRol4bqOB6+/d7KqkgQ4AcafKPN1PZmpkCoxv4UFHtFNIB7EotnuIhtXu3zScicQ==
|
||||
|
||||
"@nodelib/fs.scandir@2.1.5":
|
||||
version "2.1.5"
|
||||
@@ -295,10 +275,10 @@
|
||||
suspend-react "^0.0.8"
|
||||
zustand "^3.7.1"
|
||||
|
||||
"@swc/helpers@0.4.14":
|
||||
version "0.4.14"
|
||||
resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.14.tgz"
|
||||
integrity sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==
|
||||
"@swc/helpers@0.5.0":
|
||||
version "0.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.5.0.tgz#bf1d807b60f7290d0ec763feea7ccdeda06e85f1"
|
||||
integrity sha512-SjY/p4MmECVVEWspzSRpQEM3sjR17sP8PbGxELWrT+YZMBfiUyt1MRUNjMV23zohwlG2HYtCQOsCwsTHguXkyg==
|
||||
dependencies:
|
||||
tslib "^2.4.0"
|
||||
|
||||
@@ -543,6 +523,13 @@ browserslist@^4.21.4:
|
||||
node-releases "^2.0.6"
|
||||
update-browserslist-db "^1.0.9"
|
||||
|
||||
busboy@1.6.0:
|
||||
version "1.6.0"
|
||||
resolved "https://registry.yarnpkg.com/busboy/-/busboy-1.6.0.tgz#966ea36a9502e43cdb9146962523b92f531f6893"
|
||||
integrity sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==
|
||||
dependencies:
|
||||
streamsearch "^1.1.0"
|
||||
|
||||
camelcase-css@^2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz"
|
||||
@@ -1717,30 +1704,27 @@ nanoid@^3.3.4:
|
||||
resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz"
|
||||
integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==
|
||||
|
||||
next@13.0.6:
|
||||
version "13.0.6"
|
||||
resolved "https://registry.npmjs.org/next/-/next-13.0.6.tgz"
|
||||
integrity sha512-COvigvms2LRt1rrzfBQcMQ2GZd86Mvk1z+LOLY5pniFtL4VrTmhZ9salrbKfSiXbhsD01TrDdD68ec3ABDyscA==
|
||||
next@^13.3.1:
|
||||
version "13.3.1"
|
||||
resolved "https://registry.yarnpkg.com/next/-/next-13.3.1.tgz#17625f7423db2e059d71b41bd9031756cf2b33bc"
|
||||
integrity sha512-eByWRxPzKHs2oQz1yE41LX35umhz86ZSZ+mYyXBqn2IBi2hyUqxBA88avywdr4uyH+hCJczegGsDGWbzQA5Rqw==
|
||||
dependencies:
|
||||
"@next/env" "13.0.6"
|
||||
"@swc/helpers" "0.4.14"
|
||||
"@next/env" "13.3.1"
|
||||
"@swc/helpers" "0.5.0"
|
||||
busboy "1.6.0"
|
||||
caniuse-lite "^1.0.30001406"
|
||||
postcss "8.4.14"
|
||||
styled-jsx "5.1.0"
|
||||
styled-jsx "5.1.1"
|
||||
optionalDependencies:
|
||||
"@next/swc-android-arm-eabi" "13.0.6"
|
||||
"@next/swc-android-arm64" "13.0.6"
|
||||
"@next/swc-darwin-arm64" "13.0.6"
|
||||
"@next/swc-darwin-x64" "13.0.6"
|
||||
"@next/swc-freebsd-x64" "13.0.6"
|
||||
"@next/swc-linux-arm-gnueabihf" "13.0.6"
|
||||
"@next/swc-linux-arm64-gnu" "13.0.6"
|
||||
"@next/swc-linux-arm64-musl" "13.0.6"
|
||||
"@next/swc-linux-x64-gnu" "13.0.6"
|
||||
"@next/swc-linux-x64-musl" "13.0.6"
|
||||
"@next/swc-win32-arm64-msvc" "13.0.6"
|
||||
"@next/swc-win32-ia32-msvc" "13.0.6"
|
||||
"@next/swc-win32-x64-msvc" "13.0.6"
|
||||
"@next/swc-darwin-arm64" "13.3.1"
|
||||
"@next/swc-darwin-x64" "13.3.1"
|
||||
"@next/swc-linux-arm64-gnu" "13.3.1"
|
||||
"@next/swc-linux-arm64-musl" "13.3.1"
|
||||
"@next/swc-linux-x64-gnu" "13.3.1"
|
||||
"@next/swc-linux-x64-musl" "13.3.1"
|
||||
"@next/swc-win32-arm64-msvc" "13.3.1"
|
||||
"@next/swc-win32-ia32-msvc" "13.3.1"
|
||||
"@next/swc-win32-x64-msvc" "13.3.1"
|
||||
|
||||
nlcst-to-string@^3.0.0:
|
||||
version "3.1.1"
|
||||
@@ -1981,9 +1965,9 @@ react-composer@^5.0.3:
|
||||
dependencies:
|
||||
prop-types "^15.6.0"
|
||||
|
||||
react-dom@18.2.0:
|
||||
react-dom@^18.2.0:
|
||||
version "18.2.0"
|
||||
resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz"
|
||||
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d"
|
||||
integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==
|
||||
dependencies:
|
||||
loose-envify "^1.1.0"
|
||||
@@ -2065,9 +2049,9 @@ react-youtube@^10.1.0:
|
||||
prop-types "15.8.1"
|
||||
youtube-player "5.5.2"
|
||||
|
||||
react@18.2.0:
|
||||
react@^18.2.0:
|
||||
version "18.2.0"
|
||||
resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz"
|
||||
resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5"
|
||||
integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==
|
||||
dependencies:
|
||||
loose-envify "^1.1.0"
|
||||
@@ -2342,6 +2326,11 @@ stats.js@^0.17.0:
|
||||
resolved "https://registry.npmjs.org/stats.js/-/stats.js-0.17.0.tgz"
|
||||
integrity sha512-hNKz8phvYLPEcRkeG1rsGmV5ChMjKDAWU7/OJJdDErPBNChQXxCo3WZurGpnWc6gZhAzEPFad1aVgyOANH1sMw==
|
||||
|
||||
streamsearch@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-1.1.0.tgz#404dd1e2247ca94af554e841a8ef0eaa238da764"
|
||||
integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==
|
||||
|
||||
string.prototype.codepointat@^0.2.1:
|
||||
version "0.2.1"
|
||||
resolved "https://registry.npmjs.org/string.prototype.codepointat/-/string.prototype.codepointat-0.2.1.tgz"
|
||||
@@ -2367,10 +2356,10 @@ style-to-object@^0.4.0:
|
||||
dependencies:
|
||||
inline-style-parser "0.1.1"
|
||||
|
||||
styled-jsx@5.1.0:
|
||||
version "5.1.0"
|
||||
resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.0.tgz"
|
||||
integrity sha512-/iHaRJt9U7T+5tp6TRelLnqBqiaIT0HsO0+vgyj8hK2KUk7aejFqRrumqPUlAqDwAj8IbS/1hk3IhBAAK/FCUQ==
|
||||
styled-jsx@5.1.1:
|
||||
version "5.1.1"
|
||||
resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-5.1.1.tgz#839a1c3aaacc4e735fed0781b8619ea5d0009d1f"
|
||||
integrity sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==
|
||||
dependencies:
|
||||
client-only "0.0.1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user