Skip to content

Commit

Permalink
Merge pull request #524 from AkshitGarg24/513/Positon-of-Newsletter
Browse files Browse the repository at this point in the history
Changed Position of Newsletter
  • Loading branch information
SUGAM-ARORA authored Jul 22, 2024
2 parents 0661a9b + dcbbfbe commit 2af2e2e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
8 changes: 5 additions & 3 deletions src/Components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ const scrollToTop = () => {
const Footer = () => {
return (
<div className='footer'>
<SubscribeMail/>
<div className='footer-container footer-container-md'>
<div className='footer-1'>
<img src={logo} alt="logo"/>
<img src={logo} alt="logo" />
<div>
<div className='footer-title'>Unicollab</div>
<div className='footer-description'>
Expand Down Expand Up @@ -55,6 +54,7 @@ const Footer = () => {
</div>
</div>
</div>
<SubscribeMail />
<div className='footer-icons footer-icons-md'>
<a href="#" target="_blank" rel='noreferrer'>
<FontAwesomeIcon icon={faLinkedin} />
Expand All @@ -66,14 +66,16 @@ const Footer = () => {
<FontAwesomeIcon icon={faFacebook} />
</a>
<a href="#" target="_blank" rel='noreferrer'>
<FontAwesomeIcon icon={faTwitter} />
<FontAwesomeIcon icon={faTwitter} />
</a>
</div>

<div className='footer-bottom'>
<div className='footer-bottom-link'>
&copy; 2024 UniCollab. All rights reserved.
</div>
</div>

</div>
);
}
Expand Down
10 changes: 9 additions & 1 deletion src/Components/footer_section/Mail/Mail.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
}
.subscribe-mail{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 100px;
}
btn1{
background: #574d91;
Expand All @@ -23,4 +23,12 @@ btn1{
}
btn1:hover{
background: #252041;
}
.mail{
display: flex;
flex-direction: row;
width: min-content;
}
p{
font-weight: 900;
}
4 changes: 2 additions & 2 deletions src/Components/footer_section/Mail/SubscribeMail.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import './Mail.css';
export default function SubscribeMail(){
return(
<div className='subscribe-mail'>
<p>Subscribe to our newsletter</p>
<form >
<p>SUBSCRIBE TO OUR NEWSLETTER</p>
<form className='mail'>
<input type='text' placeholder='Enter your email address' required className="inputmail" />
<button type='submit' className='btn1'>Subscribe</button>
</form>
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10769,4 +10769,4 @@ yargs@^17.7.2:
yocto-queue@^0.1.0:
version "0.1.0"
resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==

0 comments on commit 2af2e2e

Please sign in to comment.