added language english
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 221 KiB |
+55
-1
@@ -11,6 +11,14 @@
|
||||
<body>
|
||||
<aside class="sidebar">
|
||||
<div id="sidebar-top">
|
||||
<div class="dropdown">
|
||||
<button id="dropdownButton">Sprache</button>
|
||||
|
||||
<div id="dropdownMenu" class="dropdown-content hidden">
|
||||
<div data-lang="de">Deutsch</div>
|
||||
<div data-lang="en">English</div>
|
||||
</div>
|
||||
</div>
|
||||
<h3 id="sidebar-top-head">Marvin Kraußer</h3>
|
||||
<div id="sidebar-top-content"></div>
|
||||
</div>
|
||||
@@ -30,6 +38,15 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
//document.cookie = "lang=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
|
||||
let lang = getCookie("lang");
|
||||
console.log(lang);
|
||||
if(lang == null){
|
||||
lang = navigator.language.split("-")[0];
|
||||
}
|
||||
if(lang == null){
|
||||
lang = "en";
|
||||
}
|
||||
history.scrollRestoration = "manual";
|
||||
|
||||
function saveScroll() {
|
||||
@@ -76,7 +93,7 @@
|
||||
}
|
||||
|
||||
async function loadData() {
|
||||
const response = await fetch("./lang/de.json");
|
||||
const response = await fetch(`./lang/${lang}.json`);
|
||||
const data = await response.json();
|
||||
|
||||
const website_title = document.getElementById("website_title");
|
||||
@@ -107,6 +124,14 @@
|
||||
content_introduction.textContent = data.content_introduction;
|
||||
introduction.appendChild(content_introduction);
|
||||
|
||||
const github_link_introduction = document.createElement("a");
|
||||
github_link_introduction.textContent = data.github_desc;
|
||||
github_link_introduction.className = "text-link introduction";
|
||||
github_link_introduction.href = "https://github.com/marvinkrausser";
|
||||
github_link_introduction.target = "_blank";
|
||||
github_link_introduction.rel = "noopener noreferrer";
|
||||
introduction.appendChild(github_link_introduction);
|
||||
|
||||
const navbar_item = document.createElement("li");
|
||||
navbar_item.className = "navbar-item";
|
||||
navbar.appendChild(navbar_item);
|
||||
@@ -256,6 +281,35 @@
|
||||
}
|
||||
|
||||
loadData();
|
||||
|
||||
const button = document.getElementById("dropdownButton");
|
||||
const menu = document.getElementById("dropdownMenu");
|
||||
|
||||
// Dropdown öffnen/schließen
|
||||
button.addEventListener("click", () => {
|
||||
menu.classList.toggle("hidden");
|
||||
});
|
||||
|
||||
// Auswahl verarbeiten
|
||||
menu.addEventListener("click", (event) => {
|
||||
const lang_selected = event.target.dataset.lang;
|
||||
|
||||
if (lang_selected) {
|
||||
document.cookie = `lang=${lang_selected}; path=/; max-age=3600`;
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
|
||||
function getCookie(name) {
|
||||
const cookies = document.cookie.split("; ");
|
||||
|
||||
for (let c of cookies) {
|
||||
const [key, value] = c.split("=");
|
||||
if (key === name) return value;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
+24
-9
@@ -20,15 +20,13 @@
|
||||
"github": "https://github.com/MarvinKrausser/pixelcnn",
|
||||
"blocks": [
|
||||
{
|
||||
"label": "",
|
||||
"heading": "Bildgenerierung mit Deep Learning",
|
||||
"text": "Das Modell verwendet Convolutional Neural Networks und Deep Learning zur Generierung von Bildern. Als Trainingsdatensatz wurden die MNIST-Digits verwendet und mittels CUDA auf einer GPU trainiert. Zusätzlich kann das Modell gezielt mit Klassen als Eingabe gesteuert werden, wie im Beispiel mit den Ziffern von 0 bis 9 gezeigt. Aufgrund begrenzter Ressourcen ist mein Modell auf Datensätze mit niedriger Komplexität beschränkt.",
|
||||
"image": "images/mnist_conditioned_gen_results_cropped.png"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"heading": "Seminararbeit",
|
||||
"text": "Das Projekt entstand begleitend zusätzlich zu einer --link-- und --link--.",
|
||||
"text": "Zusätzlich zum Projekt wurde eine --link-- und ein --link-- erstellt.",
|
||||
"image": "images/seminararbeit.png",
|
||||
"links": [
|
||||
{
|
||||
@@ -53,12 +51,12 @@
|
||||
"C#",
|
||||
".net",
|
||||
"Unity",
|
||||
"Docker"
|
||||
"Docker",
|
||||
"JSON"
|
||||
],
|
||||
"github": "https://github.com/MarvinKrausser/BoardgameServer",
|
||||
"blocks": [
|
||||
{
|
||||
"label": "",
|
||||
"heading": "Client",
|
||||
"text": "Der Game Client wurde mit Unity und C# entwickelt und basiert auf einem rundenbasierten Bewegungs- und Kartensystem. Sämtliche Designs wurden eigenständig erstellt. Auch ein --link-- und --link-- wurden erstellt.",
|
||||
"image": "images/boardgame_demo.png",
|
||||
@@ -76,13 +74,11 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"heading": "Server",
|
||||
"text": "Der Server wurde in C# mit einer mehrschichtigen Architektur umgesetzt, die eine klare Trennung zwischen WebSocket-Verbindungsmanagement und spielbezogener Logik (z. B. Spielerzuweisung und Sitzungsverwaltung) ermöglicht. Die Kommunikation zwischen Server und Client wurde durch ein definiertes JSON-Schema standardisiert, um die Kompatibilität und Austauschbarkeit der von verschiedenen Entwicklerteams entwickelten Komponenten sicherzustellen.",
|
||||
"image": "images/boardgame_connection.png"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"heading": "KI-Spieler",
|
||||
"text": "Zusätzlich wurden mehrere regelbasierte KI-Spieler implementiert, die in das System integriert werden können. Die Codequalität wurde durch automatisierte Tests sichergestellt. Die Zusammenarbeit im Team erfolgte nach agilen Methoden (Scrum), und Server sowie KI wurden containerbasiert mit Docker bereitgestellt.",
|
||||
"image": "images/boardgame_ai.png"
|
||||
@@ -95,7 +91,8 @@
|
||||
"description": "Singleplayer Towerdefense Game mit Editor entstanden im Rahmen einer Vorlesung als Einzelprojekt.",
|
||||
"tags": [
|
||||
"C#",
|
||||
"Unity"
|
||||
"Unity",
|
||||
"JSON"
|
||||
],
|
||||
"github": "https://github.com/MarvinKrausser/TowerDefenseGame",
|
||||
"links": [
|
||||
@@ -107,12 +104,30 @@
|
||||
],
|
||||
"blocks": [
|
||||
{
|
||||
"label": "",
|
||||
"heading": "Singleplayer Tower Defense Game",
|
||||
"text": "Einfaches Tower-Defense-Spiel das von Grund auf mit eigenen Designs erstellt wurde. Nutzt den A*-Algorithmus zur Berechnung des Laufweges. Ein Demo-Build ist im Github Repository vorhanden.",
|
||||
"image": "images/towerdefense_demo.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "personal_website",
|
||||
"title": "Portfolio Website",
|
||||
"description": "Eine Website zum Vorzeigen meiner Projekte.",
|
||||
"tags": [
|
||||
"HTML",
|
||||
"CSS",
|
||||
"Javascript",
|
||||
"JSON"
|
||||
],
|
||||
"github": "https://github.com/MarvinKrausser/MarvinKrausser.github.io",
|
||||
"blocks": [
|
||||
{
|
||||
"heading": "Technisches",
|
||||
"text": "Die Website wurde mit HTML, CSS und JavaScript ohne die Verwendung externer Libraries entwickelt. Der Inhalt ist in sprachspezifischen JSON-Dateien gespeichert. Die Website wird dynamisch mithilfe von JavaScript aus der jeweiligen JSON-Datei generiert. Das Git-Repository verwendet einen Feature-Branch-Workflow, um die Korrektheit der Website auch während der Entwicklung sicherzustellen.",
|
||||
"image": "images/personal_website.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
+133
@@ -0,0 +1,133 @@
|
||||
{
|
||||
"title_website": "Marvin's Portfolio",
|
||||
"title_introduction": "Hello!",
|
||||
"content_introduction": "I am studying Media Informatics for my Bachelor's degree and have gained practical experience in various projects as part of my studies. I especially enjoy working on projects where I can explore and deepen new technologies, currently with a focus on machine learning.",
|
||||
"status": "Student B.Sc.",
|
||||
"profession": "Media Informatics",
|
||||
"workplace": "Ulm University",
|
||||
"github_desc": "View on GitHub ↗",
|
||||
"navbar_group": "Projects",
|
||||
"content": [
|
||||
{
|
||||
"id": "pixelcnn",
|
||||
"title": "PixelCNN Image Generation",
|
||||
"description": "Autoregressive deep learning model based on PixelCNN for generative image synthesis using PyTorch.",
|
||||
"tags": [
|
||||
"Python",
|
||||
"PyTorch",
|
||||
"CUDA"
|
||||
],
|
||||
"github": "https://github.com/MarvinKrausser/pixelcnn",
|
||||
"blocks": [
|
||||
{
|
||||
"heading": "Image generation with Deep Learning",
|
||||
"text": "The model uses Convolutional Neural Networks and deep learning to generate images. The MNIST digits dataset was used for training, and the model was trained on a GPU using CUDA. Additionally, the model can be specifically controlled with class inputs, as shown in the example with digits from 0 to 9. Due to limited resources, my model is restricted to low-complexity datasets.",
|
||||
"image": "images/mnist_conditioned_gen_results_cropped.png"
|
||||
},
|
||||
{
|
||||
"heading": "Seminar paper",
|
||||
"text": "A --link-- and --link-- was created alongside the Project.",
|
||||
"image": "images/seminararbeit.png",
|
||||
"links": [
|
||||
{
|
||||
"id": "seminararbeit",
|
||||
"link": "pdfs/Seminararbeit.pdf",
|
||||
"desc": "Seminar paper ↗"
|
||||
},
|
||||
{
|
||||
"id": "seminarvortrag",
|
||||
"link": "pdfs/Seminararbeit_Vortrag.pdf",
|
||||
"desc": "Presentation ↗"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "boardgame",
|
||||
"title": "Online Multiplayer Game",
|
||||
"description": "An online multiplayer board game with server, game client, and AI players developed as a group project with five other students.",
|
||||
"tags": [
|
||||
"C#",
|
||||
".net",
|
||||
"Unity",
|
||||
"Docker",
|
||||
"JSON"
|
||||
],
|
||||
"github": "https://github.com/MarvinKrausser/BoardgameServer",
|
||||
"blocks": [
|
||||
{
|
||||
"heading": "Client",
|
||||
"text": "The game client was developed using Unity and C# and is based on a turn-based movement and card system. All designs were created independently. A --link-- and --link-- were also created.",
|
||||
"image": "images/boardgame_demo.png",
|
||||
"links": [
|
||||
{
|
||||
"id": "entwicklerhandbuch",
|
||||
"link": "pdfs/Team23_Entwicklerhandbuch_BoC.pdf",
|
||||
"desc": "Developer handbook ↗"
|
||||
},
|
||||
{
|
||||
"id": "benutzerhandbuch",
|
||||
"link": "pdfs/Team23_Benutzerhandbuch_BoC.pdf",
|
||||
"desc": "User manual ↗"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"heading": "Server",
|
||||
"text": "The server was implemented in C# using a layered architecture that ensures a clear separation between WebSocket connection management and game-related logic (e.g. player assignment and session management). Communication between server and client was standardized using a defined JSON schema to ensure compatibility and interchangeability of components developed by different teams.",
|
||||
"image": "images/boardgame_connection.png"
|
||||
},
|
||||
{
|
||||
"heading": "AI Players",
|
||||
"text": "In addition, several rule-based AI players were implemented that can be integrated into the system. Code quality was ensured through automated tests. Team collaboration followed agile methods (Scrum), and both server and AI were deployed using Docker containers.",
|
||||
"image": "images/boardgame_ai.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "towerdefense",
|
||||
"title": "Tower Defense Game",
|
||||
"description": "Singleplayer tower defense game with editor developed as an individual project within a university course.",
|
||||
"tags": [
|
||||
"C#",
|
||||
"Unity",
|
||||
"JSON"
|
||||
],
|
||||
"github": "https://github.com/MarvinKrausser/TowerDefenseGame",
|
||||
"links": [
|
||||
{
|
||||
"id": "github",
|
||||
"link": "https://github.com/MarvinKrausser/TowerDefenseGame",
|
||||
"desc": "View on GitHub ↗"
|
||||
}
|
||||
],
|
||||
"blocks": [
|
||||
{
|
||||
"heading": "Singleplayer Tower Defense Game",
|
||||
"text": "Simple tower defense game created entirely from scratch with custom designs. Uses the A* algorithm to calculate the pathfinding route. A demo build is available in the GitHub repository.",
|
||||
"image": "images/towerdefense_demo.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "personal_website",
|
||||
"title": "Portfolio Website",
|
||||
"description": "A website to showcase my projects.",
|
||||
"tags": [
|
||||
"HTML",
|
||||
"CSS",
|
||||
"Javascript",
|
||||
"JSON"
|
||||
],
|
||||
"github": "https://github.com/MarvinKrausser/MarvinKrausser.github.io",
|
||||
"blocks": [
|
||||
{
|
||||
"heading": "Technical details",
|
||||
"text": "The website was developed using HTML, CSS, and JavaScript without the use of external libraries. The content is stored in language-specific JSON files. The website is dynamically generated using JavaScript based on the respective JSON file. The Git repository follows a feature-branch workflow to ensure correctness of the website even during development.",
|
||||
"image": "images/personal_website.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
+25
-10
@@ -62,6 +62,16 @@ a {
|
||||
width: 230px;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dropdown-content {
|
||||
border: 1px solid #ccc;
|
||||
background: white;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#sidebar-top {
|
||||
padding: 36px 32px 28px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
@@ -149,7 +159,7 @@ a {
|
||||
|
||||
#introduction {
|
||||
padding-top: 100px;
|
||||
margin-left: 100px;
|
||||
margin-left: 60px;
|
||||
margin-bottom: 150px;
|
||||
margin-right: 100px;
|
||||
}
|
||||
@@ -158,6 +168,10 @@ a {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.text-link.introduction {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.project-section {
|
||||
border-top: 1px solid var(--border);
|
||||
border-bottom: 1px solid var(--border);
|
||||
@@ -171,11 +185,12 @@ a {
|
||||
|
||||
.section-header {
|
||||
margin: 80px;
|
||||
margin-left: 100px;
|
||||
margin-left: 60px;
|
||||
margin-right: 40%;
|
||||
}
|
||||
|
||||
.tags {
|
||||
margin-top: 40px;
|
||||
margin-top: 30px;
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
flex-wrap: wrap;
|
||||
@@ -201,12 +216,12 @@ a {
|
||||
}
|
||||
|
||||
.block-image.right {
|
||||
margin-right: 100px;
|
||||
margin-right: 60px;
|
||||
border-left: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.block-image.left {
|
||||
margin-left: 100px;
|
||||
margin-left: 60px;
|
||||
border-right: 1px solid var(--border);
|
||||
}
|
||||
|
||||
@@ -219,13 +234,13 @@ a {
|
||||
}
|
||||
|
||||
.block-text.right {
|
||||
margin-right: 100px;
|
||||
padding-left: 50px;
|
||||
margin-right: 60px;
|
||||
padding-left: 60px;
|
||||
}
|
||||
|
||||
.block-text.left {
|
||||
padding-right: 50px;
|
||||
margin-left: 100px;
|
||||
padding-right: 60px;
|
||||
margin-left: 60px;
|
||||
}
|
||||
|
||||
.text-content {
|
||||
@@ -259,6 +274,6 @@ a {
|
||||
}
|
||||
|
||||
.link-row {
|
||||
margin: 100px;
|
||||
margin: 60px;
|
||||
margin-top: 30px;
|
||||
}
|
||||
Reference in New Issue
Block a user