remove topics..

This commit is contained in:
2026-08-04 11:19:45 +09:00
parent 8cc0e46422
commit c7de438d57
2 changed files with 1 additions and 16 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "lms", "name": "lms",
"version": "1.1.3", "version": "1.1.4",
"description": "Autonomy Studio LMS Electron app", "description": "Autonomy Studio LMS Electron app",
"main": "./out/main/index.js", "main": "./out/main/index.js",
"author": { "author": {
@@ -6,7 +6,6 @@ type LearningInfoWeek = {
title: string title: string
tags: string[] tags: string[]
progress: number progress: number
topics: string[]
duration: string duration: string
detail: { detail: {
requiresSourceSubmission?: boolean requiresSourceSubmission?: boolean
@@ -61,20 +60,6 @@ export default function LearningInfoCard({
</div> </div>
<div className="my-[17px] overflow-hidden rounded-lg border border-[#dfe3ed] bg-[#fbfcff]"> <div className="my-[17px] overflow-hidden rounded-lg border border-[#dfe3ed] bg-[#fbfcff]">
<div className="border-b border-[#edf0f5] px-3.5 py-3">
<span className="flex items-center gap-2 text-[12px] font-bold text-[#151827]">
<BookOpen size={14} className="text-[#6d7788]" />
학습 주제
</span>
<div className="mt-2 grid gap-1.5">
{week.topics.map((topic, index) => (
<div key={topic} className="flex items-center gap-2 rounded-md px-1 py-0.5 text-[12px] font-medium text-[#4f596b]">
<span className="grid h-5 w-5 shrink-0 place-items-center rounded bg-[#ede9ff] text-[10px] font-bold text-[#714ef6]">{index + 1}</span>
<span className="min-w-0 truncate">{topic}</span>
</div>
))}
</div>
</div>
{[ {[
{ label: '예상 학습 시간', value: week.duration, Icon: Clock3 }, { label: '예상 학습 시간', value: week.duration, Icon: Clock3 },
...(week.detail.requiresSourceSubmission ...(week.detail.requiresSourceSubmission