Skip to content

Commit

Permalink
Merge pull request #1127 from samchon/feat/use
Browse files Browse the repository at this point in the history
Close samchon/typia#1366: discord server
  • Loading branch information
samchon authored Dec 3, 2024
2 parents ca38ade + ac1ad3e commit 89da54e
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 44 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
4 changes: 2 additions & 2 deletions website/pages/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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]) => (
<a href={url} style={{ marginTop: "30px", marginRight: "6px" }}>
Expand Down
90 changes: 49 additions & 41 deletions website/theme.config.tsx
Original file line number Diff line number Diff line change
@@ -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: () => (
<>
<img src="/favicon/android-chrome-192x192.png"
width={32}
height={32} />
<span style={{
fontWeight: "bold",
fontSize: "1.2rem",
paddingLeft: 10,
paddingRight: 10, }}>
<img src="/favicon/android-chrome-192x192.png" width={32} height={32} />
<span
style={{
fontWeight: "bold",
fontSize: "1.2rem",
paddingLeft: 10,
paddingRight: 10,
}}
>
Nestia
</span>
<span>NestJS Helper Libraries</span>
</>
),
project: {
link: 'https://github.com/samchon/nestia',
link: "https://github.com/samchon/nestia",
// icon: <img
// alt="Nestia Github repo stars"
// src="https://img.shields.io/github/stars/samchon/nestia?style=social"
// alt="Nestia Github repo stars"
// src="https://img.shields.io/github/stars/samchon/nestia?style=social"
// />
},
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: () => <span>
Made by{" "}
<a href="https://github.com/samchon"
target="_blank"
style={{ color: "blue" }}>
<u> Samchon </u>
</a>
</span>
text: () => (
<span>
Made by{" "}
<a
href="https://github.com/samchon"
target="_blank"
style={{ color: "blue" }}
>
<u> Samchon </u>
</a>
</span>
),
},
useNextSeoProps() {
return {
Expand All @@ -43,67 +51,67 @@ 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",
content: "Nestia Guide Documents",
},
{
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;

0 comments on commit 89da54e

Please sign in to comment.