mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-06 16:20:08 +00:00
fix: correct placeholders for upload cards
This commit is contained in:
parent
ee6d7bff90
commit
1ec14e5f77
4 changed files with 5 additions and 1 deletions
|
|
@ -17,4 +17,5 @@
|
||||||
filetype="PDF"
|
filetype="PDF"
|
||||||
filesize={10}
|
filesize={10}
|
||||||
fileType={1}
|
fileType={1}
|
||||||
|
placeholder="svůj motivanční dopis"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
export let filetype: 'PDF' | 'ZIP';
|
export let filetype: 'PDF' | 'ZIP';
|
||||||
export let filesize: number;
|
export let filesize: number;
|
||||||
export let fileType: number;
|
export let fileType: number;
|
||||||
|
export let placeholder: string = '';
|
||||||
|
|
||||||
let fileDropped: boolean = false;
|
let fileDropped: boolean = false;
|
||||||
let progress: number = 1;
|
let progress: number = 1;
|
||||||
|
|
@ -158,7 +159,7 @@
|
||||||
style={`background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='9' ry='9' stroke-opacity='50%' stroke='%23406280' stroke-width='4' stroke-dasharray='10' stroke-dashoffset='${dashAnimationProgress}' stroke-linecap='square'/%3e%3c/svg%3e");`}
|
style={`background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='9' ry='9' stroke-opacity='50%' stroke='%23406280' stroke-width='4' stroke-dasharray='10' stroke-dashoffset='${dashAnimationProgress}' stroke-linecap='square'/%3e%3c/svg%3e");`}
|
||||||
>
|
>
|
||||||
<span class="text-[#406280]">Sem přetáhněte,</span>
|
<span class="text-[#406280]">Sem přetáhněte,</span>
|
||||||
<span class="text-sspsGray">nebo nahrajte svůj motivační dopis</span>
|
<span class="text-sspsGray">nebo nahrajte {placeholder}</span>
|
||||||
</div>
|
</div>
|
||||||
</FileDrop>
|
</FileDrop>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -17,4 +17,5 @@
|
||||||
filetype="PDF"
|
filetype="PDF"
|
||||||
filesize={10}
|
filesize={10}
|
||||||
fileType={2}
|
fileType={2}
|
||||||
|
placeholder="svoje portfolio"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -17,4 +17,5 @@
|
||||||
filetype="ZIP"
|
filetype="ZIP"
|
||||||
filesize={100}
|
filesize={100}
|
||||||
fileType={3}
|
fileType={3}
|
||||||
|
placeholder="vaše další soubory ve formátu ZIP"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue