-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
9 additions
and
10 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
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ const HomeKnow: React.FC = () => { | |
)} | ||
<span className="text-base"><a href="mailto:[email protected]">[email protected]</a></span> | ||
</div> | ||
<div className="w-full flex flex-col justify-center items-center text-center mb-12 md:items-start p-2 md:mb-0 md:text-left md:pt-5 md:flex-1 md:max-w-none md:pb-12"> | ||
<div className="w-full flex flex-col justify-center items-center text-center mb-12 md:items-start py-2 md:mb-0 md:text-left md:pt-5 md:flex-1 md:max-w-none md:pb-12"> | ||
{language === "english" ? ( | ||
<h2 className="font-bold text-heading2 pb-3 md:text-heading2 mb-3"> | ||
Want to know more? <br/> | ||
|
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 |
---|---|---|
|
@@ -65,8 +65,8 @@ Min e-post: "${userEmail}"`; | |
<p className="text-base">{language === "english" ? "We are expanding rapidly, keep yourself updated via newsletter" : "Vi expanderar snabbt, håll dig uppdaterad via nyhetsbrevet"}</p> | ||
<div className="sm:relative w-[360px] sm:w-[420px] flex-col sm:flex-row items-center justify-center mt-3 max-w-[98%]"> | ||
<form onSubmit={onSubmit} > | ||
<input onChange={(e) => setUserEmail(e.target.value)} id="email" type="email" placeholder="[email protected]" className="sm:pe-32 ps-2 pe-2 py-[12px] w-full rounded-[40px] mb-2 sm:mb-0 text-primary focus-visible:outline-primary"/> | ||
<button type="submit" className="sm:w-[110px] w-[360px] max-w-[98%] py-[14px] sm:py-[6px] rounded-[40px] text-center sm:absolute text-base sm:text-[12px] sm:right-[10px] sm:top-[6px] sm:rounded-[20px] bg-black text-white hover:bg-[#d2cfcf] hover:text-black hover:border"> | ||
<input onChange={(e) => setUserEmail(e.target.value)} id="email" type="email" placeholder="[email protected]" className="sm:pe-32 ps-2 pe-2 py-[12px] w-[342px] sm:w-full rounded-[40px] mb-2 sm:mb-0 text-primary focus-visible:outline-primary"/> | ||
<button type="submit" className="sm:w-[110px] w-[342px] max-w-[98%] py-[14px] sm:py-[6px] rounded-[40px] text-center sm:absolute text-base sm:text-[12px] sm:right-[10px] sm:top-[6px] sm:rounded-[20px] bg-black text-white hover:bg-[#d2cfcf] hover:text-black hover:border"> | ||
{language === "english" ? "Subscribe" : "Prenumerera"} | ||
</button> | ||
</form> | ||
|