-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathit-course-projects.html
More file actions
246 lines (220 loc) · 12.1 KB
/
it-course-projects.html
File metadata and controls
246 lines (220 loc) · 12.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="IT course projects from my Gymnasium years — algorithms, data structures, and software engineering experiments.">
<title>IT Course Projects | DevTimmOfTO</title>
<link rel="shortcut icon" href="img/profil_pic.png">
<link href="fontawesome-free-6.4.0-web/css/fontawesome.css" rel="stylesheet">
<link href="fontawesome-free-6.4.0-web/css/brands.css" rel="stylesheet">
<link href="fontawesome-free-6.4.0-web/css/solid.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,200;0,300;1,200&display=swap" rel="stylesheet">
<script>
tailwind = { config: { darkMode: 'class' } }
</script>
<script src="https://cdn.tailwindcss.com"></script>
<style type="text/tailwindcss">
html { scroll-behavior: smooth; }
/* Dark mode overrides */
.dark .dm-bg-page { background-color: #111827 !important; }
.dark .dm-bg-header { background-color: #0d1117 !important; }
.dark .dm-bg-nav { background-color: #161b22 !important; }
.dark .dm-bg-card { background-color: #1f2937 !important; }
.dark .dm-text-main { color: #e2e8f0 !important; }
.dark .dm-text-sub { color: #94a3b8 !important; }
.dark .dm-text-heading { color: #cbd5e1 !important; }
</style>
</head>
<body class="dm-bg-page dm-text-main bg-gray-100 font-sans text-gray-800 transition-colors duration-300">
<!-- Top bar -->
<div class="dm-bg-header bg-gray-800 text-white text-sm py-2 px-4 flex justify-between items-center">
<button onclick="toggleDarkMode()" class="flex items-center gap-1 hover:text-gray-300" title="Toggle dark mode">
<i id="darkModeIcon" class="fa-solid fa-moon"></i>
</button>
<div class="flex space-x-4">
<button onclick="setLanguage('de')">Deutsch</button>
<button onclick="setLanguage('en')">English</button>
<button onclick="setLanguage('fr')">Français</button>
</div>
</div>
<header class="dm-bg-header bg-gray-800 text-white py-4 text-center">
<h1 class="text-2xl font-bold" data-i18n="pageTitle">IT Course Projects</h1>
<p class="text-gray-300 mt-1" data-i18n="pageSubtitle">Projects from my Gymnasium years</p>
</header>
<nav class="dm-bg-nav bg-gray-700 py-2 flex justify-center flex-wrap gap-1 sticky top-0 z-50">
<a href="index.html" class="text-white hover:underline mx-4 px-2 py-1">
<i class="fa-solid fa-arrow-left mr-1"></i><span data-i18n="navBack">Back to Portfolio</span>
</a>
<span class="text-gray-500 self-center">|</span>
<a href="#cat-delphi" class="text-white hover:underline mx-2 px-2 py-1">Delphi</a>
<a href="#cat-filius" class="text-white hover:underline mx-2 px-2 py-1">Filius</a>
<a href="#cat-prolog" class="text-white hover:underline mx-2 px-2 py-1">Prolog</a>
</nav>
<div class="container mx-auto mt-8 px-4 max-w-5xl">
<p class="dm-text-sub text-gray-500 mb-8" data-i18n="sectionDesc">A collection of programming projects built during advanced computer science courses — covering algorithms, data structures, and various languages.</p>
<div id="categories-container"></div>
</div>
<footer class="dm-bg-header bg-gray-800 text-white text-center py-4 mt-8">
<p>© 2026 Timm Johannes Göring | <a href="index.html" class="hover:underline" data-i18n="footerLink">Professional Portfolio</a></p>
</footer>
<script>
const translations = {
de: {
pageTitle: "Informatik-Projekte",
pageSubtitle: "Projekte aus meiner Gymnasialzeit",
navBack: "Zurück zum Portfolio",
sectionDesc: "Eine Sammlung von Programmierprojekten aus dem Informatikunterricht – Algorithmen, Datenstrukturen und verschiedene Programmiersprachen.",
repoLabel: "GitHub Repository",
footerLink: "Professionelles Portfolio",
catDelphiDesc: "Objektorientierte Projekte in Delphi/Pascal – von einfachen Konsolenanwendungen bis hin zu GUI-Programmen.",
catFiliusDesc: "Netzwerksimulationen mit Filius – einem Lernwerkzeug für Computernetzwerke.",
catPrologDesc: "Logikprogrammierung in Prolog – deklarative Problemlösung mit Fakten und Regeln.",
},
en: {
pageTitle: "IT Course Projects",
pageSubtitle: "Projects from my Gymnasium years",
navBack: "Back to Portfolio",
sectionDesc: "A collection of programming projects built during advanced computer science courses — covering algorithms, data structures, and various languages.",
repoLabel: "GitHub Repository",
footerLink: "Professional Portfolio",
catDelphiDesc: "Object-oriented projects in Delphi/Pascal — from simple console apps to GUI programs.",
catFiliusDesc: "Network simulations using Filius — a learning tool for computer networks.",
catPrologDesc: "Logic programming in Prolog — declarative problem solving with facts and rules.",
},
fr: {
pageTitle: "Projets d'informatique",
pageSubtitle: "Projets réalisés durant mes années de lycée",
navBack: "Retour au portfolio",
sectionDesc: "Une collection de projets de programmation réalisés lors de cours d'informatique avancés — algorithmes, structures de données et divers langages.",
repoLabel: "Dépôt GitHub",
footerLink: "Portfolio professionnel",
catDelphiDesc: "Projets orientés objet en Delphi/Pascal — des applications console simples aux programmes avec interface graphique.",
catFiliusDesc: "Simulations réseau avec Filius — un outil pédagogique pour les réseaux informatiques.",
catPrologDesc: "Programmation logique en Prolog — résolution déclarative de problèmes avec des faits et des règles.",
}
};
// ─── Project data ────────────────────────────────────────────────────────────
// To add repos: fill in the repo name string in the relevant category below.
// Placeholders marked with TODO can be replaced with the real repo name.
const categories = [
{
id: 'delphi',
label: 'Delphi',
descKey: 'catDelphiDesc',
accent: 'indigo',
repos: [
"Simple-Hello-World",
"SimpleDivision",
"SimpleCashier",
"KoerperCalc1.0",
"KoerperCalc2.0",
"KoerperCalc3.0",
"SpeedCodingDelphi",
"pq-Formel",
"Notenberechung",
"Altersbestimmung",
"GraphsPlot",
"accountsystem-with-email-and-pwrd",
"Verschluesselung-Delphi",
"Paketprogramm",
"TheWuerfelGame",
"Friendbook",
]
},
{
id: 'filius',
label: 'Filius',
descKey: 'catFiliusDesc',
accent: 'teal',
repos: [
// TODO: replace with your Filius repo name
"filius_gymnasium",
]
},
{
id: 'prolog',
label: 'Prolog',
descKey: 'catPrologDesc',
accent: 'amber',
repos: [
// TODO: replace with your Prolog repo name(s)
"?YOUR-PROLOG-REPO-HERE",
]
},
];
const owner = "DevTimmOfTO";
// Accent colour map — Tailwind classes per category colour
const accentClasses = {
indigo: { title: 'text-indigo-500', border: 'border-indigo-400', badge: 'bg-indigo-100 text-indigo-700' },
teal: { title: 'text-teal-500', border: 'border-teal-400', badge: 'bg-teal-100 text-teal-700' },
amber: { title: 'text-amber-500', border: 'border-amber-400', badge: 'bg-amber-100 text-amber-700' },
};
// ─── Render ───────────────────────────────────────────────────────────────────
let currentLang = 'de';
function renderAll() {
const container = document.getElementById('categories-container');
const label = translations[currentLang].repoLabel;
container.innerHTML = '';
for (const cat of categories) {
const ac = accentClasses[cat.accent];
const desc = translations[currentLang][cat.descKey] || '';
const section = document.createElement('section');
section.id = `cat-${cat.id}`;
section.className = 'mb-12';
// Section header
const header = document.createElement('div');
header.className = `flex items-center gap-3 mb-2 border-l-4 pl-3 ${ac.border}`;
header.innerHTML = `<h2 class="dm-text-heading text-2xl font-semibold text-gray-700">${cat.label}</h2>`;
section.appendChild(header);
// Description
const descEl = document.createElement('p');
descEl.className = 'dm-text-sub text-gray-500 mb-4 text-sm';
descEl.textContent = desc;
section.appendChild(descEl);
// Grid
const grid = document.createElement('div');
grid.className = 'grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4';
for (const repo of cat.repos) {
const card = document.createElement('a');
card.href = `https://github.com/${owner}/${repo}`;
card.target = '_blank';
card.rel = 'noopener noreferrer';
card.className = 'dm-bg-card bg-white rounded-xl shadow-md p-6 flex flex-col gap-2 transition-all duration-200 hover:shadow-xl hover:-translate-y-1';
card.innerHTML = `
<div class="flex items-center gap-2 text-sm dm-text-sub text-gray-400">
<i class="fa-brands fa-github"></i>
<span>${label}</span>
</div>
<h3 class="text-base font-semibold ${ac.title} break-words">${repo}</h3>
<div class="mt-auto pt-2 text-xs dm-text-sub text-gray-400 flex items-center gap-1">
<i class="fa-solid fa-arrow-up-right-from-square"></i>
<span>${owner}</span>
</div>
`;
grid.appendChild(card);
}
section.appendChild(grid);
container.appendChild(section);
}
}
function setLanguage(lang) {
currentLang = lang;
document.documentElement.lang = lang;
document.querySelectorAll('[data-i18n]').forEach(el => {
const key = el.getAttribute('data-i18n');
if (translations[lang][key]) el.innerHTML = translations[lang][key];
});
renderAll();
}
function toggleDarkMode() {
const html = document.documentElement;
html.classList.toggle('dark');
document.getElementById('darkModeIcon').className = html.classList.contains('dark')
? 'fa-solid fa-sun'
: 'fa-solid fa-moon';
}
renderAll();
</script>
</body>
</html>