Skip to content

Commit

Permalink
Fix party popper image
Browse files Browse the repository at this point in the history
  • Loading branch information
faheempatel committed Feb 6, 2024
1 parent 34360e7 commit 0c982de
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
Binary file added src/assets/party-popper.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 11 additions & 4 deletions src/screens/EidScreen/EidScreen.res
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// {..} means we are handling a JS object with an unknown
// set of attributes
@module external styles: {..} = "./EidScreen.module.css"

let partyPopperEmoji = "https://dsc.cloud/3ca15e/party-popper-emoji.png"
@module("../../assets/party-popper.png") external partyPopperEmoji: 'png = "default"

let paragraphs = [
"May Allah bless you with a great day!",
Expand All @@ -24,10 +23,18 @@ let make = () => {
width={"64"}
height={"64"}
/>
<h1> {React.string("Eid")} <br /> {React.string("Mubarak!")} </h1>
<h1>
{React.string("Eid")}
<br />
{React.string("Mubarak!")}
</h1>
<div>
{React.array(paragraphs)}
<p> {React.string("JazakAllah khair,")} <br /> {React.string("Faheem")} </p>
<p>
{React.string("JazakAllah khair,")}
<br />
{React.string("Faheem")}
</p>
</div>
</div>
</Container>
Expand Down

0 comments on commit 0c982de

Please sign in to comment.