forked from acm-uic/sparkhacks-2023
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add central file that contains all the social media links * Update footer * Modify SocialMediaBubbles to accept link and be clickable. * Update SocialMediaBubbles with links
- Loading branch information
Showing
6 changed files
with
113 additions
and
74 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,9 @@ | ||
const SocialLinks = { | ||
"LinkedIn": "https://www.linkedin.com/in/sparkhacks-uic-343612269/", | ||
"Facebook": "https://www.facebook.com/profile.php?id=100090984219952", | ||
"Twitter": "https://twitter.com/SparkhacksAtUIC", | ||
"Instagram": "https://www.instagram.com/sparkhacksuic/", | ||
"YouTube": "https://www.youtube.com/channel/UC9CxYBwFup_SCKp38-CQx8Q" | ||
} | ||
|
||
export default SocialLinks |
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 |
---|---|---|
@@ -1,60 +1,84 @@ | ||
export function FacebookSMBubble() { | ||
return ( | ||
<div> | ||
<a href='https://www.facebook.com/profile.php?id=100090984219952' target="_blank" rel="noreferrer"> | ||
<button className="relative bg-primary h-60 w-60 rounded-full border-8 border-primary-dark items-center justify-center inline-flex"> | ||
<img className='w-2/4 h-2/4' src={require('../../assets/icons/facebook-icon.png')} alt="facebook.icon"/> | ||
</button> | ||
</a> | ||
</div> | ||
); | ||
export function FacebookSMBubble({ link }) { | ||
return ( | ||
<div> | ||
<button | ||
onClick={() => (window.location.href = link)} | ||
className="relative bg-primary h-60 w-60 rounded-full border-8 border-primary-dark items-center justify-center inline-flex" | ||
> | ||
<img | ||
className="w-2/4 h-2/4" | ||
src={require("../../assets/icons/facebook-icon.png")} | ||
alt="facebook.icon" | ||
/> | ||
</button> | ||
</div> | ||
); | ||
} | ||
|
||
export function InstagramSMBubble() { | ||
return ( | ||
<div> | ||
<a href="https://www.instagram.com/sparkhacksuic/" target="_blank" rel="noopener noreferrer"> | ||
<button className="relative bg-primary h-60 w-60 rounded-full border-8 border-primary-dark items-center justify-center inline-flex"> | ||
<img className="w-2/4 h-2/4" src={require("../../assets/icons/instagram-icon.png")} alt="instagram.icon" /> | ||
</button> | ||
</a> | ||
</div> | ||
); | ||
} | ||
export function LinkedinSMBubble() { | ||
return ( | ||
<div> | ||
<a href='https://www.linkedin.com/in/sparkhacks-uic-343612269/' target="_blank" rel="noreferrer"> | ||
<button className="relative bg-primary h-60 w-60 rounded-full border-8 border-primary-dark items-center justify-center inline-flex"> | ||
<img className='w-2/4 h-2/4' src={require('../../assets/icons/linkedin-icon.png')} alt="linkedin.icon"/> | ||
</button> | ||
</a> | ||
</div> | ||
); | ||
export function InstagramSMBubble({ link }) { | ||
return ( | ||
<div> | ||
<button | ||
onClick={() => (window.location.href = link)} | ||
className="relative bg-primary h-60 w-60 rounded-full border-8 border-primary-dark items-center justify-center inline-flex" | ||
> | ||
<img | ||
className="w-2/4 h-2/4" | ||
src={require("../../assets/icons/instagram-icon.png")} | ||
alt="instagram.icon" | ||
/> | ||
</button> | ||
</div> | ||
); | ||
} | ||
|
||
export function TwitterSMBubble() { | ||
return ( | ||
<div> | ||
<a href='https://twitter.com/SparkhacksAtUIC' target="_blank" rel="noreferrer"> | ||
<button className="relative bg-primary h-60 w-60 rounded-full border-8 border-primary-dark items-center justify-center inline-flex"> | ||
<img className='w-2/4 h-2/4' src={require('../../assets/icons/twitter-icon.png')} alt="twitter.icon"/> | ||
</button> | ||
</a> | ||
</div> | ||
); | ||
export function LinkedinSMBubble({ link }) { | ||
return ( | ||
<div> | ||
<button | ||
onClick={() => (window.location.href = link)} | ||
className="relative bg-primary h-60 w-60 rounded-full border-8 border-primary-dark items-center justify-center inline-flex" | ||
> | ||
<img | ||
className="w-2/4 h-2/4" | ||
src={require("../../assets/icons/linkedin-icon.png")} | ||
alt="linkedin.icon" | ||
/> | ||
</button> | ||
</div> | ||
); | ||
} | ||
|
||
export function YoutubeSMBubble() { | ||
return ( | ||
<div> | ||
<a href='https://www.youtube.com/channel/UC9CxYBwFup_SCKp38-CQx8Q' target="_blank" rel="noreferrer"> | ||
<button className="relative bg-primary h-60 w-60 rounded-full border-8 border-primary-dark items-center justify-center inline-flex"> | ||
<img className='w-2/4 h-2/4' src={require('../../assets/icons/youtube-icon.png')} alt="youtube.icon"/> | ||
</button> | ||
</a> | ||
</div> | ||
); | ||
export function TwitterSMBubble({ link }) { | ||
return ( | ||
<div> | ||
<button | ||
onClick={() => (window.location.href = link)} | ||
className="relative bg-primary h-60 w-60 rounded-full border-8 border-primary-dark items-center justify-center inline-flex" | ||
> | ||
<img | ||
className="w-2/4 h-2/4" | ||
src={require("../../assets/icons/twitter-icon.png")} | ||
alt="twitter.icon" | ||
/> | ||
</button> | ||
</div> | ||
); | ||
} | ||
|
||
|
||
export function YoutubeSMBubble({ link }) { | ||
return ( | ||
<div> | ||
<button | ||
onClick={() => (window.location.href = link)} | ||
className="relative bg-primary h-60 w-60 rounded-full border-8 border-primary-dark items-center justify-center inline-flex" | ||
> | ||
<img | ||
className="w-2/4 h-2/4" | ||
src={require("../../assets/icons/youtube-icon.png")} | ||
alt="youtube.icon" | ||
/> | ||
</button> | ||
</div> | ||
); | ||
} |
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