diff --git a/frontend/src/components/icons/IconPin.svelte b/frontend/src/components/icons/IconPin.svelte
new file mode 100644
index 00000000..5200dec6
--- /dev/null
+++ b/frontend/src/components/icons/IconPin.svelte
@@ -0,0 +1,14 @@
+
diff --git a/frontend/src/components/search/SearchResults.svelte b/frontend/src/components/search/SearchResults.svelte
index 20138664..bba4e7ee 100644
--- a/frontend/src/components/search/SearchResults.svelte
+++ b/frontend/src/components/search/SearchResults.svelte
@@ -1,7 +1,7 @@
diff --git a/frontend/src/components/search/searchStores.ts b/frontend/src/components/search/searchStores.ts
index b0324488..fc8d2b64 100644
--- a/frontend/src/components/search/searchStores.ts
+++ b/frontend/src/components/search/searchStores.ts
@@ -17,4 +17,13 @@ export async function submitSearch(guildId: string) {
searchResultsMessageIds.set(json);
searchShown.set(true);
isSearching.set(false);
+}
+
+export function doSearch(prompt: string, guildId: string) {
+ if (prompt == "") {
+ searchPrompt.set("");
+ return;
+ }
+ searchPrompt.set(prompt);
+ submitSearch(guildId);
}
\ No newline at end of file
diff --git a/frontend/src/routes/channels/[guildId]/Header.svelte b/frontend/src/routes/channels/[guildId]/Header.svelte
index 05b841c5..7f88b719 100644
--- a/frontend/src/routes/channels/[guildId]/Header.svelte
+++ b/frontend/src/routes/channels/[guildId]/Header.svelte
@@ -1,13 +1,28 @@