-
Notifications
You must be signed in to change notification settings - Fork 0
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
Schedule Card Component #444
Changes from 24 commits
db793d3
127ed5a
e44312c
8a62b43
7ef4f73
86840c9
83988b0
daf5f9b
0728e9d
61ebf90
f9349a5
7ddae63
b723ae4
48ed664
fb1cae2
ae901b9
9750b7c
4f98a5e
41b548a
3844755
3d4eca0
489361b
b909d2f
4121edf
fcd01af
32bcaf1
93d18db
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
import { Router } from './router/Router'; | ||
|
||
function App() { | ||
return ( | ||
<> | ||
<Router /> | ||
</> | ||
); | ||
return <Router />; | ||
} | ||
|
||
export default App; |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bojim se da ne razumin ili nesto krivo gledas, tockice se nalaze ispod opisa u jednom i u drugom slucaju. kad postoje zahtjevi bit ce tockice i ispod njih. sta se tice dijelova komponente, vjerojatno su malo razbaruseni bas zbog dizajna prema kojem se tocno neki dijelovi moraju prikazivat/sakrit kad je kartica otvorena/zatvorena. sta se tice brzine otvaranja, prema mojoj procjeni (kako nije naglaseno u dizajnu) reka bi da je okej. ako ne valja ostavia bi mihaeli da to prokomentira, lako se namisti kasnije There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ah to je kasnije dodano. sredim (jos san i provjeria s mihaelom rekla je da samo izlistam normalno pa je valjda kasnije popravila da nsian vidia) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,205 @@ | ||
.scheduleCard { | ||
background-color: $black-5; | ||
display: flex; | ||
gap: 14px; | ||
flex-direction: column; | ||
border-radius: 16px; | ||
box-sizing: border-box; | ||
padding: 24px; | ||
|
||
.addedToSchedule { | ||
background-color: $black-10; | ||
box-sizing: border-box; | ||
padding: 8px; | ||
border-radius: 8px; | ||
gap: 10px; | ||
display: flex; | ||
|
||
.ratingStar { | ||
height: 16px; | ||
width: 16px; | ||
} | ||
|
||
.label { | ||
margin: 0; | ||
@include heading-4; | ||
text-transform: uppercase; | ||
} | ||
} | ||
|
||
.timeAndArrow { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
|
||
.time { | ||
@include tag-14; | ||
margin: 0; | ||
} | ||
|
||
.arrowDown { | ||
cursor: pointer; | ||
transform: rotate(180deg); | ||
transition: transform 0.3s ease-in-out; | ||
|
||
&.collapsed { | ||
transform: rotate(0deg); | ||
} | ||
} | ||
} | ||
|
||
.tag { | ||
display: flex; | ||
align-items: center; | ||
gap: 8px; | ||
|
||
.theme { | ||
background-color: $primary-muted-orange; | ||
@include tag-14; | ||
margin: 0; | ||
color: white; | ||
height: 24px; | ||
width: 46px; | ||
border-radius: 100%; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.label { | ||
@include tag-14; | ||
margin: 0; | ||
} | ||
} | ||
|
||
.eventName { | ||
color: $primary-black; | ||
@include paragraph-16; | ||
margin: 0; | ||
} | ||
|
||
.collapsibleContent { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 14px; | ||
transition: | ||
max-height 0.5s ease-in-out, | ||
opacity 0.5s ease-in-out, | ||
margin-top 0.5s ease-in-out; | ||
max-height: 500px; | ||
opacity: 1; | ||
margin-top: 0; | ||
|
||
&.collapsed { | ||
max-height: 0; | ||
overflow: hidden; | ||
opacity: 0; | ||
margin-top: -16px; | ||
} | ||
} | ||
|
||
.eventDescription { | ||
color: $black-70; | ||
@include paragraph-16; | ||
margin: 0; | ||
} | ||
|
||
.divider { | ||
padding-top: 6px; | ||
width: 100%; | ||
@include dottedBreak(rgba(23, 22, 21, 0.5)); | ||
} | ||
|
||
.eventRequirements { | ||
display: flex; | ||
gap: 8px; | ||
flex-direction: column; | ||
|
||
.mainLabel { | ||
@include tag-14; | ||
margin: 0; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.requirement { | ||
display: flex; | ||
gap: 16px; | ||
|
||
.checkContainer { | ||
height: 20px; | ||
width: 20px; | ||
background-color: $primary-muted-orange; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
border-radius: 100%; | ||
|
||
.check { | ||
height: 8px; | ||
width: 8px; | ||
} | ||
} | ||
|
||
.label { | ||
margin: 0; | ||
@include paragraph-16; | ||
} | ||
} | ||
} | ||
|
||
.speakers { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 32px; | ||
} | ||
|
||
.moderatorLabel { | ||
@include tag-14; | ||
margin: 0; | ||
text-transform: uppercase; | ||
} | ||
|
||
.speaker { | ||
display: flex; | ||
gap: 12px; | ||
|
||
.image { | ||
width: 64px; | ||
height: 67px; | ||
} | ||
|
||
.speakerInfoWrapper { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
gap: 6px; | ||
|
||
.fullName { | ||
@include tag-14; | ||
text-transform: uppercase; | ||
margin: 0; | ||
} | ||
|
||
.title { | ||
@include tag-14; | ||
text-transform: uppercase; | ||
color: $black-50; | ||
margin: 0; | ||
} | ||
|
||
.logoContainer { | ||
max-height: 38px; | ||
max-width: 80px; | ||
.logo { | ||
width: 100%; | ||
height: 100%; | ||
object-fit: contain; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.button { | ||
margin-top: 32px; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ne znam koliko je bitno, ali po dizajnu kad je malo duži naziv pozicije osobe, tekst bi se treba prelomit u dva reda, a kod tebe ostane u jednom redu
kod tebe:
![image](https://private-user-images.githubusercontent.com/144346756/404531461-e7f13d93-aa02-474c-98e8-89a283842f5e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MDcwMTUsIm5iZiI6MTczOTYwNjcxNSwicGF0aCI6Ii8xNDQzNDY3NTYvNDA0NTMxNDYxLWU3ZjEzZDkzLWFhMDItNDc0Yy05OGU4LTg5YTI4Mzg0MmY1ZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQwODA1MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hNmQwYzEyYWQ5MWQ5ZmZiNWE0M2E2OWI3OTQzMDVkY2NiZjQyMGI2OTgyMTUyNTM3NTkwNGU1ZTc4MTQ2YmNhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.TRKOFyQdr4qZaHqoEEao7nUY8NMrKIlL-W2VClpeMJ4)
figma:
![image](https://private-user-images.githubusercontent.com/144346756/404531467-461669f5-5670-4fbf-bae2-f7d25c826b28.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MDcwMTUsIm5iZiI6MTczOTYwNjcxNSwicGF0aCI6Ii8xNDQzNDY3NTYvNDA0NTMxNDY3LTQ2MTY2OWY1LTU2NzAtNGZiZi1iYWUyLWY3ZDI1YzgyNmIyOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQwODA1MTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04NzQxMjRjMmVmZjg3NjQ5MjAyNjk4YWIxZWQyMTk5N2EzNTI0Yzg4YTVkMjNhYjVmZWM2OGMxYjYzNTlmMGY5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.kwchw6PQx1uJuvejiPeFIWWbrgPCR0JzgKPj1635E9M)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To je zato sta je u figminoj komponenti sirina kartice tolika da ne moze sire. Evo provjeria san, u figmi je stavljen width na fill sta je ekvivalentno width: 100 % tako da bi sta se tice responzivnosti to i trebalo bit tako