File tree Expand file tree Collapse file tree 5 files changed +271
-111
lines changed
Expand file tree Collapse file tree 5 files changed +271
-111
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import { CompanyCategory } from '@ddays-app/types';
22
33import { Accreditation } from '../formSteps/Accreditation' ;
44import { Description } from '../formSteps/Description' ;
5- import { FlyTalks } from '../formSteps/Flytalks' ;
65import { InterestPicker } from '../formSteps/InterestPicker' ;
76import { Job } from '../formSteps/Job/Job' ;
87import { LogoUpload } from '../formSteps/LogoUpload' ;
@@ -67,12 +66,12 @@ export const sponsorForm: SponsorForm = {
6766 [ FormSteps . Flytalk ] : {
6867 title : 'Fly Talks' ,
6968 description : 'Predaja do 1. travnja 2025.' ,
70- component : FlyTalks ,
69+ component : ( ) => null ,
70+ tier : [ ] ,
7171 } ,
72- } ;
73-
74- /*[FormSteps.SwagBag]: {
72+ /*[FormSteps.SwagBag]: {
7573 title: 'Swag Bag',
7674 description: 'Predaja do 15. travnja 2025.',
7775 component: InterestPicker,
7876},*/
77+ } ;
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export const FlyTalks: FormComponent = ({ close }) => {
4444 const trimmedName = fullName . trim ( ) ;
4545 const trimmedEmail = email . trim ( ) ;
4646
47- if ( trimmedName . length < 2 ) {
47+ if ( trimmedName . length < 2 || trimmedName . match ( / \d / ) ) {
4848 toast . error ( 'Unesite valjano ime i prezime' ) ;
4949 return ;
5050 }
Original file line number Diff line number Diff line change 1212 }
1313}
1414
15+ .page .itemsWrapper {
16+ display : flex ;
17+ flex-direction : column ;
18+ gap : 16px ;
19+ }
20+
21+ .item {
22+ margin-top :20px ;
23+ padding : 16px ;
24+ display : flex ;
25+ justify-content : space-between ;
26+
27+ border-radius : 8px ;
28+ border : 1px solid rgba (255 , 255 , 255 , 0.2 );
29+ cursor : pointer ;
30+ }
31+
32+ .item :hover {
33+ background : rgba (255 , 255 , 255 , 0.05 );
34+ border-color : rgba (255 , 255 , 255 , 0.05 );
35+ }
36+
37+ .itemInfo {
38+ display : flex ;
39+ align-items : center ;
40+ gap : 12px ;
41+
42+ color : #fff ;
43+ font-size : 14px ;
44+ font-weight : 400 ;
45+
46+ .itemIndex {
47+ margin : 0 ;
48+ display : flex ;
49+ align-items : center ;
50+ justify-content : center ;
51+ width : 32px ;
52+ height : 32px ;
53+ border-radius : 100% ;
54+ border : 1px solid rgba (255 , 255 , 255 , 0.2 );
55+ }
56+
57+ .itemDescription {
58+ color : #ffffffcc ;
59+ }
60+
61+ div {
62+ h4 {
63+ font-weight : 700 ;
64+ margin : 0 ;
65+ }
66+
67+ p {
68+ opacity : 0.5 ;
69+ margin : 0 ;
70+ }
71+ }
72+ }
73+
74+ .itemAction {
75+ display : flex ;
76+ align-items : center ;
77+ gap : 16px ;
78+ position : relative ;
79+ }
80+
81+ .jobsCount {
82+ position : absolute ;
83+ left : -30px ;
84+ color : #ffffff80 ;
85+ font-size : 14px ;
86+ }
87+
88+ .statusChip {
89+ display : flex ;
90+ align-items : center ;
91+ gap : 16px ;
92+
93+ img {
94+ height : 20px ;
95+ width : 20px ;
96+ }
97+
98+ p {
99+ color : #fff ;
100+ font-size : 14px ;
101+ font-weight : 400 ;
102+ margin : 0 ;
103+ }
104+ }
105+
15106.titleSection {
16107 width : 100% ;
17108 border-radius : 8px ;
51142 width : 100% ;
52143 text-align : left ;
53144 border-spacing : 12px ;
54- margin-top : 24px ;
55-
56- th {
57- color : rgba (255 , 255 , 255 , 0.5 );
58- font-size : 14px ;
59- font-weight : 400 ;
60- line-height : 20px ;
61- & :last-of-type {
62- text-align : right ;
63- }
64- }
145+ table-layout : fixed ;
65146
147+ th ,
66148 td {
67- & :nth-of-type (1 ) {
68- // status
69- width : 75px ;
149+ overflow : hidden ;
150+ text-overflow : ellipsis ;
151+ white-space : nowrap ;
152+
153+ & :nth-child (1 ) {
154+ width : 75px ;
70155 }
71- & :nth-of-type (2 ) {
72- // ime i prezime
73- width : 200px ;
156+ & :nth-child (2 ) {
157+ width : 200px ;
74158 }
75- & :nth-of-type (3 ) {
76- // e-adresa
77- width : 200px ;
159+ & :nth-child (3 ) {
160+ width : 200px ;
78161 }
79- & :nth-of-type (4 ) {
80- // opis
81- width : 162px ;
162+ & :nth-child (4 ) {
163+ width : 162px ;
82164 }
83- & :nth-of-type (5 ) {
84- // CV
85- width : 140px ;
165+ & :nth-child (5 ) {
166+ width : 140px ;
86167 }
87- & :last-of-type {
88- // odabir
89- width : auto ;
168+ & :last-child {
169+ width : auto ;
90170 text-align : right ;
91171 }
92172 }
173+
174+ th {
175+ color : rgba (255 , 255 , 255 , 0.5 );
176+ font-size : 14px ;
177+ font-weight : 400 ;
178+ line-height : 20px ;
179+ }
93180}
94181
95182.break {
You can’t perform that action at this time.
0 commit comments