Changeset e958037 for reactapp/src/Pages
- Timestamp:
- 07/30/22 20:37:52 (2 years ago)
- Branches:
- main
- Children:
- 5347491
- Parents:
- 2998dc4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
reactapp/src/Pages/Professor.js
r2998dc4 re958037 3 3 import JSOG from "jsog"; 4 4 import OpinionTree from "../Components/OpinionTree"; 5 import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; 6 import { 7 solid, 8 regular, 9 brands, 10 } from "@fortawesome/fontawesome-svg-core/import.macro"; 11 12 import { 13 ProfessorCard, 14 ProfessorCardDetails, 15 ProfessorCardName, 16 ProfessorCardSeparator, 17 } from "../Components/ProfessorCard.style"; 5 18 6 19 function Professor(props) { … … 32 45 return ( 33 46 <div> 34 <h2>{professor.professorName}</h2> 35 <h3>{professor.faculty.facultyName}</h3> 36 <h3>Мислења</h3> 47 <ProfessorCard> 48 <ProfessorCardName>{professor.professorName}</ProfessorCardName> 49 <ProfessorCardSeparator /> 50 <div style={{ marginTop: "20px" }}> 51 <ProfessorCardDetails fontSize="20px"> 52 {professor.faculty.facultyName} 53 </ProfessorCardDetails> 54 <ProfessorCardDetails fontSize="15px"> 55 {professor.faculty.university.universityName} 56 </ProfessorCardDetails> 57 </div> 58 </ProfessorCard> 59 <h3>{professor.relatedOpinions.length} мислења</h3> 37 60 <div className="opinionTree"> 38 61 <OpinionTree professor={professor} />
Note:
See TracChangeset
for help on using the changeset viewer.