Compare commits
11 commits
07fa883a14
...
2381960277
Author | SHA1 | Date | |
---|---|---|---|
2381960277 | |||
29243aa86f | |||
6d51fa5889 | |||
97bc6c45a9 | |||
ccd37a2fc3 | |||
68cb7438ce | |||
4ce89d9803 | |||
a146eb001a | |||
dac473e9fb | |||
fc87bd4b6f | |||
9d1eeff582 |
2 changed files with 3 additions and 46 deletions
|
@ -5,9 +5,7 @@
|
||||||
<div v-if="props.replyMessage" class="message-reply-svg">
|
<div v-if="props.replyMessage" class="message-reply-svg">
|
||||||
<svg
|
<svg
|
||||||
width="1.5em" height="1.5em"
|
width="1.5em" height="1.5em"
|
||||||
viewBox="0 0 151.14355 87.562065" version="1.1" id="svg1"
|
viewBox="0 0 150 87.5" version="1.1" id="svg1"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
style="overflow: visible;">
|
style="overflow: visible;">
|
||||||
<defs id="defs1" />
|
<defs id="defs1" />
|
||||||
<g id="layer1"
|
<g id="layer1"
|
||||||
|
@ -68,9 +66,9 @@
|
||||||
import DOMPurify from 'dompurify';
|
import DOMPurify from 'dompurify';
|
||||||
import { parse } from 'marked';
|
import { parse } from 'marked';
|
||||||
import type { MessageProps } from '~/types/props';
|
import type { MessageProps } from '~/types/props';
|
||||||
|
import generateIrcColor from '~/utils/generateIrcColor';
|
||||||
import MessageMedia from './MessageMedia.vue';
|
import MessageMedia from './MessageMedia.vue';
|
||||||
import MessageReply from './UserInterface/MessageReply.vue';
|
import MessageReply from './UserInterface/MessageReply.vue';
|
||||||
import generateIrcColor from '~/utils/generateIrcColor';
|
|
||||||
|
|
||||||
const props = defineProps<MessageProps>();
|
const props = defineProps<MessageProps>();
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
<div class="left-column-segment">
|
<div class="left-column-segment">
|
||||||
<div ref="createButtonContainer">
|
<div ref="createButtonContainer">
|
||||||
<button id="create-button" class="sidebar-bottom-buttons" @click.prevent="createDropdown">
|
<button id="create-button" class="sidebar-bottom-buttons" @click.prevent="createDropdown">
|
||||||
<Icon id="create-icon" name="lucide:square-plus" alt="Create guild"/>
|
<Icon id="create-icon" name="lucide:square-plus" alt="Create or join guild"/>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<NuxtLink id="settings-menu" class="sidebar-bottom-buttons" href="/settings">
|
<NuxtLink id="settings-menu" class="sidebar-bottom-buttons" href="/settings">
|
||||||
|
@ -153,47 +153,6 @@ const options = [
|
||||||
|
|
||||||
const guilds: GuildResponse[] | undefined = await fetchWithApi("/me/guilds");
|
const guilds: GuildResponse[] | undefined = await fetchWithApi("/me/guilds");
|
||||||
|
|
||||||
//const servers = await fetchWithApi("/servers") as { uuid: string, name: string, description: string }[];
|
|
||||||
//console.log("servers:", servers);
|
|
||||||
const members = [
|
|
||||||
{
|
|
||||||
id: "3287484395",
|
|
||||||
displayName: "SauceyRed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "3287484395",
|
|
||||||
displayName: "SauceyRed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "3287484395",
|
|
||||||
displayName: "SauceyRed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "3287484395",
|
|
||||||
displayName: "SauceyRed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "3287484395",
|
|
||||||
displayName: "SauceyRed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "3287484395",
|
|
||||||
displayName: "SauceyRed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "3287484395",
|
|
||||||
displayName: "SauceyRed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "3287484395",
|
|
||||||
displayName: "SauceyRed"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "3287484395",
|
|
||||||
displayName: "SauceyRed"
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
function createDropdown() {
|
function createDropdown() {
|
||||||
const dropdown = h(GuildDropdown, { options });
|
const dropdown = h(GuildDropdown, { options });
|
||||||
const div = document.createElement("div");
|
const div = document.createElement("div");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue