Improve importing project screen

This commit is contained in:
Thomas Weber committed 2022-06-04 20:03:04 -05:00
1 parent da5ca2e188
commit d4bbd5ee15
2 files changed
+14 -2

No files matched your search

+4
View File
@@ -563,6 +563,10 @@
"import": {
"header": {
"string": "Importing project...",
"description": "Header that appears when importing a project from an external site"
},
"description": {
"string": "This may take a while if the project is large.",
"description": "Appears when importing a project from an external site"
},
"cancel": {
+10 -2
View File
@@ -31,9 +31,17 @@
background: rgba(0, 0, 0, 0.8);
color: white;
}
.inner {
max-width: 480px;
}
</style>
<div class="outer" out:fade={{duration: 200}}>
<h1>{$_('import.header')}</h1>
<button on:click={cancel}>{$_('import.cancel')}</button>
<div class="inner">
<h2>{$_('import.header')}</h2>
<p>
{$_('import.description')}
</p>
<button on:click={cancel}>{$_('import.cancel')}</button>
</div>
</div>