Fork pd_web, remove everything we don't need

This commit is contained in:
2025-09-24 15:37:57 +02:00
parent 9dcdd94b3a
commit fd5cd0bfd1
415 changed files with 146269 additions and 120786 deletions

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { fs_encode_path } from "./FilesystemAPI";
import { fs_encode_path, node_is_shared } from "./FilesystemAPI";
import type { FSNavigator } from "./FSNavigator";
export let nav: FSNavigator
@@ -7,7 +7,6 @@ export let nav: FSNavigator
<div class="breadcrumbs">
{#each $nav.path as node, i (node.path)}
{@const shared = node.id !== undefined && node.id !== "me"}
<a
href={"/d"+fs_encode_path(node.path)}
class="breadcrumb button"
@@ -16,7 +15,7 @@ export let nav: FSNavigator
>
{#if node.abuse_type !== undefined}
<i class="icon small">block</i>
{:else if shared}
{:else if node_is_shared(node)}
<i class="icon small">share</i>
{/if}
<div class="node_name" class:base={$nav.base_index === i}>