Skip to content

Commit 30f8722

Browse files
authored
Merge pull request #17 from WEHack-UTD2-0/kelly
Logo change, minor color changes, hamburger menu changes
2 parents 15e4f5e + 97f3617 commit 30f8722

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

components/AppHeader.tsx

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { useAuthContext } from '../lib/user/AuthContext';
88
import { navItems } from '../lib/data';
99
import firebase from 'firebase/app';
1010
import Image from 'next/image';
11-
import wehacklogo from '../public/logoTransparent.png';
11+
import wehacklogo from '../public/LogoSparkle.png';
1212

1313
/**
1414
* A global site header throughout the entire app.
@@ -78,16 +78,17 @@ export default function AppHeader() {
7878
<div className="flex w-6/12 max-w-[156px] justify-between items-center md:max-w-full md:justify-start md:w-9/12">
7979
<Link href="/">
8080
<a className="flex order-2 relative ml-[-6px] font-display self-center items-center w-[120px] md:order-1 md:ml-0 md:w-[120px]">
81-
<Image src={wehacklogo} alt="Logo" width={500} height={380} objectFit="contain" />
81+
<Image src={wehacklogo} alt="Logo" width={500} height={240} objectFit="contain" />
8282
</a>
8383
</Link>
84+
8485
{/* Smartphone nav */}
8586
<div onClick={toggleMenu} className={'relative md:hidden'}>
8687
{mobileIcon ? <MenuIcon /> : <CloseIcon />}
8788
<ul
8889
className={`${
8990
showMenu ? 'translate-x-0' : '-translate-x-full'
90-
} transform transition-all ease-out duration-300 flex w-6/12 h-screen border-2 border-black flex-col bg-blue-450 fixed top-0 left-0 z-[-1] pt-20`}
91+
} transform transition-all ease-out duration-300 flex w-6/12 h-screen border-2 border-black flex-col bg-green-300 fixed top-0 left-0 z-[-1] pt-20`}
9192
>
9293
{dynamicNavItems.map((item) => (
9394
<Link key={item.text} href={item.path}>

components/faq.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ export default function FaqPage({ fetchedFaqs }: { fetchedFaqs: AnsweredQuestion
5757
expandAll();
5858
}}
5959
className="font-bold"
60+
style={{ color: '#FFE9D7' }}
6061
>
6162
Expand All
6263
</button>
63-
<ChevronUpIcon className="w-5 h-5" />
64+
<ChevronUpIcon className="w-5 h-5" style={{ color: '#FFE9D7' }} />
6465
</div>
6566
</div>
6667
{/* FAQ for lg-md */}

pages/admin/scan/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ export default function Admin() {
345345
{currentScan && (
346346
<div className="my-6">
347347
<div className="flex flex-col gap-y-4">
348-
<div className="text-center text-xl font-black">
348+
<div className="text-center text-xl font-black" style={{ color: '#FFE9D7' }}>
349349
{currentScan ? currentScan.name : ''}
350350
</div>
351351
{startScan ? (

pages/auth/index.tsx

+4-3
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ export default function AuthPage() {
140140
<div style={{ color: '#FFE9D7' }}>
141141
<input
142142
className="mx-1 text-yellow-250"
143-
style={{ color: '#FFE9D7' }}
144143
type="checkbox"
145144
onClick={() => showPassword('passwordInputLg')}
146145
/>
@@ -174,6 +173,7 @@ export default function AuthPage() {
174173
<div>
175174
<div className="w-[24rem] text-left">
176175
<ArrowBackIcon
176+
style={{ color: '#FFE9D7' }}
177177
className="cursor-pointer"
178178
onClick={() => {
179179
setPasswordResetDialog(false);
@@ -194,7 +194,7 @@ export default function AuthPage() {
194194
></input>
195195
<button
196196
style={{ color: '#FFE9D7' }}
197-
className="w-[24rem] px-4 py-2 rounded-md shadow-md bg-green-300 hover:shadow-lg hover:bg-green-100"
197+
className="w-[24rem] px-4 py-2 rounded-md shadow-md bg-green-100 hover:shadow-lg hover:bg-green-200"
198198
onClick={() => {
199199
sendResetEmail();
200200
setErrorMsg('');
@@ -317,6 +317,7 @@ export default function AuthPage() {
317317
<div className="w-full text-left my-4">
318318
<ArrowBackIcon
319319
className="cursor-pointer"
320+
style={{ color: '#FFE9D7' }}
320321
onClick={() => {
321322
setPasswordResetDialog(false);
322323
setErrorMsg('');
@@ -335,7 +336,7 @@ export default function AuthPage() {
335336
placeholder="Email"
336337
></input>
337338
<button
338-
className="px-4 py-2 rounded-md shadow-md bg-orange-550 hover:shadow-lg hover:bg-blue-450"
339+
className="px-4 py-2 rounded-md shadow-md bg-green-100 hover:shadow-lg hover:bg-green-200"
339340
onClick={() => {
340341
sendResetEmail();
341342
setErrorMsg('');

tailwind.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ module.exports = {
8383
green: {
8484
100: '#909634',
8585
200: '#556B2F',
86+
300: '#909634',
8687
},
8788
white: {
8889
100: '#FFE9D7',

0 commit comments

Comments
 (0)