generated from sweetmantech/DACIRKUS_PERFORMERS
-
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
Test #92
Merged
Merged
Test #92
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
1f6fc55
I change camera text
techeng322 8f35d6f
I make smaller popup
techeng322 ac57480
I update game image in music
techeng322 66175c2
I fix youtube content
techeng322 c927b39
Merge branch 'tech322/smaller-popup' into tech322/game-image
techeng322 f9694bb
I fix typo
techeng322 825aa85
Merge branch 'test' of https://github.com/SweetmanTech/HENO._CUSTOM_W…
techeng322 96cfc6e
Merge pull request #89 from SweetmanTech/tech322/camera-text
techeng322 9439175
I fix z index
techeng322 d7d1303
I fix overlap
techeng322 8987409
I remove empty className
techeng322 0fbb458
Merge branch 'test' of https://github.com/SweetmanTech/HENO._CUSTOM_W…
techeng322 ae10068
Merge pull request #90 from SweetmanTech/tech322/smaller-popup
techeng322 6bdfd63
Merge pull request #91 from SweetmanTech/tech322/game-image
techeng322 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ import TextArea from "../../Core/TextArea" | |
import { validation } from "./validation" | ||
import useIsMobile from "../../../hooks/useIsMobile" | ||
|
||
const ContactForm = () => { | ||
const ContactForm = ({ isPopup }) => { | ||
const isMobile = useIsMobile() | ||
|
||
const { | ||
|
@@ -21,8 +21,10 @@ const ContactForm = () => { | |
handleSubmit, | ||
} = useContact() | ||
|
||
const inputClasses = `!w-[200px] md:!w-[400px] !text-[10px] md:!text-[20px] h-[32px] md:h-[44px]` | ||
const labelClasses = "uppercase text-[10px] md:text-[20px]" | ||
const inputClasses = `${ | ||
isPopup ? "md:!w-[250px]" : "md:!w-[400px] md:h-[44px]" | ||
} !w-[200px] !text-[10px] md:!text-[20px] h-[32px] ` | ||
const labelClasses = `uppercase text-[10px] ${!isPopup && "md:text-[20px]"}` | ||
|
||
const buttonRef = useRef() as any | ||
|
||
|
@@ -36,7 +38,11 @@ const ContactForm = () => { | |
onSubmit={handleSubmit} | ||
validationSchema={validation} | ||
> | ||
<div className="w-[200px] md:w-[400px] text-[10px] md:text-[22px]"> | ||
<div | ||
className={`w-[200px] md:w-[400px] text-[10px] ${ | ||
isPopup ? "md:text-[16px]" : "md:text-[22px]" | ||
}`} | ||
> | ||
<p>ALL BOOKING / INQUIRIES :</p> | ||
<p>[email protected]</p> | ||
</div> | ||
|
@@ -79,7 +85,9 @@ const ContactForm = () => { | |
<TextArea | ||
value={message} | ||
onChange={(e) => setMessage(e.target.value)} | ||
className="!w-[200px] md:!w-[400px] !text-[10px] md:!text-[20px]" | ||
className={`!w-[200px] ${ | ||
isPopup ? "md:!w-[250px]" : "md:!w-[400px]" | ||
} !text-[10px] md:!text-[20px]`} | ||
id="message" | ||
name="message" | ||
rows={isMobile ? 2 : 5} | ||
|
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
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
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
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Ensure consistent use of responsive units for text sizing.
Consider using responsive units like
rem
instead ofpx
for text sizes to improve accessibility and maintain consistency across different screen sizes.