Skip to content

Commit

Permalink
chore: fix typo and modify style
Browse files Browse the repository at this point in the history
  • Loading branch information
nozomuikuta committed Jun 1, 2024
1 parent e662f20 commit 5f5d017
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Header/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ import { concatWithBase } from "@utils/concatWithBase";
>
</li>
<li><a href={concatWithBase("floorguide")}>Floor Guide</a></li>
<li><a href={concatWithBase("staffs")}>Staff</a></li>
<li><a href={concatWithBase("staffs")}>Staffs</a></li>
<!-- <li><a href="#">English</a></li> -->
</ul>
</nav>
Expand Down
8 changes: 5 additions & 3 deletions src/components/Staffs.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ const staffs = await getEntry("staffs", "data");
/>
<p class="staff-name">{staff.name}</p>
<p class="staff-company">{staff.company}</p>
<p class="staff-favorite-packages">
{staff.favoritePackages.join(", ")}
</p>
{!!staff.favoritePackages.length && (
<p class="staff-favorite-packages">
🩷 {staff.favoritePackages.join(", ")}
</p>
)}
</div>
))
}
Expand Down

0 comments on commit 5f5d017

Please sign in to comment.