Skip to content
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

Changed Position of Newsletter #524

Merged
merged 2 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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==