From 1420240b1b157aebaa96b3a7a825e73631794d6a Mon Sep 17 00:00:00 2001 From: junu park Date: Thu, 25 Dec 2025 16:17:05 +0900 Subject: [PATCH] made everything except the json part. thinking about combining it with the calendar --- index.html | 54 ++++++++++++++++++++-- src/index.ts | 21 +++++++++ src/main.ts | 24 ---------- src/style.css | 120 +++++++++++++++++++----------------------------- src/syllabus.ts | 1 + syllabus.html | 35 ++++++++++++-- vite.config.ts | 8 ++++ 7 files changed, 155 insertions(+), 108 deletions(-) create mode 100644 src/index.ts delete mode 100644 src/main.ts create mode 100644 src/syllabus.ts create mode 100644 vite.config.ts diff --git a/index.html b/index.html index f5bdd6e..85deab3 100644 --- a/index.html +++ b/index.html @@ -2,12 +2,56 @@ - - - {준후의 서버} + 6.S913 Fundamentals of Linux Systems + -
- +

Fundamentals of linux systems

+
Go to syllabus
+ +

Schedule

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SunMonTueWedThrFriSat
2021222324
252627282930
+ + diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..7ae4b18 --- /dev/null +++ b/src/index.ts @@ -0,0 +1,21 @@ +import './style.css' +/*fetch("data/lecture_schedule.json") + .then(response => response.json()) + .then(data => { + document.getElementById("course-title").textContent = + `${data.course.title} (${data.course.semester})`; + + const scheduleList = document.getElementById("schedule"); + + data.weeks.forEach(week => { + const li = document.createElement("li"); + li.innerHTML = ` + ${week.week}주차 (${week.date})
+ 주제: ${week.topic} + `; + scheduleList.appendChild(li); + }); + }) + .catch(error => { + console.error("schedule not loaded:", error); + });*/ \ No newline at end of file diff --git a/src/main.ts b/src/main.ts deleted file mode 100644 index 6396b50..0000000 --- a/src/main.ts +++ /dev/null @@ -1,24 +0,0 @@ -import './style.css' -import typescriptLogo from './typescript.svg' -import viteLogo from '/vite.svg' -import { setupCounter } from './counter.ts' - -document.querySelector('#app')!.innerHTML = ` -
- - - - - - -

Vite + TypeScript

-
- -
-

- Click on the Vite and TypeScript logos to learn more -

-
-` - -setupCounter(document.querySelector('#counter')!) diff --git a/src/style.css b/src/style.css index 3bcdbd0..585ff36 100644 --- a/src/style.css +++ b/src/style.css @@ -1,96 +1,68 @@ -:root { - font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; - line-height: 1.5; - font-weight: 400; - - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; - - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} -a:hover { - color: #535bf2; -} body { - margin: 0; - display: flex; - place-items: center; + place-items:top; min-width: 320px; min-height: 100vh; } h1 { - font-size: 3.2em; + text-align: center; + font-size: 4.2em; line-height: 1.1; } -#app { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} +ul { -.logo { - height: 6em; - padding: 1.5em; - will-change: filter; - transition: filter 300ms; + text-align:left; + font-size: 2em; + line-height: 1.8; } -.logo:hover { - filter: drop-shadow(0 0 2em #646cffaa); -} -.logo.vanilla:hover { - filter: drop-shadow(0 0 2em #3178c6aa); -} - .card { - padding: 2em; + padding: 0.8em; + width: fit-content; + background-color: #d0ff00dc; } -.read-the-docs { - color: #888; +.highlight1{ + color:blue; + font-size:1em; + font-weight:bold; } -button { - border-radius: 8px; - border: 1px solid transparent; - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: 500; - font-family: inherit; - background-color: #1a1a1a; - cursor: pointer; - transition: border-color 0.25s; +.highlight2{ + color:red; + font-size:1em; + font-weight:bold; +} +.highlight3{ + color:black + font=size:1em; + font-weight:bold; } -button:hover { - border-color: #646cff; +.highlight4{ + color:black; + font=size:1.4em; + font-weight:bold; } -button:focus, -button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; + +h2{ + font-size:3em; + line-height:3; +} +.calendar { + width: 100%; + table-layout: fixed; + border-collapse: collapse; } -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } +.calendar th, +.calendar td { + border: 1px solid #ccc; + height: 170px; + text-align: center; + vertical-align: top; } + +.calendar th { + background: #f5f5f5; +} \ No newline at end of file diff --git a/src/syllabus.ts b/src/syllabus.ts new file mode 100644 index 0000000..c875cdc --- /dev/null +++ b/src/syllabus.ts @@ -0,0 +1 @@ +import './style.css' \ No newline at end of file diff --git a/syllabus.html b/syllabus.html index b74c6be..82a7d91 100644 --- a/syllabus.html +++ b/syllabus.html @@ -2,12 +2,37 @@ - - - {강의계획서 페이지} + 6.S913 Fundamentals of Linux Systems-Syllabus -
- +

Fundamentals of linux systems-Syllabus

+ +
+
    +
  • Assignment +
    The assignment for this course has four main parts, named busybox, kernel, user, image
    +
    All parts must be completed and integrated together + to receive credit for the course
    +
    Assignment must be submitted by + Friday, January 30, 2026 11:59PM GMT-5
    +
    Students will be given a somewhat minimal scaffold for their projects and will be responsible for submitting a + tarball for their project
    +
    Docker is required on all systems, and Windows users are strongly advised to use wsl
    +
  • +
  • The assignment should be done on sufficiently modern hardware (for reference, you should expect to compile + the linux kernel)
  • +
  • + A significant part of this course is learning to maintain clean, reproducible filesystem state +
  • +
  • We will only grade the final submissions of those who have registered for credit. Submission logistics will be + announced later
  • +
  • Click Back to Main to go back to the Main page
  • +
+
+ + + + + diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..3cb209a --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,8 @@ +export default { + server: { + watch: { + usePolling: true, + interval: 100, + }, + }, +} \ No newline at end of file