-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
b7edb12
commit 3df1c0c
Showing
54 changed files
with
2,210 additions
and
0 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,12 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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,147 @@ | ||
# Created by https://www.toptal.com/developers/gitignore/api/node | ||
# Edit at https://www.toptal.com/developers/gitignore?templates=node | ||
|
||
### Node ### | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
.pnpm-debug.log* | ||
|
||
# Diagnostic reports (https://nodejs.org/api/report.html) | ||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
*.lcov | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Snowpack dependency directory (https://snowpack.dev/) | ||
web_modules/ | ||
|
||
# TypeScript cache | ||
*.tsbuildinfo | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional stylelint cache | ||
.stylelintcache | ||
|
||
# Microbundle cache | ||
.rpt2_cache/ | ||
.rts2_cache_cjs/ | ||
.rts2_cache_es/ | ||
.rts2_cache_umd/ | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variable files | ||
.env | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
.env.local | ||
|
||
# parcel-bundler cache (https://parceljs.org/) | ||
.cache | ||
.parcel-cache | ||
|
||
# Next.js build output | ||
.next | ||
out | ||
|
||
# Nuxt.js build / generate output | ||
.nuxt | ||
dist | ||
|
||
# Gatsby files | ||
.cache/ | ||
# Comment in the public line in if your project uses Gatsby and not Next.js | ||
# https://nextjs.org/blog/next-9-1#public-directory-support | ||
# public | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
|
||
# vuepress v2.x temp and cache directory | ||
.temp | ||
|
||
# Docusaurus cache and generated files | ||
.docusaurus | ||
|
||
# Serverless directories | ||
.serverless/ | ||
|
||
# FuseBox cache | ||
.fusebox/ | ||
|
||
# DynamoDB Local files | ||
.dynamodb/ | ||
|
||
# TernJS port file | ||
.tern-port | ||
|
||
# Stores VSCode versions used for testing VSCode extensions | ||
.vscode-test | ||
|
||
# yarn v2 | ||
.yarn/cache | ||
.yarn/unplugged | ||
.yarn/build-state.yml | ||
.yarn/install-state.gz | ||
.pnp.* | ||
|
||
### Node Patch ### | ||
# Serverless Webpack directories | ||
.webpack/ | ||
|
||
# Optional stylelint cache | ||
|
||
# SvelteKit build / generate output | ||
.svelte-kit | ||
|
||
# End of https://www.toptal.com/developers/gitignore/api/node | ||
|
||
# Vitepress | ||
.vitepress/cache |
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,35 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/prettierrc", | ||
"semi": false, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"trailingComma": "none", | ||
"plugins": [ | ||
"@trivago/prettier-plugin-sort-imports", | ||
"prettier-plugin-tailwindcss" | ||
], | ||
"importOrderParserPlugins": [ | ||
"typescript", | ||
"jsx", | ||
"classProperties", | ||
"decorators-legacy" | ||
], | ||
"importOrder": [ | ||
"^@nestjs(.*)$", | ||
"^@generated$", | ||
"<THIRD_PARTY_MODULES>", | ||
"^@libs/(.*)$", | ||
"^@admin/(.*)$", | ||
"^@client/(.*)$", | ||
"^[./]" | ||
], | ||
"overrides": [ | ||
{ | ||
"files": "*.hbs", | ||
"options": { | ||
"parser": "html", | ||
"printWidth": 120 | ||
} | ||
} | ||
] | ||
} |
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,127 @@ | ||
import { defineConfig } from "vitepress"; | ||
|
||
export default defineConfig({ | ||
title: "Codedang 코드당", | ||
description: "Codedang Document for Developers", | ||
titleTemplate: false, | ||
lastUpdated: true, | ||
|
||
head: [ | ||
["link", { rel: "icon", href: "/logo.png" }], | ||
["link", { rel: "preconnect", href: "https://fonts.googleapis.com" }], | ||
[ | ||
"link", | ||
{ | ||
rel: "preconnect",href: "https://fonts.gstatic.com", | ||
crossorigin: "", | ||
}, | ||
], | ||
[ | ||
"link", | ||
{ | ||
rel: "stylesheet", | ||
href: "https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&display=swap", | ||
}, | ||
], | ||
], | ||
|
||
themeConfig: { | ||
logo: "/logo.png", | ||
nav: [ | ||
{ | ||
text: "📌 Guide", | ||
link: "/intro/", | ||
}, | ||
{ | ||
text: "💡 Demo", | ||
link: "https://codedang.com", | ||
}, | ||
], | ||
socialLinks: [{ icon: "github", link: "https://github.com/skkuding/next" }], | ||
sidebar: [ | ||
{ | ||
text: "Introduction", | ||
items: [ | ||
{ | ||
text: "What is Coding Platform?", | ||
link: "/intro/", | ||
}, | ||
{ | ||
text: "Getting Started", | ||
link: "/intro/getting-started", | ||
}, | ||
{ | ||
text: "Contributing Guide", | ||
link: "https://github.com/skkuding/next/blob/main/CONTRIBUTING.md", | ||
}, | ||
{ | ||
text: "API Documentation", | ||
link: "/intro/bruno", | ||
}, | ||
], | ||
}, | ||
{ | ||
text: "Project", | ||
items: [ | ||
{ | ||
text: "Tech Stack", | ||
link: "/project/tech-stack", | ||
}, | ||
{ | ||
text: "Hierarchy", | ||
link: "/project/hierarchy", | ||
}, | ||
{ | ||
text: "How Deployments Work", | ||
link: "/project/deploy", | ||
}, | ||
{ | ||
text: "Stage Server", | ||
link: "/project/stage-server", | ||
}, | ||
{ | ||
text: "Project Roadmap", | ||
link: "/project/roadmap", | ||
}, | ||
], | ||
}, | ||
{ | ||
text: "학생 매뉴얼", | ||
items: [ | ||
{ | ||
text: "Main", | ||
link: "/user/main", | ||
}, | ||
{ | ||
text: "Notice", | ||
link: "/user/notice", | ||
}, | ||
{ text: "Contest", link: "/user/contest" }, | ||
{ text: "Group", link: "/user/group" }, | ||
], | ||
}, | ||
{ | ||
text: "관리자 매뉴얼", | ||
items: [ | ||
{ | ||
text: "가입 및 로그인", | ||
link: "/group-admin/login", | ||
}, | ||
{ text: "그룹 및 멤버 관리", link: "/group-admin/group" }, | ||
{ text: "문제 생성 및 관리", link: "/group-admin/problem" }, | ||
{ | ||
text: "Notice", | ||
link: "/group-admin/notice", | ||
}, | ||
{ text: "Contest", link: "/group-admin/contest" }, | ||
{ text: "Workbook", link: "/group-admin/workbook" }, | ||
], | ||
}, | ||
], | ||
}, | ||
vite: { | ||
server: { | ||
host: true, | ||
}, | ||
}, | ||
}); |
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,13 @@ | ||
import DefaultTheme from 'vitepress/theme' | ||
import './vars.css' | ||
|
||
export default { | ||
// root component to wrap each page | ||
...DefaultTheme, | ||
|
||
enhanceApp({ app, router, siteData }) { | ||
// app is the Vue 3 app instance from `createApp()`. | ||
// router is VitePress' custom router. `siteData` is | ||
// a `ref` of current site-level metadata. | ||
} | ||
} |
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,25 @@ | ||
:root { | ||
--c-blue: #3581fa; | ||
--c-blue-dark: #2e6de9; | ||
--c-blue-light: #4d9dfc; | ||
|
||
--vp-font-family-base: 'Inter var experimental', 'Inter var', 'Noto Sans KR', | ||
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, | ||
Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; | ||
|
||
--vp-home-hero-name-color: transparent; | ||
--vp-home-hero-name-background: var(--c-blue); | ||
--vp-c-brand: var(--c-blue); | ||
--vp-c-brand-text: #fff; | ||
|
||
/* Button */ | ||
--vp-button-brand-border: var(--c-blue-dark); | ||
--vp-button-brand-text: var(--vp-c-brand-text); | ||
--vp-button-brand-bg: var(--c-blue); | ||
--vp-button-brand-hover-border: var(--c-blue-light); | ||
--vp-button-brand-hover-text: var(--vp-c-brand-text); | ||
--vp-button-brand-hover-bg: var(--c-blue-light); | ||
--vp-button-brand-active-border: var(--c-blue-dark); | ||
--vp-button-brand-active-text: var(--vp-c-brand-text); | ||
--vp-button-brand-active-bg: var(--vp-button-brand-bg); | ||
} |
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,5 @@ | ||
# Group Admin - Contest | ||
|
||
::: warning Work in Progress 🚧 | ||
아직 작성 중인 페이지입니다. 조금만 기다려주세요! 🙏 | ||
::: |
Oops, something went wrong.