SE701-T5 / Frontend

This is the frontend repo of Uni-forum, associated with the University of Auckland, SOFTENG701. This repo will be linked to Netlify for ease of deployment and code review
MIT License
1 stars 22 forks source link

Connect header with user authorization context and fix header bug. #45

Closed hpar461 closed 2 years ago

hpar461 commented 2 years ago

Description

This PR connects header profile element so that it correctly displays appropriate labels and links to appropriate websites.

Screenshot 2022-03-18 오후 2 29 46 ^ Logged out or not yet logged in

Screenshot 2022-03-18 오후 2 29 59 ^ Logged in

It also fixes the bug where a logo was missing in nested websites, such as links with address, "/posts/123", or "/hello/hi/wow".

Related Issue

Fixes #37 and #44

Type of change

How Has This Been Tested?

Checklist:

For more information, refer to the Contributing Guidelines and Code of Conduct links at the bottom of this page.

netlify[bot] commented 2 years ago

✔️ Deploy Preview for uniforum ready!

🔨 Explore the source changes: 9744867d0cb57f613f1da16e93481c107e2b4331

🔍 Inspect the deploy log: https://app.netlify.com/sites/uniforum/deploys/6233e6be881ee200082648b1

😎 Browse the preview: https://deploy-preview-45--uniforum.netlify.app/