8 changed files with 187 additions and 271 deletions

No files matched your search

+14 -146
View File
@@ -52,6 +52,20 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk
# ---> VisualStudioCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# Local History for Visual Studio Code
.history/
# Built Visual Studio Code Extensions
*.vsix
# ---> VisualStudio
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
@@ -454,149 +468,3 @@ FodyWeavers.xsd
# JetBrains Rider
*.sln.iml
# ---> VisualStudioCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# Local History for Visual Studio Code
.history/
# Built Visual Studio Code Extensions
*.vsix
# ---> Node
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional stylelint cache
.stylelintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
out
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# vuepress v2.x temp and cache directory
.temp
.cache
# Docusaurus cache and generated files
.docusaurus
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
+2 -2
View File
@@ -1,3 +1,3 @@
# msc-uxd-fs26-test
# Social_Cooking_Team
Test-Repository für Unterrichtszwecke
Hier im Readme schreiben wir etwas dazu, wie/ob wir KI benutzen.
-122
View File
@@ -1,122 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Estelle's Comedy Show</title>
<style>
:root {
--bg-color: #111;
--text-color: #eee;
--accent-color: #ff69b4; /* pink accent */
--accent2-color: #9370db; /* lila accent */
--font-stack: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
margin: 0;
font-family: var(--font-stack);
color: var(--text-color);
background-color: var(--bg-color);
text-align: center;
overflow-x: hidden;
}
header {
background-color: #222;
padding: 1rem;
text-align: center;
}
header h1 {
margin: 0;
font-size: 2.5rem;
}
.hero {
padding: 2rem;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.hero img {
max-height: 400px;
width: auto;
border-radius: 8px;
border: 4px solid var(--accent-color);
}
.tour {
padding: 2rem;
}
.tour table {
width: 100%;
max-width: 600px;
margin: 0 auto;
border-collapse: collapse;
}
.tour th, .tour td {
border: 1px solid #444;
padding: 0.5rem;
text-align: center;
}
.tour th {
background-color: #222;
}
@media (max-width: 600px) {
.hero img {
max-width: 200px;
}
}
</style>
</head>
<body>
<header>
<h1>Estelle's Comedy Show</h1>
</header>
<section class="hero">
<h2>Live on stage!</h2>
<img src="image_2e567a.png" alt="Estelle auf der Bühne">
</section>
<section class="tour">
<h2>Tour-Daten</h2>
<table>
<thead>
<tr><th>Datum</th><th>Ort</th><th>Status</th></tr>
</thead>
<tbody>
<tr><td>15. April 2026</td><td>Zürich</td><td>Tickets verfügbar</td></tr>
<tr><td>22. April 2026</td><td>Bern</td><td>Ausverkauft</td></tr>
<tr><td>30. April 2026</td><td>Basel</td><td>Tickets verfügbar</td></tr>
<tr><td>5. Mai 2026</td><td>Lausanne</td><td>Vorverkauf</td></tr>
</tbody>
</table>
</section>
<footer>
<p>&copy; 2026 Estelle's Comedy Show</p>
</footer>
<script>
// cursor laugh effect
document.addEventListener('mousemove', function(e) {
const span = document.createElement('span');
span.textContent = 'Ha Ha Ha';
span.style.position = 'fixed';
span.style.left = e.pageX + 'px';
span.style.top = e.pageY + 'px';
span.style.color = 'var(--accent-color)';
span.style.pointerEvents = 'none';
span.style.opacity = '1';
span.style.transition = 'transform 1s ease-out, opacity 1s ease-out';
const size = Math.random() * 10 + 14;
span.style.fontSize = size + 'px';
span.style.transform = `translate(-50%, -50%) rotate(${(Math.random()*40-20)}deg)`;
document.body.appendChild(span);
requestAnimationFrame(() => {
span.style.transform += ' translateY(-30px)';
span.style.opacity = '0';
});
setTimeout(() => document.body.removeChild(span), 1000);
});
</script>
</body>
</html>
-1
View File
@@ -1 +0,0 @@
Welcome to the chaos
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

+36
View File
@@ -0,0 +1,36 @@
const prevBtn = document.querySelector('.arrow--prev');
const nextBtn = document.querySelector('.arrow--next');
const items = Array.from(document.querySelectorAll('.gallery__item'));
let activeIndex = 0;
function updateGallery() {
items.forEach((item, i) => {
item.style.opacity = i === activeIndex ? '1' : '0.35';
item.style.transform = i === activeIndex ? 'scale(1)' : 'scale(0.95)';
});
}
function showNext() {
activeIndex = (activeIndex + 1) % items.length;
updateGallery();
}
function showPrev() {
activeIndex = (activeIndex - 1 + items.length) % items.length;
updateGallery();
}
nextBtn.addEventListener('click', showNext);
prevBtn.addEventListener('click', showPrev);
// keyboard support
document.addEventListener('keydown', (event) => {
if (event.key === 'ArrowRight') {
showNext();
}
if (event.key === 'ArrowLeft') {
showPrev();
}
});
updateGallery();
+65
View File
@@ -0,0 +1,65 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Social Cooking Wireframe</title>
<link rel="stylesheet" href="stylesheet.css" />
</head>
<body>
<div class="page-wrapper">
<header class="header">
<div class="header__brand">LOGO</div>
<nav class="nav">
<a class="nav__link" href="#">Event finden</a>
</nav>
<button class="btn btn--outline" type="button">Login</button>
</header>
<main class="main-content">
<section class="hero">
<div class="hero__left">
<h1 class="hero__title">Zu Tisch mit Fremden – bereit für die nächste kulinarische Begegnung?</h1>
<p class="hero__description">Dein Ort um neue Leute kennen zu lernen! Erstelle eigene Events und lade Gäste zu dir nach Hause ein.</p>
<button class="btn btn--primary" type="button">Anmelden</button>
</div>
<div class="hero__right">
<div class="image-card">
<div class="image-card__placeholder"></div>
<div class="social-badge">
<span class="social-badge__dot"></span>
<span class="social-badge__dot"></span>
<span class="social-badge__dot"></span>
</div>
</div>
</div>
</section>
<section class="gallery">
<div class="gallery__controls">
<button class="arrow">&lt;</button>
<button class="arrow">&gt;</button>
</div>
<div class="gallery__track">
<article class="gallery__item">
<div class="placeholder"></div>
</article>
<article class="gallery__item">
<div class="placeholder"></div>
</article>
<article class="gallery__item">
<div class="placeholder"></div>
</article>
</div>
<div class="gallery__info">
<div class="profile-badge"></div>
<div class="gallery__handle">@social_cooking</div>
</div>
</section>
</main>
</div>
</body>
</html>
+70
View File
@@ -0,0 +1,70 @@
* { box-sizing: border-box; }
:root {
--black: #000000;
--white: #ffffff;
}
body {
margin: 0;
font-family: 'Inter', sans-serif;
background: #f5f5f5; /* Light grey background to see the white page-wrapper */
}
.page-wrapper {
max-width: 1440px;
margin: 0 auto;
background: var(--white);
padding: 40px;
border: 1px solid var(--black);
}
/* Layout logic */
.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.gallery__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* The "X" Box Logic - IMPORTANT */
.image-card__placeholder, .placeholder {
width: 100%;
height: 100%;
min-height: 250px; /* Ensures the box has height */
position: relative; /* REQUIRED for the X lines to stay inside */
border: 1px solid var(--black);
background: var(--white);
}
/* Creating the diagonal lines */
.image-card__placeholder::before, .image-card__placeholder::after,
.placeholder::before, .placeholder::after {
content: "";
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
}
.image-card__placeholder::before, .placeholder::before {
background: linear-gradient(to top left, transparent 49.5%, var(--black) 49.5%, var(--black) 50.5%, transparent 50.5%);
}
.image-card__placeholder::after, .placeholder::after {
background: linear-gradient(to top right, transparent 49.5%, var(--black) 49.5%, var(--black) 50.5%, transparent 50.5%);
}
/* Badges and Buttons */
.social-badge {
position: absolute;
bottom: 10px; right: 10px;
background: var(--white);
border: 1px solid var(--black);
padding: 5px;
display: flex; gap: 5px;
}
.social-badge__dot { width: 12px; height: 12px; background: var(--black); border-radius: 50%; }
.profile-badge {
width: 60px; height: 60px;
border-radius: 50%;
border: 1px solid var(--black);
margin-top: 20px;
}