Skip to content

Commit

Permalink
✨ feat: Add new icons
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 authored Mar 27, 2024
1 parent dacae20 commit 977ed25
Show file tree
Hide file tree
Showing 35 changed files with 999 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ Contributions, corrections & requests can be made on GitHub.
- [x] [Groq](https://icons.lobehub.com/components/groq)
- [x] [HuggingFace](https://icons.lobehub.com/components/hugging-face)
- [x] [Hunyuan (腾讯混元)](https://icons.lobehub.com/components/hunyuan)
- [x] [Langfuse](https://icons.lobehub.com/components/langfuse)
- [x] [LLaVA](https://icons.lobehub.com/components/l-la-va)
- [x] [Meta](https://icons.lobehub.com/components/meta)
- [x] [Microsoft (Azure)](https://icons.lobehub.com/components/azure)
Expand All @@ -104,10 +105,13 @@ Contributions, corrections & requests can be made on GitHub.
- [x] [Replicate](https://icons.lobehub.com/components/replicate)
- [x] [Spark (讯飞星火)](https://icons.lobehub.com/components/spark)
- [x] [Stability (StableDiffusion)](https://icons.lobehub.com/components/stability)
- [x] [Suno](https://icons.lobehub.com/components/suno)
- [x] [Tencent](https://icons.lobehub.com/components/tencent)
- [x] [together.ai](https://icons.lobehub.com/components/together)
- [x] [Tongyi (通义)](https://icons.lobehub.com/components/tongyi)
- [x] [Wenxin (文心)](https://icons.lobehub.com/components/wenxin)
- [x] [Yi (零一万物)](https://icons.lobehub.com/components/yi)
- [x] [Zeabur](https://icons.lobehub.com/components/zeabur)
- [x] [Zhipu (ChatGLM)](https://icons.lobehub.com/components/chat-glm)
- [x] [Zhipu (智谱)](https://icons.lobehub.com/components/zhipu)

Expand Down
22 changes: 22 additions & 0 deletions src/Langfuse/components/Avatar.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { memo } from 'react';

import IconAvatar, { type IconAvatarProps } from '@/IconAvatar';

import { COLOR_PRIMARY, TITLE } from '../style';
import Mono from './Mono';

export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;

const Avatar = memo<AvatarProps>(({ background, ...rest }) => {
return (
<IconAvatar
Icon={Mono}
aria-label={TITLE}
background={background || COLOR_PRIMARY}
iconMultiple={0.75}
{...rest}
/>
);
});

export default Avatar;
39 changes: 39 additions & 0 deletions src/Langfuse/components/Color.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import { forwardRef } from 'react';

import type { IconType } from '@/types';

import { TITLE } from '../style';

const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {
return (
<svg
height={size}
ref={ref}
style={{ flex: 'none', lineHeight: 1, ...style }}
viewBox="0 0 24 24"
width={size}
xmlns="http://www.w3.org/2000/svg"
{...rest}
>
<title>{TITLE}</title>
<g fill="none" fillRule="evenodd">
<path
d="M6.327 12.922c1.914-.003 3.399.092 4.479.578.487.218.944.497 1.362.83l.246.206c.62.549 1.889 1.415 3.452 1.12.199-.038.39-.088.573-.15a6.594 6.594 0 014.958 1.287c-1.055 1.445-2.67 2.409-4.493 2.55l-.17.01c-2.138.108-3.752-.879-4.823-1.795-1.894-1.016-3.377-1.272-4.244-1.493a4.86 4.86 0 01-1.329-.584l-.239-.155a2.706 2.706 0 01-.797-.869 2.79 2.79 0 01-.367-1.444l.314-.038a9.624 9.624 0 011.078-.053zm16.188-2.841c.078.38.16.566.19.848a9.84 9.84 0 01-.21 3.224 13.33 13.33 0 00-3.577-1.271c.116-.36.18-.74.19-1.125.008-.305-.027-.419-.08-.714.539-.091 1.21-.24 1.823-.4.647-.17 1.126-.367 1.664-.562zM11.782 5.917l.155-.127c.584-.464 2.346-1.68 4.805-1.46 1.123.1 2.051.47 2.779.898.682.402 1.26.992 1.736 1.615-.43.31-1.065.643-1.916.908a6.69 6.69 0 01-2.914.23c-1.333-.336-2.799.154-3.803 1.251-.558.609-1.204 1.129-1.941 1.494-1.116.553-2.821.542-4.806.43a9.36 9.36 0 01-.756-.074 4.11 4.11 0 01.835-1.427 4.102 4.102 0 011.653-1.11c2.047-.794 3.748-2.224 4.173-2.628zm-9.14 1.39a8.873 8.873 0 01-1.76-1.21c-.226-.2-.578-.037-.578.269v2.498a.36.36 0 00.131.28l1.011.984a5.82 5.82 0 011.196-2.821zM.86 18.157a.35.35 0 01-.555-.29V14.8c0-.093.035-.181.096-.247l.054-.047a.235.235 0 01.018-.011l1.001-.436a7.94 7.94 0 001.17 2.927L.858 18.157z"
fill="#0A60B5"
fillRule="nonzero"
></path>
<path
d="M7.308 4.751c2.004-.1 3.502.75 4.274 1.317-.585.523-2.167 1.784-4.037 2.512a4.083 4.083 0 00-.485.212 3.96 3.96 0 00-2.194 3.458c-.006.242.006.483.038.72h-.01c-.006.247.014.827.367 1.434.314.542.736.832.945.958.104.07.27.17.475.276a4.03 4.03 0 00.943.362l.352.086c.892.214 2.245.539 3.903 1.421.168.143.348.286.542.426-.06.054-.109.1-.149.138-.342.293-2.219 1.841-4.964 1.596a6.577 6.577 0 01-2.78-.902c-1.225-.726-2.151-1.873-2.656-3.215a9.805 9.805 0 01-.227-6.239c.743-2.51 2.91-4.351 5.492-4.548l.171-.012zm14.03 11.965a6.637 6.637 0 00-4.947-1.27c-.183.06-.374.11-.572.147-1.563.293-2.83-.566-3.45-1.11a6.397 6.397 0 00-.373-.303 6.293 6.293 0 011.376-.94c1.117-.555 2.823-.544 4.81-.433 2.737.155 4.628 1.475 5.382 2.082.085.067.133.17.133.278v2.491a.35.35 0 01-.582.269 8.905 8.905 0 00-1.777-1.211zm-8.775-7.444c-.18.197-.368.384-.566.56.383.289.797.532 1.236.727 1.08.482 2.563.576 4.476.574a11.21 11.21 0 005.82-1.656.356.356 0 00.168-.304V6.116a.351.351 0 00-.558-.29c-.552.403-1.373.917-2.432 1.32a6.62 6.62 0 01-1.422.637 6.667 6.667 0 01-2.916.231c-1.334-.337-2.8.155-3.806 1.258z"
fill="#E11312"
></path>
<path
d="M1.498 15.41c-.098-.283-.19-.59-.27-.917l-.601.26-.015.023-.004.023v3.068c0 .047.04.069.07.047l1.53-1.007a6.888 6.888 0 01-.62-1.248l-.09-.25zm20.85-4.733l-.05-.195-.35.13a11.45 11.45 0 01-2.563.7l.006.034c.018.132.025.256.02.418a4.334 4.334 0 01-.08.735l-.03.129a9.772 9.772 0 012.984 1.045l.059-.344c.058-.382.092-.772.103-1.168l.002-.4a9.54 9.54 0 00-.047-.802l-.015-.108-.038-.174zM.609 6.366v2.498c0 .013.003.024.015.039l.628.612.056-.223c.049-.179.107-.359.175-.54l.11-.272c.134-.311.287-.597.455-.86l.145-.215-.028-.016A9.104 9.104 0 01.95 6.551l-.27-.23c-.028-.024-.072-.003-.072.045zm6.212 8.999c.225.121.473.223.75.302l-.014.053.015-.053.01.003-.016.053.019-.052.223.058.794.195c.805.206 1.865.526 3.105 1.15l.343.177.025.021c.162.138.336.277.523.412l.307.223-.019.017c1.15.784 2.409 1.2 3.828 1.128l.168-.01c1.519-.118 2.918-.843 3.93-2l.155-.187-.234-.155a6.221 6.221 0 00-1.396-.651l-.317-.094a6.226 6.226 0 00-2.483-.162 4.76 4.76 0 01-.613.159c-1.318.25-2.518-.208-3.52-1.027l-.425-.36a6.07 6.07 0 00-1.298-.79c-.871-.392-2.032-.538-4.014-.55h-.522c-.178.003-.335.01-.491.02l-.187.013-.22.021.01.1c.028.242.094.49.212.74l.098.188.109.173c.219.292.462.475.622.578l.218.138.09.052.215.117zm5.873-1.355l-.216.165.298.248c.64.506 1.714 1.107 2.988.868l.183-.039.178-.045.2-.062.157-.021a6.939 6.939 0 012.394.118l.251.062a6.994 6.994 0 012.269 1.074l.104.077.236.126a9.245 9.245 0 011.43.987l.149.127.014.01.011.003.027-.005a.05.05 0 00.02-.017.047.047 0 00.008-.028v-2.491l-.005-.022-.013-.016-.093-.074a9.246 9.246 0 00-.908-.625l-.022-.01a12.991 12.991 0 00-3.457-1.235 8.9 8.9 0 00-.731-.071l-.42-.022c-.829-.04-1.593-.056-2.275-.012-.798.051-1.458.183-1.964.435a5.717 5.717 0 00-.813.495zM1.86 9.67c-.034.13-.066.263-.096.4l-.096.696-.026-.026a9.426 9.426 0 00.03 2.903l.033-.015.068.377a7.616 7.616 0 001.125 2.815l.131.202A5.79 5.79 0 004.681 18.5a6.276 6.276 0 002.654.861c2.35.21 4.036-.957 4.594-1.402l-.162-.136c-.832-.445-1.63-.77-2.452-1.02-.31-.096-.61-.176-.958-.26l-.765-.185a5.079 5.079 0 01-1.42-.624l-.247-.161c-.244-.17-.47-.38-.667-.636a3.074 3.074 0 01-.259-.377l-.09-.168a3.07 3.07 0 01-.32-1.352 32.26 32.26 0 01-.026-.54v-.258l.01-.21a4.265 4.265 0 012.149-3.406l.128-.07c.213-.118.43-.214.649-.293l.306-.125.306-.136.13-.061a14.74 14.74 0 002.641-1.684l.199-.163-.08-.051c-.752-.473-1.914-.996-3.38-.993l-.296.008-.167.01c-1.61.124-3.055.922-4.057 2.136l-.287.375a6.233 6.233 0 00-.879 1.82l-.076.271zm3.31 2.588v.225l.01.197.038-.005c.13-.014.262-.025.397-.033l.338-.016c.117-.004.24-.006.374-.006h.352c2.06.014 3.283.169 4.253.605.36.162.706.355 1.034.58a6.458 6.458 0 011.273-.84l.236-.107c.564-.23 1.23-.344 1.957-.39.834-.055 1.772-.023 2.767.033.17.01.338.024.501.041l.054-.264c.03-.174.047-.35.051-.529.002-.087.001-.156-.004-.222l-.018-.14c-.344.034-.702.052-1.073.053l-.376-.001c-1.734-.01-3.153-.121-4.223-.599l-.272-.128a6.68 6.68 0 01-1.022-.633l.199.144a6.453 6.453 0 01-1.196.773c-1.04.516-2.42.604-4.96.461a9.87 9.87 0 01-.569-.049c-.073.275-.114.56-.121.85zM19.118 8.15a6.962 6.962 0 01-2.51.202l-.312-.04.015-.048-.015.048c-.927-.234-1.935-.031-2.778.535-.18.126-.35.268-.512.425l-.158.163a8.123 8.123 0 01-.36.37l.141.09c.233.144.475.272.726.384l.208.085c.996.38 2.353.464 4.145.462l.338-.006c.305-.01.6-.032.885-.066l.046-.008c.52-.089 1.18-.235 1.797-.396.254-.066.471-.132.733-.223a10.98 10.98 0 001.864-.912l.017-.018.006-.024V6.116l-.008-.027a.048.048 0 00-.07-.013c-.511.372-1.246.838-2.182 1.23l-.086.035a6.544 6.544 0 01-.631.326l-.232.1a7.207 7.207 0 01-.811.31l-.256.073zm-11.464.717l-.102.038a3.752 3.752 0 00-.225.097l-.129.064a3.752 3.752 0 00-.19.1c-.29.177-.567.403-.826.69a3.756 3.756 0 00-.522.742l-.112.229.098.01.248.017.636.032c2.03.087 3.19-.02 4.017-.43A5.83 5.83 0 0011.6 9.78l.384-.351.182-.18.332-.35a4.581 4.581 0 011.12-.822c.895-.48 1.912-.634 2.853-.396a6.276 6.276 0 002.78-.22c.16-.05.313-.102.46-.157.24-.099.458-.206.654-.314l.212-.122.233-.095-.183-.22a5.62 5.62 0 00-1.04-.928l-.22-.139a6.268 6.268 0 00-2.65-.856c-1.868-.167-3.416.464-4.586 1.392l-.138.112c-.651.62-1.646 1.358-2.75 1.97-.492.278-1.027.543-1.588.762zm16.032.872l-.123.074-.325.187c-.118.066-.246.134-.383.203l.101.4c.024.102.04.196.05.296a10.141 10.141 0 01-.166 3.1c.39.245.697.476.913.65a.664.664 0 01.247.518v2.491l-.007.098a.654.654 0 01-1 .462l-.076-.06a8.72 8.72 0 00-1.412-1.004l-.2.242c-1.117 1.299-2.678 2.116-4.38 2.247l-.176.012c-1.634.082-3.064-.417-4.323-1.313l-.114.093c-.605.484-2.449 1.768-5.03 1.537l-.316-.035a6.89 6.89 0 01-2.591-.908l-.253-.158a6.426 6.426 0 01-1.568-1.466l-1.515.995A.653.653 0 010 17.867V14.8c0-.168.064-.33.2-.473l.08-.068.07-.04.75-.326a10.044 10.044 0 01-.16-1.639v-.382c.013-.589.077-1.139.172-1.645l-.868-.849A.66.66 0 010 8.864V6.366c0-.563.66-.87 1.084-.495.431.38.921.736 1.468 1.043 1.105-1.393 2.733-2.318 4.563-2.457l.016.219-.015-.22.176-.011c1.953-.098 3.444.665 4.289 1.247l.007-.007.159-.13c1.285-1.02 2.974-1.708 5.022-1.526a6.876 6.876 0 012.907.939c.622.367 1.19.893 1.712 1.55a10.09 10.09 0 001.574-.94l.083-.052a.655.655 0 01.955.59v3.057l-.007.098a.663.663 0 01-.307.468z"
fill="#000"
fillRule="nonzero"
></path>
</g>
</svg>
);
});

export default Icon;
28 changes: 28 additions & 0 deletions src/Langfuse/components/Combine.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { memo } from 'react';

import IconCombine, { type IconCombineProps } from '@/IconCombine';

import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from '../style';
import Color from './Color';
import Mono from './Mono';
import Text from './Text';

export interface CombineProps extends Omit<IconCombineProps, 'Icon' | 'Text'> {
type?: 'color' | 'mono';
}
const Combine = memo<CombineProps>(({ type = 'mono', ...rest }) => {
const Icon = type === 'color' ? Color : Mono;

return (
<IconCombine
Icon={Icon}
Text={Text}
aria-label={TITLE}
spaceMultiple={SPACE_MULTIPLE}
textMultiple={TEXT_MULTIPLE}
{...rest}
/>
);
});

export default Combine;
29 changes: 29 additions & 0 deletions src/Langfuse/components/Mono.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { forwardRef } from 'react';

import type { IconType } from '@/types';

import { TITLE } from '../style';

const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {
return (
<svg
fill="currentColor"
fillRule="evenodd"
height={size}
ref={ref}
style={{ flex: 'none', lineHeight: 1, ...style }}
viewBox="0 0 24 24"
width={size}
xmlns="http://www.w3.org/2000/svg"
{...rest}
>
<title>{TITLE}</title>
<g>
<path d="M6.666 13.224c1.982.013 3.143.159 4.014.551a6.07 6.07 0 011.298.79l.425.36c1.002.819 2.202 1.276 3.52 1.027.21-.04.414-.093.613-.16a6.226 6.226 0 012.483.163l.317.094c.517.167.978.389 1.396.651l.234.155-.155.187c-1.012 1.157-2.411 1.882-3.93 2l-.168.01c-1.42.072-2.677-.344-3.828-1.128l.02-.017-.308-.223a8.446 8.446 0 01-.357-.274l-.191-.159-.343-.178c-1.24-.623-2.3-.943-3.105-1.15l-.794-.194-.223-.058-.018.048.016-.049-.01-.003-.016.053.013-.053a3.725 3.725 0 01-.749-.302l-.262-.144-.261-.163a2.396 2.396 0 01-.622-.578l-.11-.173-.097-.188a2.386 2.386 0 01-.213-.74l-.009-.1.22-.021.187-.014c.156-.01.313-.016.49-.019h.523zm-5.438 1.27c.08.327.172.633.27.915l.09.25c.165.438.373.856.62 1.248l-1.53 1.007c-.03.022-.07 0-.07-.047V14.8l.004-.023.015-.022.6-.26zm21.07-4.012l.05.195.039.174.015.108c.026.263.042.53.047.803l-.002.399c-.01.396-.045.786-.103 1.168l-.06.344a9.772 9.772 0 00-2.983-1.045l.03-.13c.047-.24.074-.486.08-.734a2.391 2.391 0 00-.02-.418l-.006-.033a11.45 11.45 0 002.562-.7l.35-.13zM12.13 6.022c1.17-.927 2.718-1.558 4.585-1.391a6.268 6.268 0 012.65.856l.22.14c.364.244.71.556 1.041.926l.183.221-.233.095-.212.122a6.501 6.501 0 01-.654.314c-.147.055-.3.108-.46.157a6.276 6.276 0 01-2.78.22c-.941-.238-1.958-.085-2.852.396-.406.21-.785.487-1.121.822l-.332.35-.182.18-.384.351a5.83 5.83 0 01-1.052.675c-.828.41-1.986.517-4.017.43l-.636-.032-.248-.017-.098-.01.112-.23c.136-.254.308-.502.522-.74.259-.288.537-.514.827-.69l.19-.101.128-.064.118-.053.209-.082a12.304 12.304 0 001.587-.762c1.105-.612 2.1-1.35 2.751-1.97l.138-.112zm-11.473.29l.023.01.27.229c.277.226.573.442.89.642l.352.212-.145.215c-.168.263-.321.549-.455.86l-.11.272a6.071 6.071 0 00-.175.54l-.056.223-.628-.612a.058.058 0 01-.015-.039V6.366c0-.036.025-.057.05-.055z"></path>
<path d="M7.62 5.05a6.303 6.303 0 013.226.898l.235.146-.199.163a14.74 14.74 0 01-2.64 1.684l-.131.061-.306.136-.306.125a4.425 4.425 0 00-.65.294l-.127.069a4.265 4.265 0 00-2.149 3.406l-.01.21v.257l.027.541c0 .278.041.794.319 1.352l.09.168c.082.14.17.266.259.377.196.257.423.466.667.636l.247.16c.409.26.912.495 1.42.625l.765.184c.348.085.647.165.958.26.822.251 1.62.576 2.452 1.021l.162.136-.156.12c-.677.503-2.277 1.475-4.438 1.282a6.276 6.276 0 01-2.654-.861 5.79 5.79 0 01-1.653-1.478l-.131-.202a7.616 7.616 0 01-1.124-2.815l-.07-.377-.031.015a9.423 9.423 0 01-.03-2.903l.025.026.096-.696c.03-.137.062-.27.096-.4l.076-.27a6.233 6.233 0 01.88-1.82l.286-.376C4.103 5.99 5.548 5.192 7.158 5.07l.167-.011.296-.008zm7.85 8.03c.682-.044 1.446-.029 2.275.012l.42.022a8.9 8.9 0 01.73.071 12.967 12.967 0 013.036 1.023l.444.222c.304.184.56.362.764.515l.237.184.013.016.005.022v2.491l-.003.017-.004.01a.05.05 0 01-.021.018l-.027.005-.01-.003-.015-.01-.148-.127a9.245 9.245 0 00-1.431-.987l-.236-.126-.104-.077a6.994 6.994 0 00-2.269-1.074l-.25-.062a6.939 6.939 0 00-2.395-.118l-.157.021-.2.062-.178.045-.183.04c-1.274.238-2.348-.363-2.988-.869l-.298-.248.216-.165c.258-.187.529-.353.813-.495.506-.252 1.166-.384 1.964-.435zm7.846-7.004a.048.048 0 01.07.013l.008.027v3.057l-.006.024-.017.018a10.98 10.98 0 01-1.864.912c-.262.09-.479.157-.733.223-.514.135-1.058.258-1.526.347l-.317.057c-.285.034-.58.056-.885.066l-.338.006c-1.792.002-3.149-.083-4.145-.462l-.208-.085a6.075 6.075 0 01-.726-.384l-.14-.09c.122-.118.242-.241.36-.37l.157-.163c.161-.157.333-.3.512-.425.843-.566 1.851-.77 2.778-.535l.312.04a6.962 6.962 0 002.51-.202l.256-.074c.195-.06.38-.128.556-.2l.487-.209c.227-.103.437-.212.63-.326l.087-.035a10.827 10.827 0 002.182-1.23z"></path>
</g>
</svg>
);
});

export default Icon;
25 changes: 25 additions & 0 deletions src/Langfuse/components/Text.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { forwardRef } from 'react';

import type { IconType } from '@/types';

import { TITLE } from '../style';

const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {
return (
<svg
fill="currentColor"
fillRule="evenodd"
height={size}
ref={ref}
style={{ flex: 'none', lineHeight: 1, width: 'fit-content', ...style }}
viewBox="0 0 121 24"
xmlns="http://www.w3.org/2000/svg"
{...rest}
>
<title>{TITLE}</title>
<path d="M2 19.913V2h2.49v15.516h9.182v2.397H2zm14.655-9.385c.503-2.6 2.717-4.29 5.534-4.29 3.245 0 5.383 1.893 5.383 5.601v5.072c0 .58.252.832.805.832h.579v2.17h-.705c-1.61 0-2.565-.858-2.817-2.044-.503 1.237-2.063 2.347-4.15 2.347-2.692 0-4.855-1.413-4.855-3.81 0-2.775 2.037-3.557 5.106-4.138l3.597-.706c-.025-2.044-1.182-3.053-2.968-3.053-1.51 0-2.616.908-2.918 2.195l-2.59-.176zm2.34 5.828c.025.933.83 1.715 2.59 1.715 2.013 0 3.598-1.413 3.598-3.81v-.58l-2.868.505c-1.861.328-3.32.48-3.32 2.17zM32.29 6.54h2.24l.075 2.246c.704-1.716 2.188-2.548 3.974-2.548 2.968 0 4.427 2.194 4.427 5.07v8.604h-2.44V11.94c0-2.371-.78-3.607-2.616-3.607-1.937 0-3.22 1.236-3.22 3.607v7.973h-2.44V6.54zM52.13 19.206c-3.296 0-5.635-2.649-5.635-6.408 0-3.885 2.34-6.56 5.635-6.56 1.786 0 3.345.96 3.949 2.347l.025-2.044h2.34V18.45c-.026 3.658-2.34 5.55-5.912 5.55-2.918 0-5.03-1.539-5.66-3.86l2.566-.177c.528 1.16 1.56 1.842 3.094 1.842 2.163 0 3.446-.984 3.471-2.826v-1.993c-.679 1.287-2.289 2.22-3.873 2.22zm-3.07-6.433c0 2.523 1.334 4.289 3.522 4.289 2.139 0 3.447-1.766 3.472-4.29.05-2.497-1.283-4.263-3.472-4.263-2.188 0-3.521 1.766-3.521 4.264zM65.3 5.96C65.3 3.489 66.532 2 69.25 2h3.672v2.17h-3.723c-.855 0-1.459.656-1.459 1.74V7.4h5.006v2.169H67.74v10.344H65.3V9.569h-3.496v-2.17h3.496V5.961zm22.63 13.952h-2.315l-.025-2.17c-.704 1.665-2.163 2.473-3.874 2.473-2.918 0-4.351-2.195-4.351-5.072V6.541h2.44v7.973c0 2.371.78 3.608 2.54 3.608 1.887 0 3.144-1.237 3.144-3.608V6.54h2.44v13.372zm12.844-9.184c-.277-1.412-1.585-2.22-3.144-2.22-1.283 0-2.465.63-2.44 1.867 0 1.337 1.61 1.64 3.094 2.018 2.54.631 5.081 1.565 5.081 4.062 0 2.624-2.515 3.76-5.282 3.76-3.12 0-5.66-1.766-5.861-4.542l2.565-.151c.252 1.488 1.585 2.422 3.296 2.422 1.333 0 2.716-.353 2.716-1.615 0-1.312-1.685-1.539-3.17-1.892-2.515-.605-5.005-1.539-5.005-3.96 0-2.7 2.415-4.24 5.232-4.24s5.006 1.69 5.434 4.34l-2.516.151zm6.128 2.498c0-4.264 2.44-6.988 6.188-6.988 2.993 0 5.71 1.942 5.911 6.761v.933h-9.508c.2 2.523 1.484 4.012 3.597 4.012 1.333 0 2.54-.782 3.119-2.12l2.59.228c-.754 2.548-3.043 4.163-5.71 4.163-3.747 0-6.187-2.725-6.187-6.989zm2.666-1.261h6.767c-.353-2.549-1.736-3.457-3.245-3.457-1.937 0-3.17 1.287-3.522 3.457z"></path>
</svg>
);
});

export default Icon;
72 changes: 72 additions & 0 deletions src/Langfuse/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
nav: Components
group: Application
title: Langfuse
atomId: Langfuse
description: https://langfuse.com
---

## Icons

```tsx
import { Langfuse } from '@lobehub/icons';
import { Flexbox } from 'react-layout-kit';

export default () => (
<Flexbox gap={16} horizontal>
<Langfuse size={64} />
<Langfuse.Color size={64} />
</Flexbox>
);
```

## Text

```tsx
import { Langfuse } from '@lobehub/icons';

export default () => <Langfuse.Text size={48} />;
```

## Combine

```tsx
import { Langfuse } from '@lobehub/icons';
import { Flexbox } from 'react-layout-kit';

export default () => (
<Flexbox gap={16}>
<Langfuse.Combine size={64} />
<Langfuse.Combine size={64} type={'color'} />
</Flexbox>
);
```

## Avatars

```tsx
import { Langfuse } from '@lobehub/icons';
import { Flexbox } from 'react-layout-kit';

export default () => (
<Flexbox gap={16} horizontal>
<Langfuse.Avatar size={64} />
<Langfuse.Avatar size={64} shape={'square'} />
</Flexbox>
);
```

## Colors

```tsx
import { Langfuse } from '@lobehub/icons';
import { Flexbox } from 'react-layout-kit';

import ColorPreview from '../components/ColorPreview';

export default () => (
<Flexbox gap={16} horizontal>
<ColorPreview color={Langfuse.colorPrimary} />
</Flexbox>
);
```
25 changes: 25 additions & 0 deletions src/Langfuse/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import Avatar from './components/Avatar';
import Color from './components/Color';
import Combine from './components/Combine';
import Mono from './components/Mono';
import Text from './components/Text';
import { COLOR_PRIMARY, TITLE } from './style';

export type CompoundedIcon = typeof Mono & {
Avatar: typeof Avatar;
Color: typeof Color;
Combine: typeof Combine;
Text: typeof Text;
colorPrimary: string;
title: string;
};

const Icons = Mono as CompoundedIcon;
Icons.Color = Color;
Icons.Text = Text;
Icons.Combine = Combine;
Icons.Avatar = Avatar;
Icons.colorPrimary = COLOR_PRIMARY;
Icons.title = TITLE;

export default Icons;
4 changes: 4 additions & 0 deletions src/Langfuse/style.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export const TITLE = 'Langfuse';
export const TEXT_MULTIPLE = 0.85;
export const SPACE_MULTIPLE = 0.3;
export const COLOR_PRIMARY = '#000';
Loading

0 comments on commit 977ed25

Please sign in to comment.