generated from the-collab-lab/smart-shopping-list
-
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.
Merge pull request #46 from the-collab-lab/dtp-teampage
Issue #16: Create Team Component and Loading Screen
- Loading branch information
Showing
13 changed files
with
198 additions
and
18 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
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,12 @@ | ||
export function Loading() { | ||
return ( | ||
<div style={{ textAlign: 'center', padding: '20px' }}> | ||
<img | ||
src={`${import.meta.env.BASE_URL}logo.png`} | ||
alt="Loading..." | ||
style={{ width: '150px' }} | ||
/> | ||
<h2>Please hold on while we prepare your experience.</h2> | ||
</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
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,149 @@ | ||
import { FaGithub, FaLinkedin, FaGlobe } from 'react-icons/fa'; | ||
import doribelAvatar from '../assets/avatars/doribelAvatar.jpg'; | ||
import nicholasAvatar from '../assets/avatars/nicholasAvatar.png'; | ||
import shuvekshaAvatar from '../assets/avatars/shuvekshaAvatar.jpg'; | ||
import stacyAvatar from '../assets/avatars/stacyAvatar.jpg'; | ||
|
||
const developers = [ | ||
{ | ||
name: 'Doribel Tercero-Parker', | ||
photo: doribelAvatar, | ||
github: 'https://github.com/dterceroparker', | ||
linkedin: 'https://www.linkedin.com/in/doribelt-p/', | ||
portfolio: 'http://doribel-portfolio.netlify.app/', | ||
}, | ||
{ | ||
name: 'Nicholas Rocco', | ||
photo: nicholasAvatar, | ||
github: 'https://github.com/NickRoccodev11', | ||
linkedin: 'https://www.linkedin.com/in/nicholasroccodev/', | ||
portfolio: 'https://nicholasroccodev.netlify.app/', | ||
}, | ||
{ | ||
name: 'Shuveksha Tuladhar', | ||
photo: shuvekshaAvatar, | ||
github: 'https://github.com/shuveksha-tuladhar', | ||
linkedin: 'https://www.linkedin.com/in/shuvekshatuladhar/', | ||
portfolio: 'https://shuveksha-tuladhar.github.io/', | ||
}, | ||
{ | ||
name: 'Stacy Daniel', | ||
photo: stacyAvatar, | ||
github: 'https://github.com/stacy-tech', | ||
linkedin: 'https://www.linkedin.com/in/stacy-d/', | ||
}, | ||
]; | ||
|
||
export function Team() { | ||
return ( | ||
<div | ||
style={{ | ||
padding: '20px', | ||
textAlign: 'center', | ||
backgroundColor: '#f9f9f9', | ||
}} | ||
> | ||
<h1 | ||
style={{ | ||
marginBottom: '20px', | ||
color: '#333', | ||
fontSize: '2em', | ||
}} | ||
> | ||
Meet the Tgit eam Behind CollabShop | ||
</h1> | ||
<p | ||
style={{ | ||
marginBottom: '40px', | ||
color: '#555', | ||
fontSize: '1em', | ||
lineHeight: '1.6', | ||
}} | ||
> | ||
We are a passionate group of developers, united by our love for learning | ||
and collaboration. Our goal is to create an experience that feels | ||
friendly, inclusive, and helpful for all users. Let's connect and | ||
grow together! | ||
</p> | ||
<div | ||
className="team-container" | ||
style={{ | ||
display: 'flex', | ||
flexDirection: 'column', | ||
alignItems: 'center', | ||
gap: '20px', | ||
}} | ||
> | ||
{developers.map((dev, index) => ( | ||
<div | ||
className="developer-card" | ||
key={index} | ||
style={{ | ||
backgroundColor: '#fff', | ||
borderRadius: '8px', | ||
padding: '20px', | ||
boxShadow: '0 4px 8px rgba(0, 0, 0, 0.1)', | ||
width: '250px', | ||
transition: 'transform 0.3s, box-shadow 0.3s', | ||
}} | ||
onMouseEnter={(e) => { | ||
e.currentTarget.style.transform = 'translateY(-5px)'; | ||
e.currentTarget.style.boxShadow = '0 8px 16px rgba(0, 0, 0, 0.2)'; | ||
}} | ||
onMouseLeave={(e) => { | ||
e.currentTarget.style.transform = 'translateY(0)'; | ||
e.currentTarget.style.boxShadow = '0 4px 8px rgba(0, 0, 0, 0.1)'; | ||
}} | ||
> | ||
<img | ||
src={dev.photo} | ||
alt={dev.name ? `${dev.name}'s photo` : 'Developer photo'} | ||
style={{ | ||
width: '100px', | ||
height: 'auto', | ||
borderRadius: '5%', | ||
boxShadow: '0 2px 4px rgba(0, 0, 0, 0.1)', | ||
marginBottom: '15px', | ||
}} | ||
/> | ||
<h3 style={{ color: '#555', marginBottom: '10px' }}>{dev.name}</h3> | ||
<div | ||
className="developer-links" | ||
style={{ display: 'flex', justifyContent: 'center', gap: '10px' }} | ||
> | ||
<a | ||
href={dev.github} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
aria-label={`${dev.name} GitHub`} | ||
style={{ color: '#333' }} | ||
> | ||
<FaGithub size={24} /> | ||
</a> | ||
<a | ||
href={dev.linkedin} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
aria-label={`${dev.name} LinkedIn`} | ||
style={{ color: '#0077b5' }} | ||
> | ||
<FaLinkedin size={24} /> | ||
</a> | ||
{dev.portfolio && ( | ||
<a | ||
href={dev.portfolio} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
aria-label={`${dev.name} Portfolio`} | ||
style={{ color: '#000' }} | ||
> | ||
<FaGlobe size={24} /> | ||
</a> | ||
)} | ||
</div> | ||
</div> | ||
))} | ||
</div> | ||
</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