diff --git a/web/App.svelte b/web/App.svelte
index 61c5b7b..025af72 100644
--- a/web/App.svelte
+++ b/web/App.svelte
@@ -1,16 +1,23 @@
-
+{#if !notFound}
+
+{/if}
- {#await getFileHeadAndComponent()}
+ {#await getFileHead()}
Loading data...
- {:then v }
-
+ {:then}
+
+ {#if notFound}
+
+ {:else}
+ {#await getComponentForShare(contentType, filename)}
+ Loading component...
+ {:then v}
+
+ {/await}
+ {/if}
{/await}
diff --git a/web/NotFound.svelte b/web/NotFound.svelte
new file mode 100644
index 0000000..711b45c
--- /dev/null
+++ b/web/NotFound.svelte
@@ -0,0 +1,12 @@
+
+
+Share not found
+
+
\ No newline at end of file