mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Add support for database backups and enhance UI elements
Updates UI components and gitignore rules for database backups, adds Facebook links to news org window, and improves desktop window title handling.
This commit is contained in:
parent
67f574fc35
commit
94fbf1551d
8 changed files with 93 additions and 72 deletions
|
@ -1,5 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
import { GlobeAltIcon } from "@heroicons/vue/24/outline";
|
||||
import { Facebook } from "lucide-vue-next";
|
||||
import { gsap } from "gsap";
|
||||
import { ScrambleTextPlugin } from "gsap/dist/ScrambleTextPlugin";
|
||||
gsap.registerPlugin(ScrambleTextPlugin);
|
||||
|
@ -17,7 +18,7 @@ const {
|
|||
data: fetchNewsOrgInfo,
|
||||
pending,
|
||||
error,
|
||||
} = useFetch("/api/cached/getData/fetchNewsOrgInfo", {
|
||||
} = useFetch("/api/cached/getData/fetchNewsOrgInfo/2293", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
|
@ -55,19 +56,24 @@ onMounted(() => {
|
|||
<span class="text-ms m-1 mt-5 text-left text-wrap">{{
|
||||
fetchNewsOrgInfo?.description
|
||||
}}</span>
|
||||
<div
|
||||
class="gap-[3px] flex flex-row text-center align-center justify-center"
|
||||
>
|
||||
<a
|
||||
:href="fetchNewsOrgInfo?.website"
|
||||
target="_blank"
|
||||
class="text-gray-800 hover:text-gray-500 transiton-all duration-150 flex flex-row"
|
||||
><GlobeAltIcon class="w-6 h-6" />網站</a
|
||||
>
|
||||
<a
|
||||
:href="fetchNewsOrgInfo?.facebook"
|
||||
target="_blank"
|
||||
class="text-gray-800 hover:text-gray-500 transiton-all duration-150 flex flex-row"
|
||||
><Facebook class="w-6 h-6" />Facebook
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="gap-[3px] flex flex-row text-center align-center justify-center"
|
||||
>
|
||||
<a
|
||||
:href="fetchNewsOrgInfo?.website"
|
||||
target="_blank"
|
||||
class="text-blue-200 hover:text-blue-300 transiton-all duration-100 flex flex-row"
|
||||
><GlobeAltIcon class="w-6 h-6" />網站</a
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue