mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-24 05:24:23 +00:00
Compare commits
No commits in common. "075e33d2af112129413c5018eb12634c4fdc708e" and "a720bdd582ec1f730ba753da140c3203e0a5673a" have entirely different histories.
075e33d2af
...
a720bdd582
7 changed files with 9 additions and 19 deletions
1
.github/funding.yml
vendored
1
.github/funding.yml
vendored
|
@ -1 +0,0 @@
|
|||
ko_fi: howard00
|
|
@ -19,7 +19,7 @@ Video Guide: [YouTube](https://youtu.be/8P3qgVm6m6g)
|
|||
## Demo:
|
||||
Production (Latest Docker Image): https://yhw.tw/news
|
||||
|
||||
Beta (Beta Docker Image): https://newsbeta.20090526.xyz
|
||||
Beta (Beta Docekr Image): https://newsbeta.20090526.xyz
|
||||
|
||||
## Video Guide
|
||||
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
<template>
|
||||
<!--YouTube Embed-->
|
||||
<div
|
||||
class="justify-center align-center text-center absolute inset-0 flex flex-col mt-12"
|
||||
>
|
||||
<div class="justify-center absolute inset-0 flex flex-col">
|
||||
<iframe
|
||||
width="600"
|
||||
height="395"
|
||||
width="560"
|
||||
height="315"
|
||||
src="https://www.youtube-nocookie.com/embed/8P3qgVm6m6g?si=0t8eR0wtWv6b3REE"
|
||||
title="YouTube video player"
|
||||
frameborder="0"
|
||||
|
|
|
@ -27,10 +27,6 @@ const userData = ref({
|
|||
});
|
||||
const enteruseremail = ref();
|
||||
onMounted(async () => {
|
||||
await validateUserInfo();
|
||||
});
|
||||
|
||||
const validateUserInfo = async () => {
|
||||
const req = await fetch("/api/user/validateUserToken");
|
||||
const res = await req.json();
|
||||
if (res.current_spot === "LOGOUT") {
|
||||
|
@ -41,7 +37,7 @@ const validateUserInfo = async () => {
|
|||
userData.value = res;
|
||||
useremail.value = res.email;
|
||||
isLoggedIn.value = true;
|
||||
};
|
||||
});
|
||||
|
||||
const emit = defineEmits(["windowopener"]);
|
||||
|
||||
|
@ -170,7 +166,6 @@ const submitUserPassword = async () => {
|
|||
success.value = true;
|
||||
console.log(res);
|
||||
userAccount.value = "";
|
||||
await validateUserInfo();
|
||||
} else {
|
||||
error.value = true;
|
||||
errormsg.value = res.error;
|
||||
|
|
|
@ -54,9 +54,9 @@ const createSources = await sql`
|
|||
const createArticlesArchive = await sql`
|
||||
create table if not exists news_articles (
|
||||
uuid text primary key,
|
||||
article_id text,
|
||||
article_id text primary key,
|
||||
jsondata json not null,
|
||||
archive_timestamp timestamp default CURRENT_TIMESTAMP
|
||||
archive_timestamp timestamp default CURRENT_TIMESTAMP,
|
||||
)
|
||||
`;
|
||||
|
||||
|
|
|
@ -374,9 +374,7 @@ onMounted(async () => {
|
|||
if (openApp.value === "newsView") {
|
||||
return;
|
||||
}
|
||||
setTimeout(() => {
|
||||
openWindow(openApp.value);
|
||||
}, 2000);
|
||||
openWindow(openApp.value);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -132,7 +132,7 @@ useSeoMeta({
|
|||
<TooltipProvider>
|
||||
<Tooltip>
|
||||
<TooltipTrigger>
|
||||
<NuxtLink :to="localePath('/desktop?openapp=onboard')">
|
||||
<NuxtLink :to="localePath('/desktop')">
|
||||
<button
|
||||
class="m-4 mr-1 ml-1 bg-[#8C9393] text-white p-3 rounded-[10px] bg-gradient-to-l from-sky-500 to-purple-600 transition-all duration-150 hover:transform hover:scale-105 hover:shadow-lg"
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue