-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: correct cabinet info section in promises page (#139)
* fix: cabinet info * refactor: code review
- Loading branch information
Showing
4 changed files
with
99 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
<script lang="ts"> | ||
import type { CabinetSummary } from '../../../routes/promises/+page.server'; | ||
import type { | ||
CabinetSummary, | ||
PreviousCabinetSummary | ||
} from '../../../routes/promises/+page.server'; | ||
import AboutCard from './AboutCard.svelte'; | ||
export let cabinet: CabinetSummary; | ||
export let previousCabinet: PreviousCabinetSummary; | ||
</script> | ||
|
||
<div class="flex flex-col items-center gap-2 py-3"> | ||
<p class="fluid-heading-04">เกี่ยวกับรัฐบาล</p> | ||
<AboutCard {cabinet} /> | ||
<AboutCard {cabinet} {previousCabinet} /> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters