-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/modal component #7
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
กดไว้แค่นี้ก่อนเดี่ยวมารีวิวต่อ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- remove local storage implementation
- minor code format
src/lib/components/Modal.svelte
Outdated
import { typography } from '../../styles/tailwind/typography'; | ||
import { faX, faFile } from '@fortawesome/free-solid-svg-icons'; | ||
import Fa from 'svelte-fa'; | ||
let isClose = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
เปลี่ยนชื่ออันนี้เป็น isModalOpen
ดีกว่าพอเป็น isClose
แล้ว logic มันสลับกัน my bad bro
src/lib/components/Modal.svelte
Outdated
> | ||
เอกสารที่เกี่ยวข้อง | ||
</div> | ||
<button class="hover:scale-105 transition-all" on:click={() => closeModal()}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on:click={closeModal}
ได้นะ
When your commit is behind the dev branch, you can update your branch to include the latest changes from dev na krub |
This is how you do it na @Chulinuwu
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready to merge
Type of Change
Description
Sleep
Screenshots or GIFs (if applicable)