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

feat: UI additions and bug fixes #59

Merged
merged 13 commits into from
Jan 16, 2022
Merged

feat: UI additions and bug fixes #59

merged 13 commits into from
Jan 16, 2022

Conversation

nam-t24
Copy link
Member

@nam-t24 nam-t24 commented Jan 14, 2022

-Fix time check for spotlight events
-Fix firebase messaging error on Safari by adding browser support check
-Add notification prompt at home page on load(displays if browser supports push notification and user hasn't enabled notifications)
-Shows ask permission alert from browser depending on same condition as above
-Move Ask a Question to dashboard
-Add Challenge Cards with prize display to hack center
-Removed console.log that are no longer needed
-Add challenge cards to home page

Check if browser supports firebase messaging to fix error for safari
Added challenges cards with info fetched from firebase
Shows notification prompt to ask users to turn on push notifs and disappears
after 3.5s. Pops up every time home page is loaded.
Put tailwind classes that should be changed and customized to fit desired theme
to the end of className
Used active navlinks to allow user to tell which page they are on from the admin
header. Active links are underlined.
Transitioned Ask a Question page out of About and into Dashboard. Cleaned up
dashbaord header code.
@vercel
Copy link

vercel bot commented Jan 14, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/acmutd/hackportal/13LyrUxGTRL1LYpakUSedaD7zHSD
✅ Preview: https://hackportal-git-feat-uiupdate-acmutd.vercel.app

Changed all instances of HackUTD to HackPortal
lib/types.d.ts Show resolved Hide resolved
pages/dashboard/index.tsx Outdated Show resolved Hide resolved
pages/index.tsx Outdated Show resolved Hide resolved
Shows notif prompt only if browswer supports push notif and user has not enabled
it.
Challenge cards display prizes on bottom of card depending on if firebase
challenge info has prizes
abdullah50053
abdullah50053 previously approved these changes Jan 14, 2022
Challenge cards can be viewed in home page and switched to view different org
challenges. Challenge cards also has newline options and supports over 3 prizes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants