Skip to content

Commit

Permalink
feat: add author-link attribute in ParticipantReview
Browse files Browse the repository at this point in the history
  • Loading branch information
yolophg committed Jul 30, 2024
1 parent 0113f99 commit 1d104a2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion components/participant-review.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ class ParticipantReview extends BaseParticipantReviewElement {
const authorImgSrc = this.getAttribute("author-img-src");
const content = this.getAttribute("content");
const author = this.getAttribute("author");
const authorLink = this.getAttribute("author-link");

return html`
<article>
Expand All @@ -162,7 +163,11 @@ class ParticipantReview extends BaseParticipantReviewElement {
</section>
<section class="participant-review-content">
<blockquote>${content}</blockquote>
<figcaption>${author}</figcaption>
<figcaption>
<a target="_blank" ${authorLink ? `href="${authorLink}"` : ""}>
${author}
</a>
</figcaption>
</section>
</article>
`;
Expand Down
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
다른 사람들과 함께 스터디 하기 때문에 혼자서 할 때보다 알고리즘을 꾸준히 풀어나갈 수 있도록 동기 부여가 되는 부분이 좋았고, 서로의 작성한 코드를 확인하며 피드백 할 수 있다는 점이 좋았습니다. <br/>
해외 취업을 준비하시는 분들께 좋은 기회가 될 것 이라고 생각합니다."
author="Jonghoon Park"
author-link="https://www.linkedin.com/in/dev-jonghoonpark"
></ds-participant-review>
<ds-participant-review
author-img-src="images/human_2.png"
Expand All @@ -157,6 +158,7 @@
지금 돌아보니 정말 성실하고, 다재다능한 분들의 이야기를 듣고 나눌 수 있어 즐겁고 유익한 시간이었습니다. <br />
참가자 분들 어디에서든 모두 좋은 결과를 이루어내시리라 믿습니다 화이팅!"
author="Borahm Lee"
author-link="https://www.linkedin.com/in/borahm-lee-4ba97a170"
></ds-participant-review>
<ds-participant-review
author-img-src="images/human_1.png"
Expand All @@ -170,12 +172,14 @@
이 스터디는 자유와 책임의 균형이 잘 맞춰져 있습니다. 매주 깃허브 레포지토리에 할당된 문제의 소스 코드를 올리면 되고, 정기적으로 온라인 모임을 통해 그 주 문제에 대해 이야기할 수도 있습니다. 물론, 이는 필수는 아니어서 부담 없이 참여할 수 있었습니다. <br />
스터디에 모인 사람들도 중요했습니다. 운이 좋게도 스터디에 적극적인 멤버들과 함께할 수 있었고, 스터디 기간 중후반까지 높은 참여율을 유지할 수 있었습니다. 이는 달레님의 커뮤니티에 대한 지속적인 관심과 노력 덕분이라 생각합니다. 달레님의 정성과 노력에 저를 포함한 스터디 멤버들이 잘 응답했다고 생각해요. 저희 스터디 멤버들에게 감사하고 여러분들이 자랑스러워요!"
author="Evan Suhyeong Lee"
author-link="https://github.com/sounmind"
></ds-participant-review>
<ds-participant-review
author-img-src="images/human_3.png"
content="LeetCode Blind 75 완주를 목표로 매주 5문제씩 꾸준히 풀고 있습니다. 서로의 코드를 리뷰하고 피드백을 주고받으며 많은 것을 배웠어요. 해외 취업을 목표로 하는 분들에게 유익한 정보와 동기부여가 되며, 함께 공부하는 멤버들과 알차게 매주를 채워나가고 있습니다. <br />
자기주도적으로 배움과 동기를 얻고 싶은 분들께 강력히 추천합니다."
author="Helena Park"
author-link="https://www.linkedin.com/in/yolophg"
></ds-participant-review>
</ds-participant-review-list>
</ds-participant-reviews-section>
Expand Down

0 comments on commit 1d104a2

Please sign in to comment.