Skip to content

Commit

Permalink
Feature/cit 31 contact developers (#47)
Browse files Browse the repository at this point in the history
* added contact page

* completed contact page

* [CIT-31] Fix unescaped chars

---------

Co-authored-by: Ishaan <[email protected]>
  • Loading branch information
aajaleel and ishaan-upadhyay authored Aug 4, 2023
1 parent 867bca2 commit 9b15bb0
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 6 deletions.
33 changes: 33 additions & 0 deletions citrus/app/(users)/contact/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import React from 'react';
import styles from './styles.module.css';

const AboutUsPage: React.FC = () => {
return (
<div className={styles.container}>
<div className={styles.logoAndContentContainer}>
<div className={styles.center}>
<h1 className={styles.heading}>- ABOUT US -</h1>
<p className={styles.description}>
Welcome to Eventual - your gateway to meaningful connections and exciting events!
</p>
<p className={styles.description}>
Our platform allows you to connect with like-minded individuals, attend events, and share your own gatherings with the community. Whether it&apos;s discovering new hobbies, exploring your city&apos;s hidden gems, or simply making new friends, Eventual is here to make it happen.
</p>
<p className={styles.description}>
We take pride in providing exceptional tech support, available 24/7, to ensure your experience with us is seamless and enjoyable. Our team is always ready to assist, so you can focus on what matters most - connecting, engaging, and having a great time!
</p>
<p className={styles.phoneNumber}>Join us today and become a part of our thriving community. Let&apos;s create lasting memories and build meaningful connections together!</p>
<p className={styles.phoneNumber}>-</p>

<p className={styles.phoneNumber}>Phone: 647-324-8322</p>
<p className={styles.phoneNumber}>Email: [email protected]</p>
</div>
<div className={styles.logoContainer}>
<img src="/eventual_logo.svg" alt="Logo" width={150} height={150} />
</div>
</div>
</div>
);
};

export default AboutUsPage;
113 changes: 113 additions & 0 deletions citrus/app/(users)/contact/styles.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
.container {
display: flex;
justify-content: center;
height: 100vh;
background-color: rgb(1, 1, 32);

}
.center {
text-align: center;
}

.heading {
font-size: 50px;
font-weight: bold;
color: white;
margin-bottom: 20px;
}

.description {
font-size: 20px;
color: white;
margin-bottom: 20px;
margin-left: 100px;
margin-right: 100px;

}

.phoneNumber {
font-size: 24px;
color: white;
}

.custom-heading {
font-size: 50px;
}

.custom-background {
background-color: rgb(1, 1, 32);
}

.custom-input {
border: 1px solid #ccc;
padding: 0.5rem;
border-radius: 4px;
margin-bottom: 1rem;
color: black;
}
.custom-box {
border: 1px solid #ccc;
padding: 1rem;
border-radius: 4px;
margin-bottom: 1rem;

/* height: 100%; */
}
.custom-acc-button {
border: 1px solid #ccc;
padding: 0.5rem;
border-radius: 4px;
}

.container2 {
margin: 3in;
}

.center8 {
text-align: center;
margin: 3in;

}

.heading2 {
font-size: 2em;
margin-bottom: 1em;
}

.description2 {
font-size: 1.2em;
line-height: 1.6;
margin-bottom: 1.5em;
}

.phoneNumber {
font-size: 1.1em;
}

.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: rgb(1, 1, 32);
}

.logoAndContentContainer {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 1rem; /* Adjust the margin-top value to move everything higher */
}

.logoContainer {
/* Add styles for the logo container */
text-align: center;
}

.logoContainer img {
width: 150px; /* Adjust the width to your desired size */
height: 150px; /* Adjust the height to your desired size */
margin: 50px; /* Add margin around the logo */
}

/* Add other styles as you have in your existing CSS */
12 changes: 6 additions & 6 deletions citrus/app/(users)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { authOptions } from '@/app/api/auth/[...nextauth]/route'
import { getServerSession } from 'next-auth/next';
import NavBarLogin from '@/components/NavBarLogin'
import SessionProviderWrapper from '@/components/SessionProvider'
import Link from 'next/link'; // Import the Link component

const inter = Inter({ subsets: ['latin'] })

Expand Down Expand Up @@ -39,9 +40,6 @@ export default async function RootLayout({
<li className='flex-1'>
<a href="/">Home</a>
</li>
<li>
<a href="/create">Create</a>
</li>
<li className='flex-1'>
<a href="/experiences">Experiences</a>
</li>
Expand All @@ -55,12 +53,14 @@ export default async function RootLayout({
</ul>
</nav>
</header>
<div className='flex-1'>
<div className="flex-1" style={{ flex: '1 0 auto' }}>
{correctUserType ? children : <h1>You are not logged in as the correct type of user.</h1>}
</div>
<footer className='flex justify-center space-x-4 bg-blue-600
<footer className='flex justify-center space-x-4 bg-navy text-xl sticky bottom-0
text-xl'>
<p>Test</p>
<Link href="/contact"> {/* Replace "your-desired-page-url" with the actual URL */}
<button>Contact Us</button> {/* Replace <p> with <button> */}
</Link>
</footer>
</SessionProviderWrapper>
</body>
Expand Down

1 comment on commit 9b15bb0

@vercel
Copy link

@vercel vercel bot commented on 9b15bb0 Aug 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aajaleel is attempting to deploy a commit to a Personal Account on Vercel that is not owned by them.

In order for the commit to be deployed, @aajaleel must be granted access to the connected Vercel project.

If you're the owner of the Personal Account, transfer the project to a Vercel Team and start collaborating, or learn more.

Please sign in to comment.