-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
106 changed files
with
14,211 additions
and
5,730 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"next/typescript" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,4 +37,6 @@ next-env.d.ts | |
|
||
/test | ||
|
||
.env | ||
.env | ||
__archive__ | ||
test.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,6 @@ | |
}, | ||
"aliases": { | ||
"components": "@/components", | ||
"utils": "@/lib/utils" | ||
"utils": "@/utils/cn" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,45 @@ | ||
import withMdx from '@next/mdx'; | ||
import remarkGfm from 'remark-gfm'; | ||
import withMdx from "@next/mdx"; | ||
import remarkGfm from "remark-gfm"; | ||
import rehypePrettyCode from "rehype-pretty-code"; | ||
|
||
/** @type {import('rehype-pretty-code').Options} */ | ||
const options = { | ||
keepBackground: true, | ||
theme: "one-dark-pro", | ||
defaultLang: "plaintext", | ||
keepBackground: true, | ||
theme: "one-dark-pro", | ||
defaultLang: "plaintext", | ||
}; | ||
|
||
/** @type {import('next').NextConfig} */ | ||
|
||
const nextConfig = { | ||
// env: { | ||
// ADMIN_PASS: process.env.ADMIN_PASS, | ||
// }, | ||
images: { | ||
remotePatterns: [ | ||
{ | ||
protocol: 'https', | ||
hostname: 'i.gyazo.com', | ||
}, | ||
{ | ||
protocol: 'https', | ||
hostname: "github.com" | ||
} | ||
] | ||
}, | ||
pageExtensions: ['ts', 'tsx', 'mdx',], | ||
reactStrictMode: false, | ||
images: { | ||
remotePatterns: [ | ||
{ | ||
protocol: "https", | ||
hostname: "i.gyazo.com", | ||
}, | ||
{ | ||
protocol: "https", | ||
hostname: "github.com", | ||
}, | ||
{ | ||
protocol: "https", | ||
hostname: "cdn.sanity.io", | ||
}, | ||
{ | ||
protocol: "https", | ||
hostname: "media2.dev.to" | ||
} | ||
], | ||
}, | ||
pageExtensions: ["ts", "tsx", "mdx"], | ||
reactStrictMode: false, | ||
}; | ||
|
||
export default withMdx({ | ||
extension: /\.mdx?$/, | ||
options: { | ||
remarkPlugins: [remarkGfm], | ||
rehypePlugins: [[rehypePrettyCode, options]], | ||
} | ||
extension: /\.mdx?$/, | ||
options: { | ||
remarkPlugins: [remarkGfm], | ||
rehypePlugins: [[rehypePrettyCode, options]], | ||
}, | ||
})(nextConfig); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.