Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

1.6 KB
Raw Blame
import type { TranslationKey } from '@/i18n/types';
import React from 'react';
import { Link } from 'react-router-dom';
import { ArrowRight, Sparkles } from 'lucide-react';
import { useTranslation } from 'react-i18next';

import { SettingsPageShell } from './SettingsPageShell';

export const SettingsPlaceholderPage: React.FC<{
  tab: 'platforms' | 'backends' | 'messaging';
  titleKey: TranslationKey;
  subtitleKey: TranslationKey;
}> = ({ tab, titleKey, subtitleKey }) => {
  const { t } = useTranslation();

  return (
    <SettingsPageShell activeTab={tab} title={t(titleKey)} subtitle={t(subtitleKey)}>
      <div className="flex flex-col gap-3 rounded-xl border border-border bg-background px-6 py-5">
        <div className="flex items-center gap-2 text-[14px] font-semibold text-foreground">
          <Sparkles className="size-4 text-cyan-ink" />
          {t('settings.inProgressTitle')}
        </div>
        <p className="text-[12px] leading-relaxed text-muted">{t('settings.inProgressBody')}</p>
        <div className="flex flex-wrap items-center justify-between gap-3">
          <span className="text-[12px] text-muted">{t('settings.inProgressHint')}</span>
          <Link
            to="/setup"
            className="inline-flex items-center gap-1.5 rounded-lg border border-border bg-foreground/[0.04] px-3 py-2 text-[12px] font-medium text-foreground transition hover:border-border-strong"
          >
            {t('settings.openSetup')}
            <ArrowRight className="size-3.5" strokeWidth={2.25} />
          </Link>
        </div>
      </div>
    </SettingsPageShell>
  );
};