Landing page - new design implementation #122

Merged
b merged 45 commits from issue-21 into staging 2024-07-31 13:06:58 +00:00
Member

Closes #21

  • Implemented updated design for the homepage
  • Updated main layout
  • Added login/register, login/nostr routes
  • Refactored routes, use generic CustomRoutes and recursiveRouteRenderer for mapping public and private routes
  • Added Footer component
  • Added Container component
  • css/scss refactoring, removed unused

Requested changes:

  • Use FontAwesome package icons
  • Closes #68 - Use set 1 everytime we generate Robo image
  • Add comments to refactored routes
  • Removed and refactored more css/scss
Closes #21 - Implemented updated design for the homepage - Updated main layout - Added `login/register`, `login/nostr` routes - Refactored routes, use generic `CustomRoutes` and `recursiveRouteRenderer` for mapping public and private routes - Added `Footer` component - Added `Container` component - css/scss refactoring, removed unused Requested changes: - Use FontAwesome package icons - Closes #68 - Use set 1 everytime we generate Robo image - Add comments to refactored routes - Removed and refactored more css/scss
enes added 38 commits 2024-07-30 12:45:31 +00:00
enes added 2 commits 2024-07-30 14:25:45 +00:00
enes changed title from WIP: Landing page - new design implementation to Landing page - new design implementation 2024-07-30 14:29:48 +00:00
s requested changes 2024-07-31 07:16:49 +00:00
Dismissed
@ -0,0 +22,4 @@
--review-feedback-correct: #{$review-feedback-correct};
--review-feedback-incorrect: #{$review-feedback-incorrect};
--review-feedback-neutral: #{$review-feedback-neutral};
--review-feedback-selected-color: #{$review-feedback-selected-color};
Owner

These variables related to review feedback can be removed. These are leftovers from another repository.

These variables related to review feedback can be removed. These are leftovers from another repository.
s marked this conversation as resolved
src/App.tsx Outdated
@ -50,1 +52,4 @@
const publicRoutesList = recursiveRouteRenderer({
routes: publicRoutes,
renderConditionCallback: (r) => {
Owner

It'll be good to add a comment about renderConditionCallback to explain what it does.

It'll be good to add a comment about `renderConditionCallback` to explain what it does.
s marked this conversation as resolved
@ -22,2 +18,2 @@
onClick={handleClick}
color="inherit"
<div
style={{
Owner

This and some of other inline styling in this file can be moved to a separate scss file.

This and some of other inline styling in this file can be moved to a separate scss file.
s marked this conversation as resolved
@ -0,0 +20,4 @@
const cards = [
{
icon: (
<svg
Owner

I know that these icons were provided by the designer like this but I suggest we use fontAwesome library and import the icons and use them in form of components.
Have a look at this

I know that these icons were provided by the designer like this but I suggest we use fontAwesome library and import the icons and use them in form of components. Have a look at [this](https://docs.fontawesome.com/web/use-with/react/)
s marked this conversation as resolved
@ -39,0 +55,4 @@
hiddenWhenLoggedIn?: boolean
}>
export function recursiveRouteRenderer<T>({
Owner

Add some comments about the function.

Add some comments about the function.
@ -0,0 +16,4 @@
$review-feedback-correct: #178b13;
$review-feedback-incorrect: #d82222;
$review-feedback-neutral: #f39220;
$review-feedback-selected-color: #fff;
Owner

These variables related to review feedback can be removed. These are leftovers from another repository.

These variables related to review feedback can be removed. These are leftovers from another repository.
enes added 5 commits 2024-07-31 12:37:20 +00:00
enes requested review from s 2024-07-31 12:45:51 +00:00
s approved these changes 2024-07-31 12:54:58 +00:00
b merged commit 5445120511 into staging 2024-07-31 13:06:58 +00:00
b deleted branch issue-21 2024-07-31 13:06:58 +00:00
Sign in to join this conversation.
No reviewers
s
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sigit/sigit.io#122
No description provided.