feat: not uygulaması ve altyapısını ekle
- iOS Memos benzeri PWA ön yüz eklendi (React, Tailwind) - Express tabanlı arka uç, AnythingLLM API entegrasyonu ve senkronizasyon kuyruğu oluşturuldu - Docker, TypeScript ve proje konfigürasyonları tanımlandı
This commit is contained in:
21
frontend/src/components/ui/radius.ts
Normal file
21
frontend/src/components/ui/radius.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
export type Radius = "pill" | "3xl" | "2xl" | "xl" | "lg" | "md" | "none";
|
||||
|
||||
export const radiusClass = (radius: Radius) => {
|
||||
switch (radius) {
|
||||
case "pill":
|
||||
return "rounded-full";
|
||||
case "3xl":
|
||||
return "rounded-3xl";
|
||||
case "2xl":
|
||||
return "rounded-2xl";
|
||||
case "xl":
|
||||
return "rounded-xl";
|
||||
case "lg":
|
||||
return "rounded-lg";
|
||||
case "md":
|
||||
return "rounded-md";
|
||||
case "none":
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user