Skip to content

Commit

Permalink
Merge pull request #41 from GoCon/chore/staffs-page
Browse files Browse the repository at this point in the history
chore: fix typo and modify style
  • Loading branch information
hytkgami authored Jun 2, 2024
2 parents e662f20 + 5f5d017 commit 9172f6c
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 9172f6c

Please sign in to comment.