mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-19 19:36:38 +00:00
Format all files
This commit is contained in:
@@ -6,7 +6,7 @@ import { Button } from "@/components/ui/button";
|
||||
import { ArrowRight, DockIcon as Docker, Globe, Server, X } from "lucide-react";
|
||||
import Link from "next/link";
|
||||
import { useEnvContext } from "@app/hooks/useEnvContext";
|
||||
import { useTranslations } from 'next-intl';
|
||||
import { useTranslations } from "next-intl";
|
||||
|
||||
export const SitesSplashCard = () => {
|
||||
const [isDismissed, setIsDismissed] = useState(true);
|
||||
@@ -38,7 +38,7 @@ export const SitesSplashCard = () => {
|
||||
<button
|
||||
onClick={handleDismiss}
|
||||
className="absolute top-2 right-2 p-2"
|
||||
aria-label={t('dismiss')}
|
||||
aria-label={t("dismiss")}
|
||||
>
|
||||
<X className="w-5 h-5" />
|
||||
</button>
|
||||
@@ -46,19 +46,17 @@ export const SitesSplashCard = () => {
|
||||
<div className="space-y-4">
|
||||
<h3 className="text-xl font-semibold flex items-center gap-2">
|
||||
<Globe className="text-blue-500" />
|
||||
Newt ({t('recommended')})
|
||||
Newt ({t("recommended")})
|
||||
</h3>
|
||||
<p className="text-sm">
|
||||
{t('siteNewtDescription')}
|
||||
</p>
|
||||
<p className="text-sm">{t("siteNewtDescription")}</p>
|
||||
<ul className="text-sm text-muted-foreground space-y-2">
|
||||
<li className="flex items-center gap-2">
|
||||
<Server className="text-green-500 w-4 h-4" />
|
||||
{t('siteRunsInDocker')}
|
||||
{t("siteRunsInDocker")}
|
||||
</li>
|
||||
<li className="flex items-center gap-2">
|
||||
<Server className="text-green-500 w-4 h-4" />
|
||||
{t('siteRunsInShell')}
|
||||
{t("siteRunsInShell")}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -72,7 +70,7 @@ export const SitesSplashCard = () => {
|
||||
className="w-full flex items-center"
|
||||
variant="secondary"
|
||||
>
|
||||
{t('siteInstallNewt')}{" "}
|
||||
{t("siteInstallNewt")}{" "}
|
||||
<ArrowRight className="ml-2 w-4 h-4" />
|
||||
</Button>
|
||||
</Link>
|
||||
@@ -80,19 +78,17 @@ export const SitesSplashCard = () => {
|
||||
</div>
|
||||
<div className="space-y-4">
|
||||
<h3 className="text-xl font-semibold flex items-center gap-2">
|
||||
{t('siteWg')}
|
||||
{t("siteWg")}
|
||||
</h3>
|
||||
<p className="text-sm">
|
||||
{t('siteWgAnyClients')}
|
||||
</p>
|
||||
<p className="text-sm">{t("siteWgAnyClients")}</p>
|
||||
<ul className="text-sm text-muted-foreground space-y-2">
|
||||
<li className="flex items-center gap-2">
|
||||
<Docker className="text-purple-500 w-4 h-4" />
|
||||
{t('siteWgCompatibleAllClients')}
|
||||
{t("siteWgCompatibleAllClients")}
|
||||
</li>
|
||||
<li className="flex items-center gap-2">
|
||||
<Server className="text-purple-500 w-4 h-4" />
|
||||
{t('siteWgManualConfigurationRequired')}
|
||||
{t("siteWgManualConfigurationRequired")}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user