generated from melaasar/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add initial navbar and preliminary profile page (#38)
* feat: add skeleton navbar and routing capability * style: add missing semicolon in index.tsx * style: add missing semicolon in LandingPage.tsx * feat: add styling for initial navbar * feat: finalize preliminary profile page
- Loading branch information
Showing
4 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
nav { | ||
width: 100%; | ||
display: flex; | ||
justify-content: flex-end; | ||
padding: 0 2%; | ||
box-sizing: border-box; | ||
gap: 1.5rem; | ||
margin-bottom: 15px; | ||
box-shadow: 0 2px 5px 0 rgba(0,0,0,.3); | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
} | ||
|
||
a:visited { | ||
color: inherit; | ||
} | ||
|
||
/* | ||
* TODO: Update styling for hover and active links. | ||
* Just placeholders for now for differentiation. | ||
*/ | ||
a:hover, a.active { | ||
text-decoration: underline; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
.info-container { | ||
margin: auto; | ||
width: 50%; | ||
/* Border is just for visualization of the div dimensions */ | ||
padding: 2rem; | ||
border-style: solid; | ||
border-color: black; | ||
border-color: rgba(0,0,0,.4); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import React from 'react'; | ||
|
||
import './ProfilePage.css'; | ||
|
||
const ProfilePage: React.FC = () => { | ||
return ( | ||
<div className="info-container"> | ||
<b>User Information</b> | ||
<p>Name: Mickey Mouse</p> | ||
<p>Email: [email protected]</p> | ||
</div> | ||
|