Skip to content

Commit

Permalink
removed edit link
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-tr committed Nov 16, 2022
1 parent 34e3f9d commit 510c912
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
7 changes: 5 additions & 2 deletions src/layout/FeaturesSection/preview/PreviewShowcase.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import { previewFiles } from "$data/features";
import { projects } from "$data/projects";
import { each } from "svelte/internal";
import { Button} from "fluent-svelte";
let currentPreviewFile = 0;
</script>
Expand Down Expand Up @@ -58,9 +59,11 @@
<ul>
{#each file.projects as project}
<li>
<a href="/projects{project.link}">
<Button
variant="hyperlink"
href="/projects{project.link}">
{project.name}
</a>
</Button>
</li>
{/each}
</ul>
Expand Down
10 changes: 5 additions & 5 deletions src/routes/projects/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

<section class="docs">
<aside class="sidebar">
<div class="search">
<!-- <div class="search">
<div
class="autosuggest-wrapper"
use:clickOutside={() => (autoSuggestVisible = false)}
Expand All @@ -102,7 +102,7 @@
keepfocus: true
});
}}
placeholder="Search Documentation"
placeholder="Search Projects"
type="search"
/>
{#if autoSuggestVisible}
Expand All @@ -120,7 +120,7 @@
{/if}
</div>
<hr role="separator">
</div>
</div> -->
<TreeView tree={projects} />
</aside>
<article class="page scroller">
Expand Down Expand Up @@ -171,15 +171,15 @@
{$page.url.pathname.split("/").join(" / ").substring(2)}
{$page.url.pathname === "/projects" ? " / overview" : ""}
</span>
<div class="header-right">
<!-- <div class="header-right">
<Button variant="hyperlink"
href="https://github.com/{links.github.owner}/edit/main/src/routes/docs{currentPage.path ||
'/index'}.md"
{...externalLink}
>
Edit this page
</Button>
</div>
</div> -->
</header>
<slot />
</div>
Expand Down

0 comments on commit 510c912

Please sign in to comment.