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

50 showroom | top bar #54

Closed
wants to merge 8 commits into from
Closed

50 showroom | top bar #54

wants to merge 8 commits into from

Conversation

florin-baciu
Copy link
Collaborator

@florin-baciu florin-baciu commented Sep 13, 2022

  • added the topbar and some basic functionalities
    Figma:
    image

APP:
image

@florin-baciu florin-baciu linked an issue Sep 13, 2022 that may be closed by this pull request
@victorjeman
Copy link
Collaborator

@florin-baciu, lasa te rog o imagine din figma si cu rezultatul la ce ai facut tu ca sa imi dau seama mai usor despre ce e vorba.
Mersi

@florin-baciu
Copy link
Collaborator Author

@victorjeman Updated the description of the PR


const categories = [{ name: 'Category 1' }, { name: 'Category 2' }, { name: 'Category 3' }]

const onCityChange = (e: any) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Un type pentru event, te rog

value={selectCategory}
options={categories}
onChange={onCityChange}
optionLabel='name'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pune constante, te rog

import { useStore } from 'store/store'

import { ReactComponent as AssistLogo } from 'common/assets/logo-assist.svg'
import { ReactComponent as UserIcon } from './../../assets/user-icon.svg'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sa folosim mereu absolute paths.

import { useState } from 'react'

import { AUTH_PAGES, PAGES_PATHS } from 'common/constants/constants'
import { InputText } from 'primereact/inputtext'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sa grupam importurile din node_modules si custom imports si sa lasam un spatiu intre ele.

@victorjeman
Copy link
Collaborator

Un comentariu mai general.

O buna parte din functionalitatile din top bar eu le vad ca parte din alte features.
Spre exemplu.

Search
In acel search noi o sa cautam casele. O sa facem search-ul dupa nume, locatie si descriere.
Dar indiferent cum o sa implementam search-ul, el o sa afecteze feature-ul showroom, unde afisam casele.

My account dropdown
Ar putea sa faca parte din feature-ul "auth"

Favourites + ASSIST logo pot sa faca parte din componenta generica "top-bar" care o putem pune in common/components

cc: @florin-baciu

@victorjeman victorjeman deleted the 50-showroom-|-top-bar branch November 11, 2022 14:33
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.

SHOWROOM | Top bar
3 participants