Skip to content
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

Merged
merged 10 commits into from
Sep 13, 2024
Merged

Feat/modal component #7

merged 10 commits into from
Sep 13, 2024

Conversation

Chulinuwu
Copy link
Collaborator

Type of Change

  • [Modal Component ?? ] New features

Description

Sleep

Screenshots or GIFs (if applicable)

modal

Copy link
Member

@punchanabu punchanabu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

กดไว้แค่นี้ก่อนเดี่ยวมารีวิวต่อ

src/routes/testModal/+page.svelte Outdated Show resolved Hide resolved
src/lib/components/Modal.svelte Outdated Show resolved Hide resolved
src/lib/components/Modal.svelte Outdated Show resolved Hide resolved
src/lib/components/Modal.svelte Outdated Show resolved Hide resolved
src/lib/components/Modal.svelte Outdated Show resolved Hide resolved
Copy link
Member

@punchanabu punchanabu left a 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/store.js Outdated Show resolved Hide resolved
src/lib/components/store.js Outdated Show resolved Hide resolved
src/lib/components/store.js Outdated Show resolved Hide resolved
src/lib/components/store.js Outdated Show resolved Hide resolved
src/lib/components/store.js Outdated Show resolved Hide resolved
src/lib/components/Modal.svelte Outdated Show resolved Hide resolved
import { typography } from '../../styles/tailwind/typography';
import { faX, faFile } from '@fortawesome/free-solid-svg-icons';
import Fa from 'svelte-fa';
let isClose = false;
Copy link
Member

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

>
เอกสารที่เกี่ยวข้อง
</div>
<button class="hover:scale-105 transition-all" on:click={() => closeModal()}>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on:click={closeModal} ได้นะ

@macgeargear
Copy link
Contributor

When your commit is behind the dev branch, you can update your branch to include the latest changes from dev na krub

@punchanabu
Copy link
Member

punchanabu commented Sep 13, 2024

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

# commit อะไรให้เรียบร้อยก่อน
git checkout dev
git pull
git checkout {your_branch_name}
git merge dev

Copy link
Member

@punchanabu punchanabu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ready to merge

@Chulinuwu Chulinuwu merged commit 8d8b292 into dev Sep 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants