From f9fd9d944627ac69d1f0b5f9c5589c351408fcd9 Mon Sep 17 00:00:00 2001 From: Dale Seo Date: Wed, 7 Aug 2024 20:32:50 -0400 Subject: [PATCH 1/4] feat: centralize Discord URL --- components/code-review-section.js | 17 ++++++++---- components/header.js | 6 ++--- components/intro-section.js | 14 +++++++--- components/step-section.js | 4 +-- data.js | 1 + index.html | 44 ++----------------------------- 6 files changed, 30 insertions(+), 56 deletions(-) diff --git a/components/code-review-section.js b/components/code-review-section.js index 4c8740c..84e9c05 100644 --- a/components/code-review-section.js +++ b/components/code-review-section.js @@ -1,4 +1,5 @@ import { css, html } from "../html-css-utils.js"; +import { DISCORD_URL } from "../data.js"; class CodeReviewSection extends HTMLElement { constructor() { @@ -71,19 +72,25 @@ class CodeReviewSection extends HTMLElement { } } `; - } - + } createHtml() { return html`
- - + 코드리뷰를 통해 새로운 관점을 배울 수 있어요 + + 디스코드 참여하기 +
`; diff --git a/components/header.js b/components/header.js index aa30098..40667b6 100644 --- a/components/header.js +++ b/components/header.js @@ -1,4 +1,5 @@ import { css, html } from "../html-css-utils.js"; +import { DISCORD_URL } from "../data.js"; class Header extends HTMLElement { constructor() { @@ -288,10 +289,7 @@ class Header extends HTMLElement { 참여방법 안내 - 디스코드 참여하기 diff --git a/components/intro-section.js b/components/intro-section.js index a07b659..e754b88 100644 --- a/components/intro-section.js +++ b/components/intro-section.js @@ -1,4 +1,5 @@ import { css, html } from "../html-css-utils.js"; +import { DISCORD_URL } from "../data.js"; class IntroSection extends HTMLElement { constructor() { @@ -87,12 +88,19 @@ class IntroSection extends HTMLElement { return html`
- - + 해외취업을 위한 커뮤니티 기반 알고리즘 스터디 + + 디스코드 참여하기 +
`; diff --git a/components/step-section.js b/components/step-section.js index 14a421c..8ee8c0a 100644 --- a/components/step-section.js +++ b/components/step-section.js @@ -1,5 +1,5 @@ import { html, css } from "../html-css-utils.js"; -import { APPLICATION_URL } from "../data.js"; +import { APPLICATION_URL, DISCORD_URL } from "../data.js"; class StepsSection extends HTMLElement { constructor() { @@ -66,7 +66,7 @@ class StepsSection extends HTMLElement {

매주 스터디 멤버들끼리 - + 디스코드 에서 간단한 모임을 가져요. 멤버 간의 친밀감도 쌓고 해외 취업 diff --git a/data.js b/data.js index ca4fbcd..f73d62d 100644 --- a/data.js +++ b/data.js @@ -1,2 +1,3 @@ export const APPLICATION_URL = "https://github.com/DaleStudy/leetcode-study/discussions/209"; +export const DISCORD_URL = "https://discord.gg/6TwzdnW6ze"; diff --git a/index.html b/index.html index b205d0c..f9c6a3f 100644 --- a/index.html +++ b/index.html @@ -46,27 +46,7 @@ - - - 해외취업을 위한 커뮤니티 기반 알고리즘 스터디 - - - 디스코드 참여하기 - - - - + - - - 코드리뷰를 통해 새로운 관점을 배울 수 있어요 - - - 디스코드 참여하기 - - - - + 참가자 후기 From ccbe8aee3187d1c208aaffa4a24645f127f5813f Mon Sep 17 00:00:00 2001 From: Dale Seo Date: Wed, 7 Aug 2024 20:35:13 -0400 Subject: [PATCH 2/4] chore: rename step-section.js to steps-section.js --- components/index.js | 2 +- components/{step-section.js => steps-section.js} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename components/{step-section.js => steps-section.js} (100%) diff --git a/components/index.js b/components/index.js index bfefdbe..92d3180 100644 --- a/components/index.js +++ b/components/index.js @@ -10,5 +10,5 @@ import "./intro-section.js"; import "./language-section.js"; import "./participant-review-section.js"; import "./participant-review.js"; -import "./step-section.js"; +import "./steps-section.js"; import "./step.js"; diff --git a/components/step-section.js b/components/steps-section.js similarity index 100% rename from components/step-section.js rename to components/steps-section.js From e4d15f0888b5dcdd5781a8866f13743f7de49015 Mon Sep 17 00:00:00 2001 From: Dale Seo Date: Wed, 7 Aug 2024 20:41:38 -0400 Subject: [PATCH 3/4] feat: centeralize PROJECT_URL --- components/steps-section.js | 6 ++---- data.js | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/components/steps-section.js b/components/steps-section.js index 8ee8c0a..192155a 100644 --- a/components/steps-section.js +++ b/components/steps-section.js @@ -1,5 +1,5 @@ import { html, css } from "../html-css-utils.js"; -import { APPLICATION_URL, DISCORD_URL } from "../data.js"; +import { APPLICATION_URL, DISCORD_URL, PROJECT_URL } from "../data.js"; class StepsSection extends HTMLElement { constructor() { @@ -55,9 +55,7 @@ class StepsSection extends HTMLElement {

답안 제출과 확인은 깃허브를 통해 이루어져요. 스터디 전체 진행상황을 알고 싶다면 - + 프로젝트 보드 를 통해 파악할 수 있어요. diff --git a/data.js b/data.js index f73d62d..b9c1a17 100644 --- a/data.js +++ b/data.js @@ -1,3 +1,4 @@ export const APPLICATION_URL = "https://github.com/DaleStudy/leetcode-study/discussions/209"; export const DISCORD_URL = "https://discord.gg/6TwzdnW6ze"; +export const PROJECT_URL = "https://github.com/orgs/DaleStudy/projects/1"; From 12bde931d772d33fca4a6405a6e80e13dea75333 Mon Sep 17 00:00:00 2001 From: Dale Seo Date: Wed, 7 Aug 2024 20:49:59 -0400 Subject: [PATCH 4/4] feat: centralize remaining URLs --- components/footer-link-list.js | 6 +++--- components/icon-link-list.js | 30 ++++++++++++++++++++++++++---- data.js | 8 ++++++++ 3 files changed, 37 insertions(+), 7 deletions(-) diff --git a/components/footer-link-list.js b/components/footer-link-list.js index b9ffc4f..982a259 100644 --- a/components/footer-link-list.js +++ b/components/footer-link-list.js @@ -1,5 +1,5 @@ import { css, html } from "../html-css-utils.js"; -import { APPLICATION_URL } from "../data.js"; +import { APPLICATION_URL, CONTRIBUTING_URL, FAQ_URL } from "../data.js"; class FooterLinkList extends HTMLElement { constructor() { @@ -70,7 +70,7 @@ class FooterLinkList extends HTMLElement { return html`