Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

993 B
Raw Blame
import { Ollama } from '@lobehub/icons';
import { Center, cssVar } from '@lobehub/ui';
import { memo } from 'react';
import { Trans, useTranslation } from 'react-i18next';

import FormAction from '@/components/FormAction';

const OllamaDesktopSetupGuide = memo(() => {
  const { t } = useTranslation('components');

  return (
    <Center gap={16} paddingBlock={32} style={{ maxWidth: 300, width: '100%' }}>
      <FormAction
        avatar={<Ollama color={cssVar.colorPrimary} size={64} />}
        title={t('OllamaSetupGuide.install.title')}
        description={
          <span>
            <Trans
              i18nKey={'OllamaSetupGuide.install.description'}
              ns={'components'}
              components={[
                <span key="0" />,
                <a href={'https://ollama.com/download'} key="1" rel="noreferrer" target="_blank" />,
              ]}
            />
          </span>
        }
      />
    </Center>
  );
});

export default OllamaDesktopSetupGuide;