Changeset 436e0da for phonelux-frontend/src
- Timestamp:
- 09/22/22 03:14:53 (2 years ago)
- Branches:
- master
- Children:
- 48f3030
- Parents:
- 34950c6
- Location:
- phonelux-frontend/src/components
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
phonelux-frontend/src/components/CheaperOffersComponent/CheaperOffersComponent.css
r34950c6 r436e0da 41 41 42 42 43 .no-cheaper-offers-message{ 44 width: fit-content; 45 padding: 25px; 46 border-radius: 20px; 47 background-color: #a6c9ab; 48 margin: 0 auto; 49 margin-top: 300px; 50 border: 2px solid black; 51 } 43 52 53 54 -
phonelux-frontend/src/components/CheaperOffersComponent/CheaperOffersComponent.js
r34950c6 r436e0da 26 26 aria-describedby="cheaperoffers-modal-description" 27 27 > 28 { 29 this.props.cheaperOffers.length > 0 ? 28 30 <Box className='cheaperoffers-modal-box'> 29 31 <table cellPadding={20} className='cheaperoffers-table'> … … 55 57 </tbody> 56 58 </table> 57 </Box> 59 </Box> : <h1 className='no-cheaper-offers-message'>Нема поевтини понуди</h1> 60 } 58 61 </Modal> 59 62 </div> -
phonelux-frontend/src/components/HomepageComponent.js
r34950c6 r436e0da 215 215 }) 216 216 } 217 console.log(this.state)218 217 } 219 218 … … 222 221 // console.log(this.context) 223 222 // console.log(localStorage.getItem('token')) 224 console.log(this.state)223 // console.log(this.state) 225 224 return ( 226 225 <> -
phonelux-frontend/src/components/PhoneCardGridComponent/PhoneCardGridComponent.js
r34950c6 r436e0da 75 75 } 76 76 77 // dodaj gi i filtrite za specifikacija 77 if(this.props.ram) 78 { 79 filters += 'ram='+this.props.ram+'&' 80 } 78 81 79 // izdvoj metod da ti pravi querystring 82 if(this.props.rom) 83 { 84 filters += 'rom='+this.props.rom+'&' 85 } 86 87 if(this.props.frontcamera) 88 { 89 filters += 'frontcamera='+this.props.frontcamera+'&' 90 } 91 92 if(this.props.backcamera) 93 { 94 filters += 'backcamera='+this.props.backcamera+'&' 95 } 96 97 if(this.props.chipset) 98 { 99 filters += 'chipset='+this.props.chipset+'&' 100 } 101 102 if(this.props.cpu) 103 { 104 filters += 'cpu='+this.props.cpu+'&' 105 } 106 107 if(this.props.operatingsystem) 108 { 109 filters += 'operatingsystem='+this.props.operatingsystem+'&' 110 } 111 112 if(this.props.color) 113 { 114 filters += 'color='+this.props.color+'&' 115 } 116 117 if(this.props.battery) 118 { 119 filters += 'battery='+this.props.battery+'&' 120 } 80 121 81 122 axios.get('/phones'+filters)
Note:
See TracChangeset
for help on using the changeset viewer.