Skip to content

Commit

Permalink
Merge branch 'dev' into williamLanding
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleyleal authored Jun 13, 2024
2 parents ff00bbd + 61cbb69 commit 18850ef
Show file tree
Hide file tree
Showing 17 changed files with 633 additions and 113 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ This repository holds the source code for UofT Engineering's Orientation Website
split into two "packages". First, there is the frontend package, `client`, and second there is the backend
package `server`.

## The Frosh 2T4 Web Team
### Team Leads
* [Gaurika Mahajan](https://github.com/gaurikam2003), [Ashley Leal](https://github.com/ashleyleal)
### Team members
* [Asmita](https://github.com/asmita-chandra), [Alissa](https://github.com/kexinxiang), [William](https://github.com/WilliamJWen), [George](https://github.com/Wozunubi)

## The Frosh 2T3 Web Team
### Team Leads
* [Farbod M](https://github.com/Freeassassin), [Natalie Chan](https://github.com/natapokie)
Expand Down
1 change: 1 addition & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ dist-ssr
*.njsproj
*.sln
*.sw?
.env
Binary file added client/src/assets/about/execs/co-oc1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/src/assets/about/execs/co-oc2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/src/assets/about/execs/vcevents1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/src/assets/about/execs/vcevents2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/src/assets/about/execs/vcfinance.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/src/assets/about/execs/vcleadership.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/src/assets/about/execs/vcmarketing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions client/src/pages/Initial/AlissaLanding/AlissaLanding.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import React from 'react';
import PropTypes from 'prop-types';
import './AlissaLanding.scss';

import InstagramIcon from '../../../assets/social/instagram_icon.png';

const InstagramButton = ({ link, text }) => {
return (
<a href={link} target="_blank" rel="noreferrer" className="no-link-style">
<div className="button">
<img src={InstagramIcon} alt="Instagram Icon" className="button-icon" />
<span className="button-text">{text}</span>
</div>
</a>
);
};

InstagramButton.propTypes = {
link: PropTypes.string.isRequired,
text: PropTypes.string.isRequired,
};

const AlissaLanding = () => {
return (
<div className="coming-soon-page">
<div className="ax-container">
<div className="ax-title">
<h1 className="title-text">COMING SOON!</h1>
<p className="subtitle">
Hey F!rosh! Our website is currently under construction. <br></br>Check back soon!
</p>
</div>
<div className="ax-instagram">
<br></br>
<div className="button-container">
<InstagramButton
link="https://www.instagram.com/froshweek/"
text="Follow @froshweek for updates"
/>
<InstagramButton
link="https://www.instagram.com/froshnomore/"
text="Follow @froshnomore to get involved"
/>
</div>
</div>
</div>
<div className="ax-footer">
<h1 className="footer-text">Made with 💜 by the F!rosh Week 2T4 Tech Team</h1>
</div>
</div>
);
};

export { AlissaLanding };
146 changes: 146 additions & 0 deletions client/src/pages/Initial/AlissaLanding/AlissaLanding.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
// Define color variables for the theme
$primary-color: #7b1fa2; // Deep purple
$secondary-color: #ffd700; // Gold yellow
$background-color: #f3e5f5; // Light lavender
$text-color: #ffffff; // White
$subtitle-color: #ffeb3b; // Bright yellow
$footer-background: #4a148c; // Darker purple
$button-color: #ffffff; // White
$button-text-color: #7b1fa2; // Deep purple

// Mixin for box shadow
@mixin enchanted-shadow {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

// Animation for falling stars
@keyframes falling-stars {
0% {
transform: translateY(0) translateX(0);
opacity: 1;
}
100% {
transform: translateY(100vh) translateX(50px);
opacity: 0;
}
}

// General styles
.coming-soon-page {
background-color: $background-color;
min-height: 100vh;
display: flex;
flex-direction: column; // Added to align footer at the bottom
justify-content: center;
align-items: center;
text-align: center;
color: $text-color;
font-family: 'Arial', sans-serif;
overflow: hidden;
position: relative;

// Falling stars effect
&:before,
&:after {
content: '';
position: absolute;
top: -10px;
width: 2px;
height: 10px;
background: $secondary-color;
box-shadow: 50px 100px $secondary-color, 100px 200px $secondary-color,
150px 300px $secondary-color, 200px 400px $secondary-color, 250px 500px $secondary-color,
300px 600px $secondary-color, 350px 700px $secondary-color, 400px 800px $secondary-color,
450px 900px $secondary-color, 500px 1000px $secondary-color;
animation: falling-stars 5s linear infinite;
}
&:after {
left: 50%;
top: -10px;
width: 1px;
height: 5px;
animation-duration: 7s;
box-shadow: -50px 150px $secondary-color, -100px 250px $secondary-color,
-150px 350px $secondary-color, -200px 450px $secondary-color, -250px 550px $secondary-color,
-300px 650px $secondary-color, -350px 750px $secondary-color, -400px 850px $secondary-color,
-450px 950px $secondary-color, -500px 1050px $secondary-color;
}
}

.ax-container {
background: linear-gradient(
180deg,
var(--purple) 0%,
var(--light-purple) 50%,
var(--purple) 100%
); // Gradient background
border-radius: 15px;
padding: 120px;
width: 90%; // Increased width
max-width: 900px; // Increased max width
@include enchanted-shadow; // Shadow effect
}

.ax-title {
.title-text {
font-size: 4.5rem;
margin-bottom: 20px;
}

.subtitle {
font-size: 1.2rem;
color: $subtitle-color;
margin-bottom: 30px;
}
}

.ax-instagram {
.button-container {
display: flex;
justify-content: center;
gap: 20px;

.button {
background-color: $button-color;
color: $button-text-color;
padding: 10px 20px;
border-radius: 10px;
display: flex;
align-items: center;
@include enchanted-shadow;
text-decoration: none;

.button-icon {
margin-right: 10px;
width: 24px;
height: 24px;
}

.button-text {
font-size: 1rem;
}

&:hover {
background-color: darken($button-color, 10%);
}
}
}
}

.ax-footer {
position: absolute; // Positioned absolutely
bottom: 0; // At the bottom
left: 50%; // Center horizontally
transform: translateX(-50%); // Adjust to be perfectly centered
background-color: $footer-background;
padding: 30px;
border-radius: 10px;
font-size: 1rem;
color: $text-color;
width: 100%;
text-align: center;

.footer-text {
margin: 0;
}
}
26 changes: 13 additions & 13 deletions client/src/pages/Initial/AshLanding/AshLanding.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import InstagramIcon from '../../../assets/social/instagram-brands-dark-purple.s
const InstagramButton = ({ link, text }) => {
return (
<a href={link} target="_blank" rel="noreferrer" className="no-link-style">
<div className="button">
<img src={InstagramIcon} alt="Instagram Icon" className="button-icon" />
<span className="button-text">{text}</span>
<div className="ash-button">
<img src={InstagramIcon} alt="Instagram Icon" className="ash-button-icon" />
<span className="ash-button-text">{text}</span>
</div>
</a>
);
Expand All @@ -22,18 +22,18 @@ InstagramButton.propTypes = {
const AshLanding = () => {
return (
<>
<div className="initial-page">
<div className="container">
<div className="title">
<h1 className="title-text">COMING SOON!</h1>
<hr className="line"></hr>
<p className="subtitle">
<div className="ash-initial-page">
<div className="ash-container">
<div className="ash-title">
<h1 className="ash-title-text">COMING SOON!</h1>
<hr className="ash-line"></hr>
<p className="ash-subtitle">
Hey F!rosh! Our website is currently under construction. Check back soon!
</p>
</div>

<div className="info">
<div className="button-container">
<div className="ash-info">
<div className="ash-button-container">
<InstagramButton
link="https://www.instagram.com/froshweek/"
text="Follow @froshweek for updates"
Expand All @@ -45,8 +45,8 @@ const AshLanding = () => {
</div>
</div>

<div className="footer">
<h2 className="footer-text">Made with 💜 by the F!rosh Week 2T4 Tech Team</h2>
<div className="ash-footer">
<h2 className="ash-footer-text">Made with 💜 by the F!rosh Week 2T4 Tech Team</h2>
</div>
</div>
</div>
Expand Down
Loading

0 comments on commit 18850ef

Please sign in to comment.