mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-12 12:20:23 +01:00
fix: topic selector (#129)
* feat: add jazz globa group cons * chore: remove topic selector atom * chore: use jazz from constant * chore: remove delete model and add new topic selector * chore: use jazz group id form constant in search component * chore: use jazz group id form constant in public home route * fix: topic selector in link * fix: topic section in detail topic * chore: update la editor * chore: content header tweak class * chore: add btn variant to topic selector * refactor: tweak border for link header * chore: page header * fix: page detail route
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import { ID } from "jazz-tools"
|
||||
import { icons } from "lucide-react"
|
||||
import { PublicGlobalGroup } from "./schema/master/public-group"
|
||||
|
||||
export type LearningStateValue = "wantToLearn" | "learning" | "learned"
|
||||
export type LearningState = {
|
||||
@@ -13,3 +15,5 @@ export const LEARNING_STATES: LearningState[] = [
|
||||
{ label: "Learning", value: "learning", icon: "GraduationCap", className: "text-[#D29752]" },
|
||||
{ label: "Learned", value: "learned", icon: "Check", className: "text-[#708F51]" }
|
||||
] as const
|
||||
|
||||
export const JAZZ_GLOBAL_GROUP_ID = process.env.NEXT_PUBLIC_JAZZ_GLOBAL_GROUP as ID<PublicGlobalGroup>
|
||||
|
||||
Reference in New Issue
Block a user