Add Levels to Properly Test Level Card

This commit is contained in:
copecone committed 2026-04-24 14:15:08 +09:00
1 parent e86f500d8f
commit 88d2b6a546
5 files changed
+56 -11

No files matched your search

@@ -7,7 +7,7 @@
<div class="other">
<div class="creator">
<span>by</span>
<span>{{ creator() }}</span>
<span>{{ creatorString() }}</span>
</div>
</div>
</section>
@@ -22,7 +22,7 @@ $default_animation_duration: 0.2s;
overflow: hidden;
section.information {
width: 336px;
width: calc(100% - 64px);
padding: 12px;
box-sizing: border-box;
overflow: hidden;
+4 -2
View File
@@ -1,4 +1,4 @@
import { Component, input } from '@angular/core';
import { Component, computed, input } from '@angular/core';
@Component({
selector: 'level-card',
@@ -9,5 +9,7 @@ import { Component, input } from '@angular/core';
export class LevelCard {
artist = input.required<string>()
trackName = input.required<string>()
creator = input.required<string>()
creator = input<string[]>([]);
creatorString = computed(() => this.creator().join(" & "));
}