some cleanup

This commit is contained in:
Believethehype
2024-02-02 11:23:58 +01:00
parent 9351e32c0f
commit efc89c01cb
6 changed files with 60 additions and 47 deletions

View File

@@ -1,47 +1,25 @@
<template>
<div class="max-w-5xl relative space-y-3">
<div class="grid grid-cols-1 gap-6">
<div className="card w-70 bg-base-100 shadow-xl flex flex-col" v-for="dvm in store.state.nip89dvms"
:key="dvm.id">
<div className="card-body">
<div className="playeauthor-wrapper">
<figure className="w-20">
<img className="avatar" :src="dvm.image" alt="DVM Picture" />
</figure>
<h2 className="card-title">{{ dvm.name }}</h2>
</div>
<div class="grid gap-6 ">
<div className="card w-70 bg-base-100 shadow-xl" v-for="dvm in store.state.nip89dvms"
:key="dvm.id">
<br>
<h2 className="card-title justify-center">{{ dvm.name }}</h2>
<div className="card-body">
<div className="playeauthor-wrapper flex align-top">
<figure className="w-40">
<img className="avatar" :src="dvm.image" alt="DVM Picture" />
</figure>
</div>
<br>
<h3 class="fa-cut" >{{ dvm.about }}</h3>
<div className="card-actions justify-end mt-auto" >
<div className="card-actions justify-end">
<div className="tooltip" :data-tip="dvm.event">
<button className="btn" @click="copyDoiToClipboard(dvm.event);">Copy Event</button>
</div>
</div>
</div>
<button className="btn" @click="copyDoiToClipboard(dvm.event);">Copy Event Json</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
@@ -54,10 +32,6 @@ import VueNotifications from "vue-notifications";
import deadnip89s from './data/deadnip89s.json'
export default {
computed: {
Keys() {