Bläddra i källkod

Обновить 'Студенты/shezok/project_X.html'

u23-27dybenko 1 dag sedan
förälder
incheckning
bf55d3a9e5
1 ändrade filer med 17 tillägg och 118 borttagningar
  1. 17 118
      Студенты/shezok/project_X.html

+ 17 - 118
Студенты/shezok/project_X.html

@@ -106,7 +106,15 @@ h1.title{
   background:linear-gradient(135deg,#fff,var(--accent2));
   -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}
 .scene-sub{font-size:13px;color:var(--dim);margin-bottom:20px;}
-.scene svg{max-width:100%;height:auto;max-height:300px;}
+.scene-photo {
+  max-width: 100%;
+  max-height: 320px;
+  border-radius: 16px;
+  object-fit: contain;
+  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
+  border: 2px solid rgba(255, 255, 255, 0.1);
+  animation: fade .4s ease;
+}
 
 .cards{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;}
 @media(max-width:600px){.cards{grid-template-columns:repeat(2,1fr);}}
@@ -349,144 +357,35 @@ const scenes = {
 
   case: `<div class="scene-title">Корпус системного блока</div>
     <div class="scene-sub">Металлический «дом» для компонентов</div>
-    <svg viewBox="0 0 300 340">
-      <rect x="50" y="20" width="200" height="300" rx="12" fill="#2a2a3e" stroke="#6c5ce7" stroke-width="2"/>
-      <rect x="65" y="35" width="170" height="40" rx="6" fill="#1a1a2e"/>
-      <circle cx="85" cy="55" r="6" fill="#00cec9"/>
-      <rect x="65" y="90" width="170" height="8" rx="2" fill="#1a1a2e"/>
-      <rect x="65" y="110" width="170" height="8" rx="2" fill="#1a1a2e"/>
-      <rect x="65" y="140" width="170" height="80" rx="6" fill="#1a1a2e" stroke="#3a3a5e"/>
-      <text x="150" y="185" fill="#6c5ce7" font-size="11" text-anchor="middle" font-weight="700">МАТ. ПЛАТА</text>
-      <rect x="65" y="235" width="80" height="60" rx="6" fill="#1a1a2e" stroke="#3a3a5e"/>
-      <text x="105" y="270" fill="#00cec9" font-size="10" text-anchor="middle" font-weight="700">БП</text>
-      <rect x="155" y="235" width="80" height="60" rx="6" fill="#1a1a2e" stroke="#3a3a5e"/>
-      <text x="195" y="270" fill="#00cec9" font-size="10" text-anchor="middle" font-weight="700">HDD</text>
-    </svg>`,
+    <img src="images/case.jpg" alt="Системный блок" class="scene-photo">`,
 
   motherboard: `<div class="scene-title">Материнская плата</div>
     <div class="scene-sub">Главная плата компьютера</div>
-    <svg viewBox="0 0 400 280">
-      <rect x="20" y="20" width="360" height="240" rx="8" fill="#1a5c2a" stroke="#2a8a3e" stroke-width="2"/>
-      <rect x="50" y="50" width="80" height="80" rx="4" fill="#2a2a3e" stroke="#6c5ce7" stroke-width="1.5"/>
-      <text x="90" y="95" fill="#6c5ce7" font-size="11" text-anchor="middle" font-weight="700">CPU</text>
-      <rect x="160" y="50" width="18" height="80" rx="3" fill="#00cec9" opacity=".7"/>
-      <rect x="188" y="50" width="18" height="80" rx="3" fill="#00cec9" opacity=".7"/>
-      <rect x="216" y="50" width="18" height="80" rx="3" fill="#00cec9" opacity=".7"/>
-      <rect x="244" y="50" width="18" height="80" rx="3" fill="#00cec9" opacity=".7"/>
-      <text x="210" y="145" fill="#00cec9" font-size="10" text-anchor="middle" font-weight="700">RAM</text>
-      <rect x="50" y="160" width="200" height="18" rx="3" fill="#3a3a5e"/>
-      <text x="150" y="173" fill="#a0a0b8" font-size="9" text-anchor="middle">PCIe слот</text>
-      <rect x="50" y="190" width="200" height="18" rx="3" fill="#3a3a5e"/>
-      <text x="150" y="203" fill="#a0a0b8" font-size="9" text-anchor="middle">PCIe слот</text>
-      <rect x="280" y="160" width="80" height="80" rx="4" fill="#2a2a3e" stroke="#ffb3b3"/>
-      <text x="320" y="205" fill="#ffb3b3" font-size="10" text-anchor="middle">SATA</text>
-    </svg>`,
+    <img src="images/motherboard.jpg" alt="Материнская плата" class="scene-photo">`,
 
   cpu: `<div class="scene-title">Процессор (CPU)</div>
     <div class="scene-sub">«Мозг» компьютера</div>
-    <svg viewBox="0 0 300 280">
-      <rect x="70" y="70" width="160" height="160" rx="8" fill="#2a2a3e" stroke="#6c5ce7" stroke-width="3"/>
-      <rect x="90" y="90" width="120" height="120" rx="4" fill="#1a1a2e" stroke="#6c5ce7" stroke-width="1.5"/>
-      <text x="150" y="145" fill="#6c5ce7" font-size="22" text-anchor="middle" font-weight="800">CPU</text>
-      <text x="150" y="170" fill="#a0a0b8" font-size="10" text-anchor="middle">Intel / AMD</text>
-      <line x1="85" y1="70" x2="85" y2="50" stroke="#00cec9" stroke-width="2"/>
-      <line x1="115" y1="70" x2="115" y2="50" stroke="#00cec9" stroke-width="2"/>
-      <line x1="145" y1="70" x2="145" y2="50" stroke="#00cec9" stroke-width="2"/>
-      <line x1="175" y1="70" x2="175" y2="50" stroke="#00cec9" stroke-width="2"/>
-      <line x1="205" y1="70" x2="205" y2="50" stroke="#00cec9" stroke-width="2"/>
-      <line x1="85" y1="230" x2="85" y2="250" stroke="#00cec9" stroke-width="2"/>
-      <line x1="115" y1="230" x2="115" y2="250" stroke="#00cec9" stroke-width="2"/>
-           <line x1="145" y1="230" x2="145" y2="250" stroke="#00cec9" stroke-width="2"/>
-      <line x1="175" y1="230" x2="175" y2="250" stroke="#00cec9" stroke-width="2"/>
-      <line x1="205" y1="230" x2="205" y2="250" stroke="#00cec9" stroke-width="2"/>
-    </svg>`,
+    <img src="images/cpu.jpg" alt="Процессор" class="scene-photo">`,
 
   cooler: `<div class="scene-title">Кулер и термопаста</div>
     <div class="scene-sub">Охлаждение процессора</div>
-    <svg viewBox="0 0 300 280">
-      <circle cx="150" cy="140" r="100" fill="#2a2a3e" stroke="#6c5ce7" stroke-width="2"/>
-      <g stroke="#00cec9" stroke-width="8" stroke-linecap="round" opacity=".6">
-        <line x1="150" y1="110" x2="150" y2="50"/>
-        <line x1="150" y1="170" x2="150" y2="230"/>
-        <line x1="120" y1="140" x2="60" y2="140"/>
-        <line x1="180" y1="140" x2="240" y2="140"/>
-        <line x1="129" y1="119" x2="86" y2="76"/>
-        <line x1="171" y1="119" x2="214" y2="76"/>
-        <line x1="129" y1="161" x2="86" y2="204"/>
-        <line x1="171" y1="161" x2="214" y2="204"/>
-      </g>
-      <circle cx="150" cy="140" r="28" fill="#6c5ce7"/>
-      <text x="150" y="145" fill="#fff" font-size="10" text-anchor="middle" font-weight="800">FAN</text>
-    </svg>`,
+    <img src="images/cooler.jpg" alt="Кулер и термопаста" class="scene-photo">`,
 
   ram: `<div class="scene-title">Оперативная память (RAM)</div>
     <div class="scene-sub">Быстрая временная память</div>
-    <svg viewBox="0 0 320 180">
-      <rect x="30" y="50" width="260" height="80" rx="6" fill="#1a5c2a" stroke="#2a8a3e" stroke-width="2"/>
-      <rect x="50" y="65" width="28" height="50" rx="3" fill="#2a2a3e" stroke="#00cec9"/>
-      <rect x="88" y="65" width="28" height="50" rx="3" fill="#2a2a3e" stroke="#00cec9"/>
-      <rect x="126" y="65" width="28" height="50" rx="3" fill="#2a2a3e" stroke="#00cec9"/>
-      <rect x="164" y="65" width="28" height="50" rx="3" fill="#2a2a3e" stroke="#00cec9"/>
-      <rect x="202" y="65" width="28" height="50" rx="3" fill="#2a2a3e" stroke="#00cec9"/>
-      <rect x="240" y="65" width="28" height="50" rx="3" fill="#2a2a3e" stroke="#00cec9"/>
-      <rect x="30" y="130" width="260" height="6" fill="#ffb347"/>
-      <text x="160" y="165" fill="#00cec9" font-size="13" text-anchor="middle" font-weight="700">DDR4 / DDR5</text>
-    </svg>`,
+    <img src="images/ram.jpg" alt="Оперативная память" class="scene-photo">`,
 
   storage: `<div class="scene-title">Накопители данных</div>
     <div class="scene-sub">HDD и SSD</div>
-    <svg viewBox="0 0 400 220">
-      <rect x="30" y="40" width="150" height="100" rx="8" fill="#2a2a3e" stroke="#a0a0b8" stroke-width="2"/>
-      <circle cx="105" cy="90" r="35" fill="#1a1a2e" stroke="#6c5ce7" stroke-width="1.5"/>
-      <circle cx="105" cy="90" r="6" fill="#6c5ce7"/>
-      <line x1="105" y1="90" x2="130" y2="70" stroke="#00cec9" stroke-width="2.5"/>
-      <text x="105" y="165" fill="#a0a0b8" font-size="13" text-anchor="middle" font-weight="700">HDD</text>
-      <text x="105" y="183" fill="#6c5ce7" font-size="10" text-anchor="middle">Медленный, ёмкий</text>
-      <rect x="220" y="40" width="150" height="100" rx="8" fill="#2a2a3e" stroke="#00cec9" stroke-width="2"/>
-      <rect x="240" y="60" width="22" height="60" rx="3" fill="#1a1a2e" stroke="#00cec9"/>
-      <rect x="270" y="60" width="22" height="60" rx="3" fill="#1a1a2e" stroke="#00cec9"/>
-      <rect x="300" y="60" width="22" height="60" rx="3" fill="#1a1a2e" stroke="#00cec9"/>
-      <rect x="330" y="60" width="22" height="60" rx="3" fill="#1a1a2e" stroke="#00cec9"/>
-      <text x="295" y="165" fill="#00cec9" font-size="13" text-anchor="middle" font-weight="700">SSD</text>
-      <text x="295" y="183" fill="#6c5ce7" font-size="10" text-anchor="middle">Быстрый, дороже</text>
-    </svg>`,
+    <img src="images/storage.jpg" alt="HDD и SSD" class="scene-photo">`,
 
   gpu: `<div class="scene-title">Видеокарта (GPU)</div>
     <div class="scene-sub">Отвечает за графику и игры</div>
-    <svg viewBox="0 0 400 250">
-      <rect x="40" y="40" width="320" height="140" rx="8" fill="#2a2a3e" stroke="#6c5ce7" stroke-width="2"/>
-      <circle cx="140" cy="110" r="45" fill="#1a1a2e" stroke="#00cec9" stroke-width="2"/>
-      <line x1="140" y1="85" x2="140" y2="60" stroke="#00cec9" stroke-width="4" stroke-linecap="round" opacity=".7"/>
-      <line x1="140" y1="135" x2="140" y2="160" stroke="#00cec9" stroke-width="4" stroke-linecap="round" opacity=".7"/>
-      <line x1="115" y1="110" x2="90" y2="110" stroke="#00cec9" stroke-width="4" stroke-linecap="round" opacity=".7"/>
-      <line x1="165" y1="110" x2="190" y2="110" stroke="#00cec9" stroke-width="4" stroke-linecap="round" opacity=".7"/>
-      <circle cx="140" cy="110" r="10" fill="#6c5ce7"/>
-      <circle cx="270" cy="110" r="45" fill="#1a1a2e" stroke="#00cec9" stroke-width="2"/>
-      <line x1="270" y1="85" x2="270" y2="60" stroke="#00cec9" stroke-width="4" stroke-linecap="round" opacity=".7"/>
-      <line x1="270" y1="135" x2="270" y2="160" stroke="#00cec9" stroke-width="4" stroke-linecap="round" opacity=".7"/>
-      <line x1="245" y1="110" x2="220" y2="110" stroke="#00cec9" stroke-width="4" stroke-linecap="round" opacity=".7"/>
-      <line x1="295" y1="110" x2="320" y2="110" stroke="#00cec9" stroke-width="4" stroke-linecap="round" opacity=".7"/>
-      <circle cx="270" cy="110" r="10" fill="#6c5ce7"/>
-      <rect x="60" y="180" width="280" height="8" fill="#ffb347" rx="2"/>
-      <text x="200" y="215" fill="#ffb347" font-size="11" text-anchor="middle" font-weight="700">Разъём PCIe</text>
-    </svg>`,
+    <img src="images/gpu.jpg" alt="Видеокарта" class="scene-photo">`,
 
   psu: `<div class="scene-title">Блок питания (PSU)</div>
     <div class="scene-sub">Питает все компоненты</div>
-    <svg viewBox="0 0 350 250">
-      <rect x="40" y="30" width="270" height="180" rx="10" fill="#2a2a3e" stroke="#6c5ce7" stroke-width="2"/>
-      <circle cx="120" cy="120" r="55" fill="#1a1a2e" stroke="#00cec9" stroke-width="2"/>
-      <line x1="120" y1="90" x2="120" y2="70" stroke="#00cec9" stroke-width="6" stroke-linecap="round" opacity=".6"/>
-      <line x1="120" y1="150" x2="120" y2="170" stroke="#00cec9" stroke-width="6" stroke-linecap="round" opacity=".6"/>
-      <line x1="90" y1="120" x2="70" y2="120" stroke="#00cec9" stroke-width="6" stroke-linecap="round" opacity=".6"/>
-      <line x1="150" y1="120" x2="170" y2="120" stroke="#00cec9" stroke-width="6" stroke-linecap="round" opacity=".6"/>
-      <circle cx="120" cy="120" r="14" fill="#6c5ce7"/>
-      <text x="225" y="90" fill="#00cec9" font-size="16" text-anchor="middle" font-weight="800">500W</text>
-      <text x="225" y="115" fill="#a0a0b8" font-size="10" text-anchor="middle">Мощность</text>
-      <path d="M310 70 Q340 70 340 100" stroke="#ffb347" stroke-width="3" fill="none"/>
-      <path d="M310 120 Q340 120 340 140" stroke="#ff6b6b" stroke-width="3" fill="none"/>
-      <path d="M310 170 Q340 170 340 180" stroke="#00cec9" stroke-width="3" fill="none"/>
-    </svg>`,
+    <img src="images/psu.jpg" alt="Блок питания" class="scene-photo">`,
 
   cleaning: `<div class="scene-title">🧹 Чистка системного блока</div>
     <div class="scene-sub">Пошаговая инструкция</div>