From abfa8a2ab21bbfbbe597de2a1c4005c8634424b8 Mon Sep 17 00:00:00 2001 From: YaelVays Date: Tue, 26 May 2026 18:29:21 +0300 Subject: [PATCH 1/2] add: YWeiss joke --- package.json | 2 +- src/generated/branches.ts | 708 ++++++++++++++++++++++---- src/students/YWeiss/Card.tsx | 26 + src/students/YWeiss/JokePage.tsx | 68 +++ src/students/YWeiss/styles.module.css | 223 ++++++++ src/students/dana-duvi/Card.tsx | 6 +- src/students/index.ts | 10 + 7 files changed, 948 insertions(+), 95 deletions(-) create mode 100644 src/students/YWeiss/Card.tsx create mode 100644 src/students/YWeiss/JokePage.tsx create mode 100644 src/students/YWeiss/styles.module.css diff --git a/package.json b/package.json index 0545857..34f69c3 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "gen-branches && vite", + "dev": "npm run gen-branches && vite", "build": "tsc -b && vite build", "lint": "eslint .", "preview": "vite preview", diff --git a/src/generated/branches.ts b/src/generated/branches.ts index 7a56c3b..109342e 100644 --- a/src/generated/branches.ts +++ b/src/generated/branches.ts @@ -2,12 +2,204 @@ import type { BranchData } from "../types"; const data: BranchData = { - "generatedAt": "2026-04-26T22:06:42.722Z", - "currentBranch": "", + "generatedAt": "2026-05-26T15:12:56.384Z", + "currentBranch": "kiteria/YWeiss", "mainBranch": "master", "branches": [ { - "name": "master", + "name": "ChavivaSeiff", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "Eti-NewJoke", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "Eti-Orenbach", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "Hilla_Arye", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "Hilla_Arye_2", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "Maayan-Bukrits", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "MaayanBaba", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "RivkaBarashi", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "Shira-Shemesh", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "ShiraShemesh2", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "Vcomm", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "Vcomm_1", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "Vcomm_2", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "Vcomm_3", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "Vcomm_3_noaNew", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "ayala-joke2", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "ayala-oshri-stars-green-johnny-update-team1", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "ayala-samson", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "hadar-gerafi", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "hadas-karasenti", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "johnny-update-3", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "johnny-update-team3-Eti_Munk", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "kiter-2-RachelWeinberger", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "kitera", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "kiteria-1", "parentBranch": null, "shortHash": "", "lastCommitMessage": "", @@ -15,157 +207,493 @@ const data: BranchData = { "isCurrent": false }, { - "name": "diamond", - "parentBranch": "master", - "shortHash": "234", - "lastCommitMessage": "diamond", + "name": "kiteria-1-chedvaf", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", "isMergedIntoParent": false, "isCurrent": false }, { - "name": "red", - "parentBranch": "diamond", - "shortHash": "23444", - "lastCommitMessage": "moshe", + "name": "kiteria-1-efrat", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", "isMergedIntoParent": false, "isCurrent": false }, { - "name": "miri", - "parentBranch": "red", - "shortHash": "23444", - "lastCommitMessage": "miri", + "name": "kiteria-2", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", "isMergedIntoParent": false, "isCurrent": false }, { - "name": "roch", - "parentBranch": "red", - "shortHash": "23444", - "lastCommitMessage": "roch ", + "name": "kiteria-2-yehudit", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", "isMergedIntoParent": false, "isCurrent": false }, { - "name": "roch", - "parentBranch": "red", - "shortHash": "23444", - "lastCommitMessage": "roch ", + "name": "kiteria-3", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", "isMergedIntoParent": false, "isCurrent": false }, { - "name": "avi nos", - "parentBranch": "red", - "shortHash": "23444", - "lastCommitMessage": "roch ", - "isMergedIntoParent": true, + "name": "kiteria-3-Ayelet", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, "isCurrent": false }, { - "name": "shia cjss s", - "parentBranch": "red", - "shortHash": "23444", - "lastCommitMessage": "roch ", + "name": "kiteria-3-ester", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", "isMergedIntoParent": false, "isCurrent": false }, { - "name": "blue", - "parentBranch": "diamond", - "shortHash": "23444", - "lastCommitMessage": "moshe", + "name": "kiteria-3_RachelPanet", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", "isMergedIntoParent": false, "isCurrent": false }, { - "name": "red", - "parentBranch": "diamond", - "shortHash": "23444", - "lastCommitMessage": "moshe", + "name": "kiteria/YWeiss", + "parentBranch": null, + "shortHash": "0c10217", + "lastCommitMessage": "fix: instructions branch names", "isMergedIntoParent": false, "isCurrent": true }, { - "name": "star", - "parentBranch": "master", - "shortHash": "23454", - "lastCommitMessage": "yos", - "isMergedIntoParent": true, + "name": "kiteria_chedva", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "maayan-vecomm-1-vecomm", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "maayan2", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "master", + "parentBranch": null, + "shortHash": "0c10217", + "lastCommitMessage": "fix: instructions branch names", + "isMergedIntoParent": false, "isCurrent": false }, { - "name": "green", - "parentBranch": "star", - "shortHash": "23454", - "lastCommitMessage": "green", - "isMergedIntoParent": true, + "name": "mayanSJoke", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, "isCurrent": false }, { - "name": "tut", - "parentBranch": "green", - "shortHash": "23454", - "lastCommitMessage": "green", - "isMergedIntoParent": true, + "name": "noa_gabay", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, "isCurrent": false }, { - "name": "brach", - "parentBranch": "green", - "shortHash": "23454", - "lastCommitMessage": "green", - "isMergedIntoParent": true, + "name": "shani", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, "isCurrent": false }, { - "name": "yochi", - "parentBranch": "green", - "shortHash": "23454", - "lastCommitMessage": "green", - "isMergedIntoParent": true, + "name": "shani2", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, "isCurrent": false }, { - "name": "sjn cjknd", - "parentBranch": "green", - "shortHash": "23454", - "lastCommitMessage": "green", - "isMergedIntoParent": true, + "name": "shiraGidi", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, "isCurrent": false }, { - "name": "yellow", - "parentBranch": "star", - "shortHash": "23454", - "lastCommitMessage": "yellow fkgnlfg df", - "isMergedIntoParent": true, + "name": "sola", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, "isCurrent": false }, { - "name": "hjdf df", - "parentBranch": "yellow", - "shortHash": "23454", - "lastCommitMessage": "yellow fkgnlfg df", - "isMergedIntoParent": true, + "name": "sola3", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, "isCurrent": false }, { - "name": "gfkj dfkn", - "parentBranch": "yellow", - "shortHash": "23454", - "lastCommitMessage": "yellow fkgnlfg df", - "isMergedIntoParent": true, + "name": "sola4", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, "isCurrent": false }, { - "name": "fldngk df", - "parentBranch": "yellow", - "shortHash": "23454", - "lastCommitMessage": "yellow fkgnlfg df", - "isMergedIntoParent": true, + "name": "sola_sola1", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, "isCurrent": false }, + { + "name": "sola_sola1_carmi", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "sola_sola1_malka", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "sola_sola1_ruti", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "sola_sola1_sari", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "sola_sola1_shifraZ", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "sola_sola2", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "sola_sola2-Tamar", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "sola_sola2_gili", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "sola_sola2_hadas", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "sola_sola2_tamarD", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "sola_sola2_yehudit", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "sola_sola3_Efrat_Madmon", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "sola_sola3_saralevin", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "sola_sola3_yaeli", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "sola_sola3_yehudit", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "stars", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "stars-green", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "stars-green-bat-sheva-bloch", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "stars-green-johnny-update-team1", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "stars-green-johnny-update-team1-Tamar", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "stars-green-johnny-update-team1-Yael", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "stars-green-johnny-update-team1-bracha", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "stars-green-johnny-update-team2", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "stars-green-johnny-update-team2-LitalShamanov", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "stars-green-johnny-update-team3", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "stars-green-johnny-update-team3-Zehavi", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "stars-green-johnny-update-team3-chanaMoshayev", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "stars-green-jonny-update-miryam-dahari", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "tamar-levi-branch", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "team/vcomm/sub/vcomm3/noagabay", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "tovi", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "vcomm/vcomm-1/ShiraShemesh", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "vcomm/vcomm-1/ShiraShemesh2", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "vcomm/vcomm-1/tova", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "vcomm/vcomm-1/tovi", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "vcomm/vcomm-1/tovi-joke2", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "vcomm/vcomm3/ayalaKlein", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "yonny", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + }, + { + "name": "yonny-update-saraRafalowitz", + "parentBranch": null, + "shortHash": "", + "lastCommitMessage": "", + "isMergedIntoParent": false, + "isCurrent": false + } ] }; diff --git a/src/students/YWeiss/Card.tsx b/src/students/YWeiss/Card.tsx new file mode 100644 index 0000000..73379c6 --- /dev/null +++ b/src/students/YWeiss/Card.tsx @@ -0,0 +1,26 @@ +import styles from "./styles.module.css"; +import { CardProps } from "../../types"; + +export default function YWeissCard({ student, onClick }: CardProps) { + return ( +
+ {/* סרגל עליון של חלון מערכת */} +
+
+ + + +
+ system_error.log +
+ + {/* תוכן הכרטיסייה */} +
+
💻
+

{student.jokeTitle}

+

{student.name}

+
RUN CODE ▶
+
+
+ ); +} \ No newline at end of file diff --git a/src/students/YWeiss/JokePage.tsx b/src/students/YWeiss/JokePage.tsx new file mode 100644 index 0000000..26860c0 --- /dev/null +++ b/src/students/YWeiss/JokePage.tsx @@ -0,0 +1,68 @@ +import styles from "./styles.module.css"; +import { PageProps } from "../../types"; + +export default function YWeissJokePage({ onBack }: PageProps) { + return ( +
+
+ + {/* כותרת הדף */} +
+
+

⚡ ארבעת שלבי האבל והקוד ⚡

+
+

+ כל מתכנת עובר את מסלול הייסורים הבא בכל פעם שהוא כותב קוד חדש: +

+
+ + {/* שלבי הבדיחה */} +
+ +
+
01
+
🚀
+
+

שלב האופטימיות המוגזמת

+

"הקוד שלי מושלם, הוא רץ חלק, אין סיכוי שיש פה באגים".

+
+
+ +
+
02
+
🤯
+
+

שלב ההכחשה

+

"רגע, למה זה קרס? אצלי במחשב המקומי (Localhost) זה עבד מצוין, הבעיה בטוח בשרת".

+
+
+ +
+
03
+
😭
+
+

שלב הייאוש

+

"מחקתי הכל, כתבתי מחדש, וזה עדיין לא עובד. אני לא מבין כלום, אני מחליף מקצוע".

+
+
+ +
+
04
+
🫣
+
+

שלב הפחד הבלתי מוסבר

+

"הקוד פתאום עובד! הכל רץ חלק... ואני אין לי מושג ירוק למה זה עובד עכשיו. עדיף לא לגעת במקלדת יותר".

+
+
+ +
+ + {/* כפתור חזרה */} + + +
+
+ ); +} \ No newline at end of file diff --git a/src/students/YWeiss/styles.module.css b/src/students/YWeiss/styles.module.css new file mode 100644 index 0000000..d0a13e5 --- /dev/null +++ b/src/students/YWeiss/styles.module.css @@ -0,0 +1,223 @@ +/* ── קו עיצובי כללי - ניאון וסייבר ── */ +@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&display=swap'); + +.card, .jokePage { + font-family: 'Fira Code', 'Segoe UI', monospace; + direction: rtl; +} + +.card { + background: #1e1e2e; + border: 2px solid #bd93f9; + border-radius: 12px; + overflow: hidden; + box-shadow: 0 8px 25px rgba(189, 147, 249, 0.15); + transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); + cursor: pointer; + padding: 0 !important; /* מבטל פדינג חיצוני של התשתית */ +} + +.card:hover { + transform: translateY(-8px) scale(1.02); + box-shadow: 0 15px 30px rgba(189, 147, 249, 0.3); + border-color: #ff79c6; +} + +.windowHeader { + background: #181825; + padding: 0.6rem 1rem; + display: flex; + align-items: center; + justify-content: space-between; + border-bottom: 1px solid #313244; +} + +.dots { + display: flex; + gap: 6px; +} + +.dots span { + width: 10px; + height: 10px; + border-radius: 50%; + display: inline-block; +} + +.dotRed { background: #ff5555; } +.dotYellow { background: #ffb86c; } +.dotGreen { background: #50fa7b; } + +.windowTitle { + color: #6272a4; + font-size: 0.75rem; + font-weight: bold; +} + +.cardBody { + padding: 1.5rem; + text-align: center; + display: flex; + flex-direction: column; + align-items: center; +} + +.codeIcon { + font-size: 2.5rem; + margin-bottom: 0.5rem; + animation: float 3s ease-in-out infinite; +} + +.title { + color: #f8f8f2; + font-size: 1.25rem; + font-weight: 700; + margin-bottom: 0.6rem; + line-height: 1.4; +} + +.name { + color: #8be9fd; + font-size: 0.9rem; + margin-bottom: 1.2rem; +} + +.actionBadge { + background: #50fa7b; + color: #282a36; + font-weight: bold; + font-size: 0.8rem; + padding: 0.4rem 1.2rem; + border-radius: 6px; + box-shadow: 0 4px 10px rgba(80, 250, 123, 0.3); +} + +.jokePage { + background: #181825; + height: 100vh; /* נועל את הדף בדיוק לגובה המסך למניעת גלילה */ + display: flex; + justify-content: center; + align-items: center; + padding: 1rem; + overflow: hidden; /* מונע גלילה של הדף כולו */ +} + +.mainContainer { + max-width: 800px; + width: 100%; + display: flex; + flex-direction: column; + align-items: center; + gap: 0.8rem; /* צמצום הריווח בין האלמנטים */ +} + +.pageHeader { + text-align: center; +} + +.pageTitle { + color: #ff79c6; + font-size: 1.6rem; /* הקטנת גודל הכותרת */ + font-weight: 800; + margin-bottom: 0.2rem; + text-shadow: 0 0 15px rgba(255, 121, 198, 0.4); +} + +.intro { + color: #f8f8f2; + font-size: 0.95rem; /* הקטנת טקסט ההסבר */ + opacity: 0.9; + margin-bottom: 0.5rem; +} + +/* סידור המלבנים בטור אנכי אחד מתחת לשני */ +.stepsGrid { + display: grid; + grid-template-columns: 1fr; /* עמודה אחת בלבד */ + gap: 0.8rem; /* רווח קומפקטי בין שלב לשלב */ + width: 100%; +} + +.stepCard { + background: #1e1e2e; + border-radius: 8px; + padding: 0.8rem 1.2rem; /* צמצום הפדינג הפנימי כדי לחסוך מקום */ + display: flex; + gap: 1.2rem; + align-items: center; + position: relative; + border: 1px solid #313244; + box-shadow: 0 4px 10px rgba(0,0,0,0.2); + transition: transform 0.2s; +} + +.stepCard:hover { + transform: scale(1.01); +} + +.stepNum { + position: absolute; + top: 0.4rem; + left: 1rem; + font-size: 1.8rem; + font-weight: 800; + opacity: 0.04; + color: #fff; +} + +.stepIcon { + font-size: 1.6rem; /* גודל אייקון מותאם */ +} + +.stepContent h3 { + font-size: 0.95rem; + font-weight: 700; + margin-bottom: 0.1rem; +} + +.stepContent p { + font-size: 0.85rem; + line-height: 1.4; + color: #a6adc8; +} + +/* צבעי ניאון ייחודיים לכל שלב */ +.step1 { border-right: 4px solid #50fa7b; } +.step1 h3 { color: #50fa7b; } + +.step2 { border-right: 4px solid #ffb86c; } +.step2 h3 { color: #ffb86c; } + +.step3 { border-right: 4px solid #ff5555; } +.step3 h3 { color: #ff5555; } + +.step4 { border-right: 4px solid #8be9fd; } +.step4 h3 { color: #8be9fd; } + +/* כפתור חזרה מעוצב וקומפקטי */ +.backBtn { + background: linear-gradient(90deg, #bd93f9 0%, #ff79c6 100%); + color: #fff; + border: none; + border-radius: 6px; + padding: 0.6rem 2rem; + font-size: 0.85rem; + font-weight: bold; + cursor: pointer; + box-shadow: 0 5px 15px rgba(189, 147, 249, 0.3); + transition: all 0.2s; + font-family: inherit; + margin-top: 0.5rem; +} + +.backBtn:hover { + transform: translateY(-2px); + box-shadow: 0 8px 25px rgba(255, 121, 198, 0.6); + filter: brightness(1.1); +} + +@keyframes float { + 0% { transform: translateY(0px); } + 50% { transform: translateY(-6px); } + 100% { transform: translateY(0px); } +} \ No newline at end of file diff --git a/src/students/dana-duvi/Card.tsx b/src/students/dana-duvi/Card.tsx index 8d00d7c..128d5a0 100644 --- a/src/students/dana-duvi/Card.tsx +++ b/src/students/dana-duvi/Card.tsx @@ -1,13 +1,11 @@ import styles from "./styles.module.css"; import { CardProps } from "../../types"; -export default function DanaDuviCard({ student, onClick }: CardProps) { +export default function YWeissCard({ student, onClick }: CardProps) { return (
-
🐻

{student.jokeTitle}

{student.name}

- לחצי לצחוק
); -} +} \ No newline at end of file diff --git a/src/students/index.ts b/src/students/index.ts index 5be78e7..03d45e5 100644 --- a/src/students/index.ts +++ b/src/students/index.ts @@ -6,6 +6,9 @@ import DanaDuviJokePage from "./dana-duvi/JokePage"; import ChaniChanzinCard from "./chani-chanzin/Card"; import ChaniChanzinJokePage from "./chani-chanzin/JokePage"; +import YWeissCard from "./YWeiss/Card"; +import YWeissJokePage from "./YWeiss/JokePage"; + // ⚠️ סדר הרשימה חייב להיות לפי סדר האלף-בית העברי לפי שם המשפחה. // כל תלמידה מוסיפה את עצמה במקום הנכון ידנית. // אסור להשתמש בפונקציית-sort! @@ -24,6 +27,13 @@ const students: Student[] = [ CardComponent: ChaniChanzinCard, JokePageComponent: ChaniChanzinJokePage, }, + { + id: "YWeiss", + name: " יעל וייס", + jokeTitle: "ארבעת השלבים האמיתיים של פרויקט בתכנות", + CardComponent: YWeissCard, + JokePageComponent: YWeissJokePage, + }, ]; export default students; From 44bb958b6f36a92b14287d50b665e99f63ae35e1 Mon Sep 17 00:00:00 2001 From: YaelVays Date: Wed, 27 May 2026 09:37:47 +0300 Subject: [PATCH 2/2] update the code --- package.json | 2 +- src/students/YWeiss/Card.tsx | 3 +-- src/students/YWeiss/JokePage.tsx | 3 --- src/students/YWeiss/styles.module.css | 23 ++++++++++------------- 4 files changed, 12 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index 34f69c3..0545857 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "npm run gen-branches && vite", + "dev": "gen-branches && vite", "build": "tsc -b && vite build", "lint": "eslint .", "preview": "vite preview", diff --git a/src/students/YWeiss/Card.tsx b/src/students/YWeiss/Card.tsx index 73379c6..ac7a0fc 100644 --- a/src/students/YWeiss/Card.tsx +++ b/src/students/YWeiss/Card.tsx @@ -4,7 +4,7 @@ import { CardProps } from "../../types"; export default function YWeissCard({ student, onClick }: CardProps) { return (
- {/* סרגל עליון של חלון מערכת */} +
@@ -14,7 +14,6 @@ export default function YWeissCard({ student, onClick }: CardProps) { system_error.log
- {/* תוכן הכרטיסייה */}
💻

{student.jokeTitle}

diff --git a/src/students/YWeiss/JokePage.tsx b/src/students/YWeiss/JokePage.tsx index 26860c0..52f6f9c 100644 --- a/src/students/YWeiss/JokePage.tsx +++ b/src/students/YWeiss/JokePage.tsx @@ -6,7 +6,6 @@ export default function YWeissJokePage({ onBack }: PageProps) {
- {/* כותרת הדף */}

⚡ ארבעת שלבי האבל והקוד ⚡

@@ -16,7 +15,6 @@ export default function YWeissJokePage({ onBack }: PageProps) {

- {/* שלבי הבדיחה */}
@@ -57,7 +55,6 @@ export default function YWeissJokePage({ onBack }: PageProps) {
- {/* כפתור חזרה */} diff --git a/src/students/YWeiss/styles.module.css b/src/students/YWeiss/styles.module.css index d0a13e5..ed700a1 100644 --- a/src/students/YWeiss/styles.module.css +++ b/src/students/YWeiss/styles.module.css @@ -14,7 +14,7 @@ box-shadow: 0 8px 25px rgba(189, 147, 249, 0.15); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; - padding: 0 !important; /* מבטל פדינג חיצוני של התשתית */ + padding: 0 !important; } .card:hover { @@ -94,12 +94,12 @@ .jokePage { background: #181825; - height: 100vh; /* נועל את הדף בדיוק לגובה המסך למניעת גלילה */ + height: 100vh; display: flex; justify-content: center; align-items: center; padding: 1rem; - overflow: hidden; /* מונע גלילה של הדף כולו */ + overflow: hidden; } .mainContainer { @@ -108,7 +108,7 @@ display: flex; flex-direction: column; align-items: center; - gap: 0.8rem; /* צמצום הריווח בין האלמנטים */ + gap: 0.8rem; } .pageHeader { @@ -117,7 +117,7 @@ .pageTitle { color: #ff79c6; - font-size: 1.6rem; /* הקטנת גודל הכותרת */ + font-size: 1.6rem; font-weight: 800; margin-bottom: 0.2rem; text-shadow: 0 0 15px rgba(255, 121, 198, 0.4); @@ -125,23 +125,22 @@ .intro { color: #f8f8f2; - font-size: 0.95rem; /* הקטנת טקסט ההסבר */ + font-size: 0.95rem; opacity: 0.9; margin-bottom: 0.5rem; } -/* סידור המלבנים בטור אנכי אחד מתחת לשני */ .stepsGrid { display: grid; - grid-template-columns: 1fr; /* עמודה אחת בלבד */ - gap: 0.8rem; /* רווח קומפקטי בין שלב לשלב */ + grid-template-columns: 1fr; + gap: 0.8rem; width: 100%; } .stepCard { background: #1e1e2e; border-radius: 8px; - padding: 0.8rem 1.2rem; /* צמצום הפדינג הפנימי כדי לחסוך מקום */ + padding: 0.8rem 1.2rem; display: flex; gap: 1.2rem; align-items: center; @@ -166,7 +165,7 @@ } .stepIcon { - font-size: 1.6rem; /* גודל אייקון מותאם */ + font-size: 1.6rem; } .stepContent h3 { @@ -181,7 +180,6 @@ color: #a6adc8; } -/* צבעי ניאון ייחודיים לכל שלב */ .step1 { border-right: 4px solid #50fa7b; } .step1 h3 { color: #50fa7b; } @@ -194,7 +192,6 @@ .step4 { border-right: 4px solid #8be9fd; } .step4 h3 { color: #8be9fd; } -/* כפתור חזרה מעוצב וקומפקטי */ .backBtn { background: linear-gradient(90deg, #bd93f9 0%, #ff79c6 100%); color: #fff;