<div class="class-container">
  <div class="title">{{ "classes." + class.title | translate }}</div>

  <div [innerHTML]="class.description"></div>

  <div class="features">
    @for (feature of class.features; track feature) {
      <div class="feature">
        <hr />
        <div class="feature-name">{{ feature.name }}</div>
        <div class="feature-level">{{ feature.level }}</div>
        <icon-button
          [icon]="'add'"
          class="feature-button"
          (click)="addFeature(feature)"
        ></icon-button>
        <div [innerHTML]="feature.description"></div>
      </div>
    }
  </div>
</div>
