-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added military medals to the contact form onSubmit
- Loading branch information
1 parent
82f11b2
commit 7f2942f
Showing
5 changed files
with
61 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* styles/globals.css */ | ||
|
||
@keyframes fall { | ||
to { | ||
transform: translateY(calc(100vh + 100%)); | ||
} | ||
} | ||
|
||
.emoji-fall { | ||
animation: fall 5s linear forwards; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
const EmojiRain = () => { | ||
return ( | ||
<div className="fixed top-0 left-0 w-full h-full pointer-events-none z-50 overflow-hidden"> | ||
{Array.from({ length: 100 }).map((_, index) => ( | ||
<div | ||
key={index} | ||
style={{ | ||
position: 'absolute', | ||
left: `${Math.random() * 100}vw`, | ||
top: `-${Math.random() * 100}vh`, | ||
animation: 'fall 5s linear forwards', | ||
}} | ||
> | ||
🎖️ | ||
</div> | ||
))} | ||
</div> | ||
); | ||
}; | ||
|
||
export default EmojiRain; |
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