File tree Expand file tree Collapse file tree 9 files changed +70
-67
lines changed Expand file tree Collapse file tree 9 files changed +70
-67
lines changed Original file line number Diff line number Diff line change 1
1
import { css , html } from "../html-css-utils.js" ;
2
+ import { DISCORD_URL } from "../data.js" ;
2
3
3
4
class CodeReviewSection extends HTMLElement {
4
5
constructor ( ) {
@@ -71,19 +72,25 @@ class CodeReviewSection extends HTMLElement {
71
72
}
72
73
}
73
74
` ;
74
- }
75
-
75
+ }
76
76
77
77
createHtml ( ) {
78
78
return html `
79
79
< section >
80
80
< aside >
81
- < slot name ="image "> </ slot >
81
+ < ds-image
82
+ src ="images/review.png "
83
+ alt ="review "
84
+ width ="100% "
85
+ height ="auto "
86
+ > </ ds-image >
82
87
</ aside >
83
88
84
89
< div class ="hero ">
85
- < slot name ="heading "> </ slot >
86
- < slot name ="button "> </ slot >
90
+ < ds-hero > ์ฝ๋๋ฆฌ๋ทฐ๋ฅผ ํตํด ์๋ก์ด ๊ด์ ์ ๋ฐฐ์ธ ์ ์์ด์ </ ds-hero >
91
+ < ds-button-link size ="big " variant ="primary " href ="${ DISCORD_URL } ">
92
+ ๋์ค์ฝ๋ ์ฐธ์ฌํ๊ธฐ
93
+ </ ds-button-link >
87
94
</ div >
88
95
</ section >
89
96
` ;
Original file line number Diff line number Diff line change 1
1
import { css , html } from "../html-css-utils.js" ;
2
- import { APPLICATION_URL } from "../data.js" ;
2
+ import { APPLICATION_URL , CONTRIBUTING_URL , FAQ_URL } from "../data.js" ;
3
3
4
4
class FooterLinkList extends HTMLElement {
5
5
constructor ( ) {
@@ -70,7 +70,7 @@ class FooterLinkList extends HTMLElement {
70
70
return html `< ul >
71
71
< li >
72
72
< a
73
- href ="https://github.com/DaleStudy/leetcode-study/discussions/54 "
73
+ href ="${ FAQ_URL } "
74
74
target ="_blank "
75
75
aria-label ="Read the FAQ discussion on Algorithm study group "
76
76
>
@@ -90,7 +90,7 @@ class FooterLinkList extends HTMLElement {
90
90
91
91
< li >
92
92
< a
93
- href ="https://github.com/DaleStudy/leetcode-study/blob/main/CONTRIBUTING.md "
93
+ href ="${ CONTRIBUTING_URL } "
94
94
target ="_blank "
95
95
aria-label ="Read the contributing guide for the Algorithm study group "
96
96
>
Original file line number Diff line number Diff line change 1
1
import { css , html } from "../html-css-utils.js" ;
2
+ import { DISCORD_URL } from "../data.js" ;
2
3
3
4
class Header extends HTMLElement {
4
5
constructor ( ) {
@@ -288,10 +289,7 @@ class Header extends HTMLElement {
288
289
< ds-button-link href ="#steps-section " size ="small " variant ="ghost "
289
290
> ์ฐธ์ฌ๋ฐฉ๋ฒ ์๋ด</ ds-button-link
290
291
>
291
- < ds-button-link
292
- href ="https://discord.gg/6TwzdnW6ze "
293
- size ="small "
294
- variant ="primary "
292
+ < ds-button-link href ="${ DISCORD_URL } " size ="small " variant ="primary "
295
293
> ๋์ค์ฝ๋ ์ฐธ์ฌํ๊ธฐ</ ds-button-link
296
294
>
297
295
</ div >
Original file line number Diff line number Diff line change 1
1
import { css , html } from "../html-css-utils.js" ;
2
+ import {
3
+ ALGO_DALE_URL ,
4
+ GITHUB_URL ,
5
+ LINKED_IN_URL ,
6
+ YOUTUBE_URL ,
7
+ } from "../data.js" ;
2
8
3
9
class IconLinkList extends HTMLElement {
4
10
constructor ( ) {
@@ -58,7 +64,11 @@ class IconLinkList extends HTMLElement {
58
64
59
65
createHtml ( ) {
60
66
return html `< section >
61
- < a href ="https://www.algodale.com/ " target ="_blank " aria-label ="Visit the Algodale website ">
67
+ < a
68
+ href ="${ ALGO_DALE_URL } "
69
+ target ="_blank "
70
+ aria-label ="Visit the Algodale website "
71
+ >
62
72
< svg
63
73
width ="24 "
64
74
height ="24 "
@@ -73,7 +83,11 @@ class IconLinkList extends HTMLElement {
73
83
</ svg >
74
84
</ a >
75
85
76
- < a href ="https://www.linkedin.com/in/daleseo/ " target ="_blank " aria-label ="Visit Dale's LinkedIn profile ">
86
+ < a
87
+ href ="${ LINKED_IN_URL } "
88
+ target ="_blank "
89
+ aria-label ="Visit Dale's LinkedIn profile "
90
+ >
77
91
< svg
78
92
width ="24 "
79
93
height ="24 "
@@ -88,7 +102,11 @@ class IconLinkList extends HTMLElement {
88
102
</ svg >
89
103
</ a >
90
104
91
- < a href ="https://github.com/DaleStudy/leetcode-study " target ="_blank " aria-label ="Visit the Algorithm study group's GitHub repository ">
105
+ < a
106
+ href ="${ GITHUB_URL } "
107
+ target ="_blank "
108
+ aria-label ="Visit the Algorithm study group's GitHub repository "
109
+ >
92
110
< svg
93
111
width ="25 "
94
112
height ="24 "
@@ -103,7 +121,11 @@ class IconLinkList extends HTMLElement {
103
121
</ svg >
104
122
</ a >
105
123
106
- < a href ="https://www.youtube.com/@DaleSeo " target ="_blank " aria-label ="Visit Dale's YouTube channel ">
124
+ < a
125
+ href ="${ YOUTUBE_URL } "
126
+ target ="_blank "
127
+ aria-label ="Visit Dale's YouTube channel "
128
+ >
107
129
< svg
108
130
width ="25 "
109
131
height ="18 "
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ import "./intro-section.js";
10
10
import "./language-section.js" ;
11
11
import "./participant-review-section.js" ;
12
12
import "./participant-review.js" ;
13
- import "./step -section.js" ;
13
+ import "./steps -section.js" ;
14
14
import "./step.js" ;
Original file line number Diff line number Diff line change 1
1
import { css , html } from "../html-css-utils.js" ;
2
+ import { DISCORD_URL } from "../data.js" ;
2
3
3
4
class IntroSection extends HTMLElement {
4
5
constructor ( ) {
@@ -87,12 +88,19 @@ class IntroSection extends HTMLElement {
87
88
return html `
88
89
< section >
89
90
< aside >
90
- < slot name ="image "> </ slot >
91
+ < ds-image
92
+ src ="images/roadmap.png "
93
+ alt ="roadmap "
94
+ width ="100% "
95
+ height ="auto "
96
+ > </ ds-image >
91
97
</ aside >
92
98
93
99
< article >
94
- < slot name ="heading "> </ slot >
95
- < slot name ="button "> </ slot >
100
+ < ds-hero > ํด์ธ์ทจ์
์ ์ํ ์ปค๋ฎค๋ํฐ ๊ธฐ๋ฐ ์๊ณ ๋ฆฌ์ฆ ์คํฐ๋ </ ds-hero >
101
+ < ds-button-link size ="big " variant ="primary " href ="${ DISCORD_URL } ">
102
+ ๋์ค์ฝ๋ ์ฐธ์ฌํ๊ธฐ
103
+ </ ds-button-link >
96
104
</ article >
97
105
</ section >
98
106
` ;
Original file line number Diff line number Diff line change 1
1
import { html , css } from "../html-css-utils.js" ;
2
- import { APPLICATION_URL } from "../data.js" ;
2
+ import { APPLICATION_URL , DISCORD_URL , PROJECT_URL } from "../data.js" ;
3
3
4
4
class StepsSection extends HTMLElement {
5
5
constructor ( ) {
@@ -55,9 +55,7 @@ class StepsSection extends HTMLElement {
55
55
< p slot ="content ">
56
56
๋ต์ ์ ์ถ๊ณผ ํ์ธ์ ๊นํ๋ธ๋ฅผ ํตํด ์ด๋ฃจ์ด์ ธ์. ์คํฐ๋ ์ ์ฒด
57
57
์งํ์ํฉ์ ์๊ณ ์ถ๋ค๋ฉด
58
- < ds-step-text-link
59
- link ="https://github.com/orgs/DaleStudy/projects/1 "
60
- >
58
+ < ds-step-text-link link ="${ PROJECT_URL } ">
61
59
ํ๋ก์ ํธ ๋ณด๋
62
60
</ ds-step-text-link >
63
61
๋ฅผ ํตํด ํ์
ํ ์ ์์ด์.
@@ -66,7 +64,7 @@ class StepsSection extends HTMLElement {
66
64
< ds-step step ="3 " icon-src ="images/icon_step3.png ">
67
65
< p slot ="content ">
68
66
๋งค์ฃผ ์คํฐ๋ ๋ฉค๋ฒ๋ค๋ผ๋ฆฌ
69
- < ds-step-text-link link ="https://discord.com/invite/6TwzdnW6ze ">
67
+ < ds-step-text-link link ="${ DISCORD_URL } ">
70
68
๋์ค์ฝ๋
71
69
</ ds-step-text-link >
72
70
์์ ๊ฐ๋จํ ๋ชจ์์ ๊ฐ์ ธ์. ๋ฉค๋ฒ ๊ฐ์ ์น๋ฐ๊ฐ๋ ์๊ณ ํด์ธ ์ทจ์
Original file line number Diff line number Diff line change 1
1
export const APPLICATION_URL =
2
2
"https://github.com/DaleStudy/leetcode-study/discussions/209" ;
3
+ export const DISCORD_URL = "https://discord.gg/6TwzdnW6ze" ;
4
+ export const PROJECT_URL = "https://github.com/orgs/DaleStudy/projects/1" ;
5
+ export const CONTRIBUTING_URL =
6
+ "https://github.com/DaleStudy/leetcode-study/blob/main/CONTRIBUTING.md" ;
7
+ export const FAQ_URL =
8
+ "https://github.com/DaleStudy/leetcode-study/discussions/54" ;
9
+ export const ALGO_DALE_URL = "https://www.algodale.com/" ;
10
+ export const LINKED_IN_URL = "https://www.linkedin.com/in/daleseo/" ;
11
+ export const GITHUB_URL = "https://github.com/DaleStudy/leetcode-study" ;
12
+ export const YOUTUBE_URL = "https://www.youtube.com/@DaleSeo" ;
Original file line number Diff line number Diff line change 46
46
< body style ="display: none ">
47
47
< ds-header > </ ds-header >
48
48
49
- < ds-intro-section id ="intro-section ">
50
- < ds-hero slot ="heading ">
51
- ํด์ธ์ทจ์
์ ์ํ ์ปค๋ฎค๋ํฐ ๊ธฐ๋ฐ ์๊ณ ๋ฆฌ์ฆ ์คํฐ๋
52
- </ ds-hero >
53
- < ds-button-link
54
- slot ="button "
55
- size ="big "
56
- variant ="primary "
57
- href ="https://discord.gg/6TwzdnW6ze "
58
- >
59
- ๋์ค์ฝ๋ ์ฐธ์ฌํ๊ธฐ
60
- </ ds-button-link >
61
-
62
- < ds-image
63
- slot ="image "
64
- src ="images/roadmap.png "
65
- alt ="roadmap "
66
- width ="100% "
67
- height ="auto "
68
- > </ ds-image >
69
- </ ds-intro-section >
49
+ < ds-intro-section id ="intro-section "> </ ds-intro-section >
70
50
71
51
< ds-language-section >
72
52
< ds-image
103
83
</ ds-button-link >
104
84
</ ds-language-section >
105
85
106
- < ds-code-review-section >
107
- < ds-hero slot ="heading ">
108
- ์ฝ๋๋ฆฌ๋ทฐ๋ฅผ ํตํด ์๋ก์ด ๊ด์ ์ ๋ฐฐ์ธ ์ ์์ด์
109
- </ ds-hero >
110
- < ds-button-link
111
- slot ="button "
112
- size ="big "
113
- variant ="primary "
114
- href ="https://discord.gg/6TwzdnW6ze "
115
- >
116
- ๋์ค์ฝ๋ ์ฐธ์ฌํ๊ธฐ
117
- </ ds-button-link >
118
-
119
- < ds-image
120
- slot ="image "
121
- src ="images/review.png "
122
- alt ="review "
123
- width ="100% "
124
- height ="auto "
125
- > </ ds-image >
126
- </ ds-code-review-section >
86
+ < ds-code-review-section > </ ds-code-review-section >
127
87
128
88
< ds-participant-reviews-section >
129
89
< ds-hero > ์ฐธ๊ฐ์ ํ๊ธฐ</ ds-hero >
You canโt perform that action at this time.
0 commit comments