Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrickill committed Nov 13, 2024
1 parent a98f50e commit f3ce012
Show file tree
Hide file tree
Showing 2 changed files with 113 additions and 113 deletions.
208 changes: 104 additions & 104 deletions src/consts.ts
Original file line number Diff line number Diff line change
@@ -1,104 +1,104 @@
/**
* Site metadata that is used across the site.
*
* A few of these are not used yet, and are subject to change, example of this is Author.
*/
export const SITE_METADATA = {
title: 'papapatrick的妙妙屋',
headerTitle: 'papapatrcik’s Blog',
description: '一名在校大二软工学生的奇思妙想',
language: 'zh-CN',
theme: 'system', // Options: system, light, dark, Does not work yet
siteUrl: 'https://www.papapatrick.tech/',
siteRepo: 'https://github.com/Patrickill/my-blog',
siteLogo: '/static/images/logo.png',
locale: 'zh-CN',

// The following are subject to change. They are placeholders for now.
// This project provide a default author content see src/content/authors/default.mdx, so these details are better to be inserted there.
author: 'papapatrick',
github: 'https://github.com/Patrickill',

// These are not supported yet
// analytics: {
// // If you want to use an analytics provider you have to add it to the
// // content security policy in the `next.config.js` file.
// // supports Plausible, Simple Analytics, Umami, Posthog or Google Analytics.
// umamiAnalytics: {
// // We use an env variable for this site to avoid other users cloning our analytics ID
// umamiWebsiteId: process.env.NEXT_UMAMI_ID, // e.g. 123e4567-e89b-12d3-a456-426614174000
// },
// // plausibleAnalytics: {
// // plausibleDataDomain: '', // e.g. tailwind-nextjs-starter-blog.vercel.app
// // },
// // simpleAnalytics: {},
// // posthogAnalytics: {
// // posthogProjectApiKey: '', // e.g. 123e4567-e89b-12d3-a456-426614174000
// // },
// // googleAnalytics: {
// // googleAnalyticsId: '', // e.g. G-XXXXXXX
// // },
// },
// newsletter: {
// // supports mailchimp, buttondown, convertkit, klaviyo, revue, emailoctopus
// // Please add your .env file and modify it according to your selection
// provider: 'buttondown',
// },
// comments: {
// // If you want to use an analytics provider you have to add it to the
// // content security policy in the `next.config.js` file.
// // Select a provider and use the environment variables associated to it
// // https://vercel.com/docs/environment-variables
// provider: 'giscus', // supported providers: giscus, utterances, disqus
// giscusConfig: {
// // Visit the link below, and follow the steps in the 'configuration' section
// // https://giscus.app/
// repo: process.env.NEXT_PUBLIC_GISCUS_REPO,
// repositoryId: process.env.NEXT_PUBLIC_GISCUS_REPOSITORY_ID,
// category: process.env.NEXT_PUBLIC_GISCUS_CATEGORY,
// categoryId: process.env.NEXT_PUBLIC_GISCUS_CATEGORY_ID,
// mapping: 'pathname', // supported options: pathname, url, title
// reactions: '1', // Emoji reactions: 1 = enable / 0 = disable
// // Send discussion metadata periodically to the parent window: 1 = enable / 0 = disable
// metadata: '0',
// // theme example: light, dark, dark_dimmed, dark_high_contrast
// // transparent_dark, preferred_color_scheme, custom
// theme: 'light',
// // theme when dark mode
// darkTheme: 'transparent_dark',
// // If the theme option above is set to 'custom`
// // please provide a link below to your custom theme css file.
// // example: https://giscus.app/themes/custom_example.css
// themeURL: '',
// // This corresponds to the `data-lang="en"` in giscus's configurations
// lang: 'en',
// },
// },
// search: {
// provider: 'kbar', // kbar or algolia
// kbarConfig: {
// searchDocumentsPath: 'search.json', // path to load documents to search
// },
// // provider: 'algolia',
// // algoliaConfig: {
// // // The application ID provided by Algolia
// // appId: 'R2IYF7ETH7',
// // // Public API key: it is safe to commit it
// // apiKey: '599cec31baffa4868cae4e79f180729b',
// // indexName: 'docsearch',
// // },
// },
};

/**
* Default posts per page for pagination.
*/
export const ITEMS_PER_PAGE = 5;

export const NAVIGATION = [
{href: '/', title: 'Home'},
{href: '/blog', title: 'Blog'},
{href: '/tags', title: 'Tags'},
// {href: '/projects', title: 'Projects'},
{href: '/about', title: 'About'},
]
/**
* Site metadata that is used across the site.
*
* A few of these are not used yet, and are subject to change, example of this is Author.
*/
export const SITE_METADATA = {
title: "papapatrick的妙妙屋",
headerTitle: "papapatrcik’s Blog",
description: "奇思妙想",
language: "zh-CN",
theme: "system", // Options: system, light, dark, Does not work yet
siteUrl: "https://www.papapatrick.tech/",
siteRepo: "https://github.com/Patrickill/my-blog",
siteLogo: "/static/images/logo.png",
locale: "zh-CN",

// The following are subject to change. They are placeholders for now.
// This project provide a default author content see src/content/authors/default.mdx, so these details are better to be inserted there.
author: "papapatrick",
github: "https://github.com/Patrickill",

// These are not supported yet
// analytics: {
// // If you want to use an analytics provider you have to add it to the
// // content security policy in the `next.config.js` file.
// // supports Plausible, Simple Analytics, Umami, Posthog or Google Analytics.
// umamiAnalytics: {
// // We use an env variable for this site to avoid other users cloning our analytics ID
// umamiWebsiteId: process.env.NEXT_UMAMI_ID, // e.g. 123e4567-e89b-12d3-a456-426614174000
// },
// // plausibleAnalytics: {
// // plausibleDataDomain: '', // e.g. tailwind-nextjs-starter-blog.vercel.app
// // },
// // simpleAnalytics: {},
// // posthogAnalytics: {
// // posthogProjectApiKey: '', // e.g. 123e4567-e89b-12d3-a456-426614174000
// // },
// // googleAnalytics: {
// // googleAnalyticsId: '', // e.g. G-XXXXXXX
// // },
// },
// newsletter: {
// // supports mailchimp, buttondown, convertkit, klaviyo, revue, emailoctopus
// // Please add your .env file and modify it according to your selection
// provider: 'buttondown',
// },
// comments: {
// // If you want to use an analytics provider you have to add it to the
// // content security policy in the `next.config.js` file.
// // Select a provider and use the environment variables associated to it
// // https://vercel.com/docs/environment-variables
// provider: 'giscus', // supported providers: giscus, utterances, disqus
// giscusConfig: {
// // Visit the link below, and follow the steps in the 'configuration' section
// // https://giscus.app/
// repo: process.env.NEXT_PUBLIC_GISCUS_REPO,
// repositoryId: process.env.NEXT_PUBLIC_GISCUS_REPOSITORY_ID,
// category: process.env.NEXT_PUBLIC_GISCUS_CATEGORY,
// categoryId: process.env.NEXT_PUBLIC_GISCUS_CATEGORY_ID,
// mapping: 'pathname', // supported options: pathname, url, title
// reactions: '1', // Emoji reactions: 1 = enable / 0 = disable
// // Send discussion metadata periodically to the parent window: 1 = enable / 0 = disable
// metadata: '0',
// // theme example: light, dark, dark_dimmed, dark_high_contrast
// // transparent_dark, preferred_color_scheme, custom
// theme: 'light',
// // theme when dark mode
// darkTheme: 'transparent_dark',
// // If the theme option above is set to 'custom`
// // please provide a link below to your custom theme css file.
// // example: https://giscus.app/themes/custom_example.css
// themeURL: '',
// // This corresponds to the `data-lang="en"` in giscus's configurations
// lang: 'en',
// },
// },
// search: {
// provider: 'kbar', // kbar or algolia
// kbarConfig: {
// searchDocumentsPath: 'search.json', // path to load documents to search
// },
// // provider: 'algolia',
// // algoliaConfig: {
// // // The application ID provided by Algolia
// // appId: 'R2IYF7ETH7',
// // // Public API key: it is safe to commit it
// // apiKey: '599cec31baffa4868cae4e79f180729b',
// // indexName: 'docsearch',
// // },
// },
};

/**
* Default posts per page for pagination.
*/
export const ITEMS_PER_PAGE = 5;

export const NAVIGATION = [
{ href: "/", title: "Home" },
{ href: "/blog", title: "Blog" },
{ href: "/tags", title: "Tags" },
// {href: '/projects', title: 'Projects'},
{ href: "/about", title: "About" },
];
18 changes: 9 additions & 9 deletions src/content/authors/default.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
name: papapatrick
avatar: "/static/images/avatar.png"
occupation: 一名普普通通的软件工程大二学生
company: 浙江工业大学
email: [email protected]
linkedin: https://www.linkedin.com
github: https://github.com/Patrickill
---
---
name: papapatrick
avatar: "/static/images/avatar.png"
occupation: 一名普普通通的软件工程大学生
company: 浙江工业大学
email: [email protected]
linkedin: https://www.linkedin.com
github: https://github.com/Patrickill
---
你好,你能看到我!我现在的技术栈主要是前端希望以后能称为一名全栈攻城狮,并做出一些有意思的东西,虽然说接触开发时间不短了但还是很菜希望能和你一起进步,我平时喜欢骑车和发呆,在这里记录自己平时遇到的问题,以及一些奇思妙想,如果你能在我的博客中看到一些能引发你思考的东西,那么不胜荣幸,祝你今天愉快:)

0 comments on commit f3ce012

Please sign in to comment.