Skip to content

Commit

Permalink
refactor: reflected pr reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
yolophg committed Jul 8, 2024
1 parent 933e7bc commit 789461e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions components/step-section.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { html, css } from "../html-css-utils.js";

class StepSection extends HTMLElement {
class StepsSection extends HTMLElement {
constructor() {
super();
this.render();
Expand All @@ -13,7 +13,7 @@ class StepSection extends HTMLElement {

createCss() {
return css`
.step-section {
section {
width: 80%;
max-width: 1550px;
margin: 0 auto;
Expand All @@ -27,11 +27,11 @@ class StepSection extends HTMLElement {

createHtml() {
return html`
<section class="step-section">
<section>
<slot></slot>
</section>
`;
}
}

customElements.define("ds-step-section", StepSection);
customElements.define("ds-steps-section", StepsSection);
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
</div>
</div>

<ds-step-section>
<ds-steps-section>
<ds-hero>스터디 참여방법</ds-hero>
<ds-step-list>
<ds-step step="1" iconSrc="images/icon_step1.png">
Expand Down Expand Up @@ -278,7 +278,7 @@
</p>
</ds-step>
</ds-step-list>
</ds-step-section>
</ds-steps-section>

<footer>
<div
Expand Down

0 comments on commit 789461e

Please sign in to comment.