From ac1ad3e701e1c16db5d96b5be00a7b1d48f1b5ba Mon Sep 17 00:00:00 2001 From: Jeongho Nam Date: Tue, 3 Dec 2024 23:57:12 +0900 Subject: [PATCH] Close samchon/typia#1366: discord server --- README.md | 2 +- website/pages/docs/index.mdx | 4 +- website/theme.config.tsx | 90 ++++++++++++++++++++---------------- 3 files changed, 52 insertions(+), 44 deletions(-) diff --git a/README.md b/README.md index 796a338f1..8e40440ee 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![Downloads](https://img.shields.io/npm/dm/@nestia/fetcher.svg)](https://www.npmjs.com/package/@nestia/fetcher) [![Build Status](https://github.com/samchon/nestia/workflows/build/badge.svg)](https://github.com/samchon/nestia/actions?query=workflow%3Abuild) [![Guide Documents](https://img.shields.io/badge/guide-documents-forestgreen)](https://nestia.io/docs/) -[![Discord Badge](https://img.shields.io/badge/discord-NestJS/Nestia-d91965?style=flat&labelColor=5866f2&logo=discord&logoColor=white&link=https://discord.com/channels/520622812742811698/1197293125434093701)](https://discord.com/channels/520622812742811698/1181877086797967420) +[![Discord Badge](https://img.shields.io/badge/discord-samchon-d91965?style=flat&labelColor=5866f2&logo=discord&logoColor=white&link=https://discord.gg/E94XhzrUCZ)](https://discord.gg/E94XhzrUCZ) Nestia is a set of helper libraries for NestJS, supporting below features: diff --git a/website/pages/docs/index.mdx b/website/pages/docs/index.mdx index c44a1fc2c..9ffeeabab 100644 --- a/website/pages/docs/index.mdx +++ b/website/pages/docs/index.mdx @@ -34,8 +34,8 @@ import Stack from '@mui/material/Stack'; ], [ "Discord", - "https://img.shields.io/badge/discord-NestJS/Nestia-d91965?style=flat&labelColor=5866f2&logo=discord&logoColor=white&link=https://discord.com/channels/520622812742811698/1197293125434093701", - "https://discord.com/channels/520622812742811698/1181877086797967420", + "https://img.shields.io/badge/discord-samchon-d91965?style=flat&labelColor=5866f2&logo=discord&logoColor=white&link=https://discord.gg/E94XhzrUCZ", + "https://discord.gg/E94XhzrUCZ", ] ].map(([alt, image, url]) => ( diff --git a/website/theme.config.tsx b/website/theme.config.tsx index e6ced2f43..ad5ff9e77 100644 --- a/website/theme.config.tsx +++ b/website/theme.config.tsx @@ -1,39 +1,47 @@ -import React from 'react' -import { DocsThemeConfig } from 'nextra-theme-docs' +import { DocsThemeConfig } from "nextra-theme-docs"; +import React from "react"; const config: DocsThemeConfig = { logo: () => ( <> - - + + Nestia NestJS Helper Libraries ), project: { - link: 'https://github.com/samchon/nestia', + link: "https://github.com/samchon/nestia", // icon: Nestia Github repo stars }, - docsRepositoryBase: 'https://github.com/samchon/nestia/blob/master/website', + chat: { + link: "https://discord.gg/E94XhzrUCZ", + }, + docsRepositoryBase: "https://github.com/samchon/nestia/blob/master/website", footer: { - text: () => - Made by{" "} - - Samchon - - + text: () => ( + + Made by{" "} + + Samchon + + + ), }, useNextSeoProps() { return { @@ -43,27 +51,27 @@ const config: DocsThemeConfig = { { rel: "apple-touch-icon", sizes: "180x180", - href: "/favicon/apple-touch-icon.png" + href: "/favicon/apple-touch-icon.png", }, { rel: "manifest", - href: "/favicon/site.webmanifest" + href: "/favicon/site.webmanifest", }, - ...[16, 32].map(size => ({ + ...[16, 32].map((size) => ({ rel: "icon", type: "image/png", sizes: `${size}x${size}`, - href: `/favicon/favicon-${size}x${size}.png` + href: `/favicon/favicon-${size}x${size}.png`, })), ], additionalMetaTags: [ { property: "og:image", - content: "/og.jpg" + content: "/og.jpg", }, { property: "og:type", - content: "object" + content: "object", }, { property: "og:title", @@ -71,39 +79,39 @@ const config: DocsThemeConfig = { }, { property: "og:description", - content: "NestJS Helper Libraries" + content: "NestJS Helper Libraries", }, { property: "og:site_name", - content: "Nestia Guide Documents" + content: "Nestia Guide Documents", }, { property: "og:url", - content: "https://nestia.io" + content: "https://nestia.io", }, { name: "twitter:card", - content: "summary" + content: "summary", }, { name: "twitter:image", - content: "https://nestia.io/og.jpg" + content: "https://nestia.io/og.jpg", }, { name: "twitter:title", - content: "Nestia Guide Documents" + content: "Nestia Guide Documents", }, { name: "twitter:description", - content: "NestJS Helper Libraries" + content: "NestJS Helper Libraries", }, { name: "twitter:site", - content: "@SamchonGithub" - } - ] - } + content: "@SamchonGithub", + }, + ], + }; }, -} +}; -export default config +export default config;