|
1 | 1 | <script lang="ts"> |
2 | 2 | import { onMount } from "svelte"; |
3 | | - import type { Arc } from "$lib/types/themis" |
| 3 | + import type { Arc } from "$lib/types/themis"; |
4 | 4 | import { savedCourses } from "$lib/stores/themisStores"; |
5 | | - |
6 | | - function countModules(arcs: Arc[]) :number { |
| 5 | +
|
| 6 | + function countModules(arcs: Arc[]): number { |
7 | 7 | let total = 0; |
8 | | - arcs.forEach((arc) => { total += arc.modules.length }) |
| 8 | + arcs.forEach((arc) => { |
| 9 | + total += arc.modules.length; |
| 10 | + }); |
9 | 11 | return total; |
10 | 12 | } |
11 | 13 |
|
12 | 14 | onMount(() => { |
13 | | - console.log("Welcome to Pedagogue"); |
| 15 | + console.log("Welcome to Rhea"); |
14 | 16 | }); |
15 | 17 | </script> |
16 | 18 |
|
|
33 | 35 | <!-- TODO: create separate WorkflowCard component --> |
34 | 36 | <!-- TODO: address a11y issues from workflow cards --> |
35 | 37 | <div class="workflow-cards"> |
36 | | - <a href="/theia" class="workflow-card theia-card"> |
| 38 | + <a href="/theia/resume" class="workflow-card theia-card"> |
37 | 39 | <img src="/theia/icon.png" alt="Theia" class="card-icon" /> |
38 | 40 | <h2>Theia</h2> |
39 | | - <p>Upload and manage previously generated course structures and modules.</p> |
| 41 | + <p> |
| 42 | + Upload and manage previously generated course structures and modules. |
| 43 | + </p> |
40 | 44 | <div class="card-features"> |
41 | 45 | <span>✓ Upload course JSON</span> |
42 | 46 | <span>✓ Resume workflows</span> |
|
48 | 52 | <a href="/themis/generate" class="workflow-card themis-card"> |
49 | 53 | <img src="/themis/icon.png" alt="Themis" class="card-icon" /> |
50 | 54 | <h2>Themis</h2> |
51 | | - <p>Create a complete multi-week course with interconnected modules and |
52 | | - learning progressions.</p> |
| 55 | + <p> |
| 56 | + Create a complete multi-week course with interconnected modules and |
| 57 | + learning progressions. |
| 58 | + </p> |
53 | 59 | <div class="card-features"> |
54 | 60 | <span>✓ Multiple modules</span> |
55 | 61 | <span>✓ Course structure</span> |
|
71 | 77 | <a href="/metis/update" class="workflow-card metis-card"> |
72 | 78 | <img src="/metis/icon.png" alt="Metis" class="card-icon" /> |
73 | 79 | <h2>Metis</h2> |
74 | | - <p>Create a standalone module specification with projects, skills, and |
75 | | - research topics.</p> |
| 80 | + <p> |
| 81 | + Create a standalone module specification with projects, skills, and |
| 82 | + research topics. |
| 83 | + </p> |
76 | 84 | <div class="card-features"> |
77 | 85 | <span>✓ Project briefs</span> |
78 | 86 | <span>✓ Learning objectives</span> |
|
320 | 328 | } |
321 | 329 |
|
322 | 330 | .course-item:hover { |
323 | | - border-color: #D7B130; |
| 331 | + border-color: #d7b130; |
324 | 332 | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
325 | 333 | } |
326 | 334 |
|
|
0 commit comments