feat(about): refresh description and links (#52)
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
"autoUpdateTitle": "Auto updates",
|
"autoUpdateTitle": "Auto updates",
|
||||||
"betaProgramDescription": "Receive early builds and upcoming features before everyone else.",
|
"betaProgramDescription": "Receive early builds and upcoming features before everyone else.",
|
||||||
"betaProgramTitle": "Preview channel",
|
"betaProgramTitle": "Preview channel",
|
||||||
"description": "VidBee is a free, open-source downloader built with Electron and powered by yt-dlp.",
|
"description": "VidBee - Free and open-source automated video downloader with RSS auto-download, batch processing, and support for 1000+ platforms.",
|
||||||
"followAuthorActions": {
|
"followAuthorActions": {
|
||||||
"follow": "Follow @nexmoex"
|
"follow": "Follow @nexmoex"
|
||||||
},
|
},
|
||||||
@@ -51,6 +51,10 @@
|
|||||||
"documentationDescription": "Guides, FAQs, and common workflows.",
|
"documentationDescription": "Guides, FAQs, and common workflows.",
|
||||||
"feedback": "Feedback & issues",
|
"feedback": "Feedback & issues",
|
||||||
"feedbackDescription": "Share ideas or report issues on GitHub.",
|
"feedbackDescription": "Share ideas or report issues on GitHub.",
|
||||||
|
"githubIssues": "GitHub Issues",
|
||||||
|
"githubIssuesDescription": "Report bugs or request features on GitHub.",
|
||||||
|
"discord": "Discord Community",
|
||||||
|
"discordDescription": "Join our Discord community for discussions and support.",
|
||||||
"license": "License",
|
"license": "License",
|
||||||
"licenseDescription": "Review the open-source license terms.",
|
"licenseDescription": "Review the open-source license terms.",
|
||||||
"website": "Official website",
|
"website": "Official website",
|
||||||
|
|||||||
@@ -17,10 +17,8 @@ import {
|
|||||||
FileText,
|
FileText,
|
||||||
Github,
|
Github,
|
||||||
Link as LinkIcon,
|
Link as LinkIcon,
|
||||||
Mail,
|
|
||||||
MessageCircle,
|
MessageCircle,
|
||||||
RefreshCw,
|
RefreshCw,
|
||||||
ShieldCheck,
|
|
||||||
Twitter
|
Twitter
|
||||||
} from 'lucide-react'
|
} from 'lucide-react'
|
||||||
import { useEffect, useMemo, useState } from 'react'
|
import { useEffect, useMemo, useState } from 'react'
|
||||||
@@ -196,7 +194,7 @@ export function About() {
|
|||||||
|
|
||||||
const shareLinks = useMemo(() => {
|
const shareLinks = useMemo(() => {
|
||||||
const encodedUrl = encodeURIComponent(shareTargetUrl)
|
const encodedUrl = encodeURIComponent(shareTargetUrl)
|
||||||
const encodedText = encodeURIComponent(t('about.description'))
|
const encodedText = encodeURIComponent(`${t('about.description')} @nexmoex`)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
facebook: `https://www.facebook.com/sharer/sharer.php?u=${encodedUrl}`,
|
facebook: `https://www.facebook.com/sharer/sharer.php?u=${encodedUrl}`,
|
||||||
@@ -262,25 +260,18 @@ export function About() {
|
|||||||
href: 'https://github.com/nexmoe/VidBee/releases'
|
href: 'https://github.com/nexmoe/VidBee/releases'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: MessageCircle,
|
icon: Github,
|
||||||
label: t('about.resources.feedback'),
|
label: t('about.resources.githubIssues'),
|
||||||
description: t('about.resources.feedbackDescription'),
|
description: t('about.resources.githubIssuesDescription'),
|
||||||
actionLabel: t('about.actions.feedback'),
|
actionLabel: t('about.actions.feedback'),
|
||||||
href: 'https://github.com/nexmoe/VidBee/issues/new/choose'
|
href: 'https://github.com/nexmoe/VidBee/issues/new/choose'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: ShieldCheck,
|
icon: MessageCircle,
|
||||||
label: t('about.resources.license'),
|
label: t('about.resources.discord'),
|
||||||
description: t('about.resources.licenseDescription'),
|
description: t('about.resources.discordDescription'),
|
||||||
actionLabel: t('about.actions.view'),
|
actionLabel: t('about.actions.visit'),
|
||||||
href: 'https://github.com/nexmoe/VidBee/blob/main/LICENSE'
|
href: 'https://discord.gg/uBqXV6QPdm'
|
||||||
},
|
|
||||||
{
|
|
||||||
icon: Mail,
|
|
||||||
label: t('about.resources.contact'),
|
|
||||||
description: t('about.resources.contactDescription'),
|
|
||||||
actionLabel: t('about.actions.email'),
|
|
||||||
href: 'mailto:nexmoex@gmail.com'
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
[t]
|
[t]
|
||||||
@@ -415,10 +406,6 @@ export function About() {
|
|||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
<Card>
|
<Card>
|
||||||
<CardHeader>
|
|
||||||
<CardTitle>{t('about.resourcesTitle')}</CardTitle>
|
|
||||||
<CardDescription>{t('about.resourcesDescription')}</CardDescription>
|
|
||||||
</CardHeader>
|
|
||||||
<CardContent className="p-0">
|
<CardContent className="p-0">
|
||||||
<div className="flex flex-col divide-y">
|
<div className="flex flex-col divide-y">
|
||||||
{aboutResources.map((resource) => {
|
{aboutResources.map((resource) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user