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

LandingPage #480

Merged
merged 4 commits into from
Apr 7, 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
Binary file added FU.SPA/assets/create-post-view.png
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 FU.SPA/assets/discover-posts-view.png
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 FU.SPA/assets/friends-view.png
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 FU.SPA/assets/post-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
100 changes: 97 additions & 3 deletions FU.SPA/src/components/pages/Home.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,97 @@
export default function Home() {
return <h1>Home</h1>;
}
import Typography from '@mui/material/Typography';
import Box from '@mui/material/Box';
import Stack from '@mui/material/Stack';
import Link from '@mui/material/Link';
import Theme from '../../Theme';

const Home = () => {
return (
<Box sx={{ maxWidth: 800, p: 2, mx: 'auto', textAlign: 'left' }}>
<Stack spacing={1} alignItems="center">
<Box sx={{ py: 8, width: '100%' }}>
<Typography variant="h3">
Connect with others. <br />
Play together.
</Typography>
<Typography variant="h5" sx={{ py: 2, maxWidth: 500 }}>
Forces Unite is the next matchmaking platform to find players and
make friends.
</Typography>
</Box>
<Screenshot src="../../../assets/discover-posts-view.png" />
<Typography variant="h5" sx={{ pt: 2 }}>
Don&apos;t limit yourself to restrictive or random in-game match
making. Find like-minded players and play how who you want when you
want. Whether that be now or next week.
</Typography>
<SectionBig headerText="Lead the Way">
If you can&apos;t find a match, make a new post and invite others to
join!
</SectionBig>
<Screenshot src="../../../assets/create-post-view.png" />
<SectionBig headerText="Link Up">
As a post member, discuss meetup detail, strategize a game plan, or
just chat.
</SectionBig>
<Screenshot src="../../../assets/post-view.png" />
<SectionBig headerText="Stay Connected">
Befriend others to keep in touch and meet up later.
</SectionBig>
<Screenshot src="../../../assets/friends-view.png" />
<SectionBig headerText="Showcase" />
<iframe
style={{ width: '100%', aspectRatio: '16/9' }}
src="https://www.youtube.com/embed/lAGrIrY7h3o?si=P-e0W_LpiEpUJZTa&color=white"
title="YouTube video player"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerPolicy="strict-origin-when-cross-origin"
allowfullscreen
/>
<SectionBig headerText="About" maxBodyWidth="100%">
This website was created by PalmettoProgrammers for a 2023-2024 UofSC
Capstone project. The team consists of{' '}
<Link href="https://github.com/AaronKeys">Aaron Keys</Link>,{' '}
<Link href="https://github.com/epadams">Ethan Adams</Link>,{' '}
<Link href="https://github.com/evan-scales">Evan Scales</Link>,{' '}
<Link href="https://github.com/Jackson-Williams-15">
Jackson Williams
</Link>
, and{' '}
<Link href="https://github.com/jbytes1027">James Pretorius</Link>. The
project is available on{' '}
<Link href="https://github.com/SCCapstone/PalmettoProgrammers">
github
</Link>{' '}
.
</SectionBig>
</Stack>
</Box>
);
};

const SectionBig = ({ headerText, children, maxBodyWidth }) => (
<Box sx={{ pt: 8, width: '100%' }}>
<Typography variant="h3" sx={{ mb: 2 }}>
{headerText}
</Typography>
<Typography variant="h5" sx={{ mb: 2, maxWidth: maxBodyWidth ?? 550 }}>
{children}
</Typography>
</Box>
);

const Screenshot = ({ src }) => (
<Box
component="img"
sx={{
width: '100%',
borderStyle: 'solid',
color: Theme.palette.primary.light,
}}
alt="A screenshot"
src={src}
/>
);

export default Home;
Loading