generated from UoaWDCC/react-template
-
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.
Merge pull request #85 from UoaWDCC/yoyo-HomePage-Socials
Yoyo home page socials
- Loading branch information
Showing
121 changed files
with
249 additions
and
5 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
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
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
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
Empty file.
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.
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.
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.
Empty file.
Empty file.
Empty file.
Empty file modified
0
frontend/src/app/events/event-info/event-registration/page.tsx
100755 → 100644
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
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
Empty file.
Empty file.
Empty file.
Empty file.
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,48 @@ | ||
.socials{ | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
align-items: center; | ||
margin-top: 50px; | ||
margin-bottom: 50px; | ||
} | ||
|
||
.socialsBorders1{ | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
border-radius: 45px; | ||
background-color: #87562A; | ||
margin: 7px; | ||
width: 394px; | ||
height: 473px; | ||
} | ||
|
||
.socialsBorders2{ | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
border-radius: 45px; | ||
background-color: #DD995B; | ||
margin: 7px; | ||
width: 394px; | ||
height: 473px; | ||
} | ||
|
||
.socialsBorders3{ | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
border-radius: 45px; | ||
background-color: #AA6F29; | ||
margin: 7px; | ||
width: 394px; | ||
height: 473px; | ||
} | ||
|
||
.previews{ | ||
justify-content: center; | ||
align-items: center; | ||
width: 350px; | ||
height: 422px; | ||
} |
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,24 @@ | ||
'use client'; | ||
import React from 'react'; | ||
import styles from './socials.module.css'; | ||
import { InstagramEmbed } from 'react-social-media-embed/dist/components/embeds/InstagramEmbed'; | ||
import { LinkedInEmbed } from 'react-social-media-embed/dist/components/embeds/LinkedInEmbed'; | ||
import { FacebookEmbed } from 'react-social-media-embed/dist/components/embeds/FacebookEmbed'; | ||
|
||
function Socials() { | ||
return ( | ||
<div className={styles.socials}> | ||
<div className={styles.socialsBorders1}> | ||
<InstagramEmbed className={styles.previews} url="https://www.instagram.com/aspa.uoa/?hl=en"/> | ||
</div> | ||
<div className={styles.socialsBorders2}> | ||
<LinkedInEmbed className={styles.previews} url="https://www.linkedin.com/company/aspa-auckland-student-pool-association"/> | ||
</div> | ||
<div className={styles.socialsBorders3}> | ||
<FacebookEmbed className={styles.previews} url="https://www.facebook.com/login/?next=https%3A%2F%2Fwww.facebook.com%2Faspa.uoa%2F"/> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default Socials; |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
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
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
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,60 @@ | ||
.container { | ||
padding: 0px 10px 20px 10px; | ||
margin: 20px 0px; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
.content { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
max-width: 90%; | ||
margin-bottom: 10px; | ||
gap: 2rem; | ||
} | ||
|
||
.title { | ||
font-weight: bold; | ||
text-decoration: underline 5px; | ||
font-size: 6em; | ||
color: #F4E5D7; | ||
text-shadow: 8px 8px #5E4127; | ||
text-underline-offset: 9px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.button { | ||
display: block; | ||
margin: auto; | ||
font-weight: bold; | ||
font-size: 30px; | ||
text-align: center; | ||
color: #FBF5F0; | ||
background-color: #DD995B; | ||
border-radius: 45px; | ||
padding: 0px 20px 0px 20px; | ||
margin-top: 15px; | ||
} | ||
|
||
.button:hover { | ||
background-color: #87562A; | ||
color: #B7B2B8; | ||
} | ||
/* Media queries for responsiveness */ | ||
@media screen and (max-width: 1200px) { | ||
|
||
.title { | ||
font-size: 4em; | ||
text-align: center; | ||
} | ||
|
||
.content{ | ||
flex-direction: column; | ||
align-items: center; | ||
box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
} | ||
|
||
} |
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,23 @@ | ||
import styles from "./Socials.module.css"; | ||
import SocialsCard from "./SocialsCard" | ||
|
||
export default function Socials() { | ||
const socials = [ | ||
{exec: "Name Surname", execTestimonial: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eia pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", execTitle: "Title"}, | ||
{exec: "Name Surname", execTestimonial: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eia pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", execTitle: "Title"}, | ||
{exec: "Name Surname", execTestimonial: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eia pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", execTitle: "Title"} | ||
] | ||
return ( | ||
<div className={styles.container}> | ||
<h1 className={styles.title}> | ||
Check Out Our Socials! | ||
</h1> | ||
<div className={styles.content}> | ||
{socials.map((social) => ( | ||
<SocialsCard key={social.exec} social={social} /> | ||
))} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
.cardbg { | ||
display: flex; | ||
text-align: left; | ||
flex-direction: column; | ||
justify-content: center; | ||
width: 100%; | ||
max-width: 24.75rem; | ||
min-height: 29.5rem; | ||
margin: 0px 15px; | ||
transition: transform 0.3s ease; | ||
background-color: #87562A; | ||
border-radius: 3rem; | ||
align-items: center; | ||
} | ||
.card:hover { | ||
transform: scale(0.95); | ||
} | ||
|
||
.description h1 { | ||
font-weight: medium; | ||
font-size:1em; | ||
color: #222629; | ||
margin-top: 5px; | ||
margin-bottom: 5px; | ||
} | ||
|
||
.description h2 { | ||
font-weight: medium; | ||
font-size:1em; | ||
color: #222629; | ||
margin-top: 5px; | ||
margin-bottom: 5px; | ||
} | ||
|
||
.card p { | ||
font-weight: 400px; | ||
font-size: 2rem; | ||
color: #222629; | ||
line-height: 1.1; | ||
overflow: hidden; | ||
} | ||
|
||
.cardbg .description { | ||
display: flex; | ||
text-align: left; | ||
flex-direction: column; | ||
justify-content: center; | ||
width: 90%; | ||
min-height: 26.25rem; | ||
padding: 0px 20px; | ||
background-color: #FBF5F0; | ||
border-radius: 3rem; | ||
justify-content: space-between; | ||
padding: 2rem; | ||
} |
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,23 @@ | ||
import styles from "./SocialsCard.module.css"; | ||
|
||
interface Social { | ||
exec: string; | ||
execTestimonial: string; | ||
execTitle: string; | ||
} | ||
|
||
export default function SocialsCard({ social }: { social: Social }) { | ||
return ( | ||
<div className={styles.cardbg}> | ||
<div className={styles.description}> | ||
<div> | ||
<p>{social.execTestimonial}</p> | ||
</div> | ||
<div> | ||
<h1>{social.exec}</h1> | ||
<h2>{social.execTitle}</h2> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.