crtypubg commited on
Commit
bed578a
·
verified ·
1 Parent(s): 8aeb79a

# 📋 Windows 11 Özellikleri Detaylı Anlatım

Browse files

## 🎨 1. Yeni Başlat Menüsü

### Özellik Açıklaması:
Merkezde yuvarlak Windows logosu, grid yapısında uygulama listesi ve sık kullanılanlar bölümü

### Nasıl Uygulanır:

```jsx
// StartMenu.jsx
import React, { useState } from 'react';

const StartMenu = ({ isOpen, onClose }) => {
const [searchTerm, setSearchTerm] = useState('');

const pinnedApps = [
{ id: 1, name: 'Edge', icon: '🌐', color: 'bg-blue-500' },
{ id: 2, name: 'Notepad', icon: '📝', color: 'bg-yellow-500' },
{ id: 3, name: 'Terminal', icon: '💻', color: 'bg-black' },
{ id: 4, name: 'Photos', icon: '🖼️', color: 'bg-purple-500' },
// Daha fazla uygulama...
];

const recommendedApps = [
{ id: 5, name: 'Calculator', icon: '🧮', color: 'bg-gray-500' },
{ id: 6, name: 'Calendar', icon: '📅', color: 'bg-red-500' },
];

return (
<div className={`fixed inset-0 bg-black bg-opacity-50 backdrop-blur-xl z-50 transition-all duration-300 ${isOpen ? 'opacity-100 visible' : 'opacity-0 invisible'}`}>
<div className="absolute bottom-16 left-4 w-96 h-[500px] bg-gray-900 bg-opacity-80 backdrop-blur-2xl rounded-2xl border border-gray-700 p-6">
{/* Arama Çubuğu */}
<div className="mb-6">
<input
type="text"
placeholder="Search for apps, settings, and documents"
className="w-full bg-gray-800 bg-opacity-50 rounded-full px-4 py-3 text-white placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-blue-500"
value={searchTerm}
onChange={(e) => setSearchTerm(e.target.value)}
/>
</div>

{/* Sabitlenmiş Uygulamalar */}
<div className="mb-6">
<h3 className="text-white text-sm font-semibold mb-3">Pinned</h3>
<div className="grid grid-cols-6 gap-4">
{pinnedApps.map(app => (
<div key={app.id} className="flex flex-col items-center cursor-pointer group">
<div className={`${app.color} w-12 h-12 rounded-xl flex items-center justify-center text-white text-xl group-hover:scale-110 transition-transform`}>
{app.icon}
</div>
<span className="text-white text-xs mt-2 group-hover:text-blue-400">{app.name}</span>
</div>
))}
</div>
</div>

{/* Önerilenler */}
<div>
<h3 className="text-white text-sm font-semibold mb-3">Recommended</h3>
<div className="space-y-2">
{recommendedApps.map(app => (
<div key={app.id} className="flex items-center p-2 rounded-lg hover:bg-gray-800 cursor-pointer">
<div className={`${app.color} w-8 h-8 rounded-lg flex items-center justify-center text-white text-sm mr-3`}>
{app.icon}
</div>
<span className="text-white text-sm">{app.name}</span>
</div>
))}
</div>
</div>

{/* Güç Seçenekleri */}
<div className="absolute bottom-4 right-4 flex space-x-3">
<button className="w-8 h-8 bg-gray-700 rounded-full flex items-center justify-center hover:bg-gray-600">
⚙️
</button>
<button className="w-8 h-8 bg-gray-700 rounded-full flex items-center justify-center hover:bg-gray-600">
🔌
</button>
</div>
</div>
</div>
);
};

export default StartMenu;
```

## 🎛️ 2. Yeni Görev Çubuğu

### Özellik Açıklaması:
Ortalanmış başlat düğmesi, sabitlenmiş uygulamalar, sistem tepsisi

### Nasıl Uygulanır:

```jsx
// Taskbar.jsx
import React from 'react';

const Taskbar = ({ onStartClick, startMenuOpen }) => {
const apps = [
{ id: 1, name: 'Edge', icon: '🌐', active: true },
{ id: 2, name: 'Notepad', icon: '📝', active: false },
{ id: 3, name: 'Terminal', icon: '💻', active: false },
];

const systemTrayItems = [
{ icon: '🔊', label: 'Volume' },
{ icon: '📶', label: 'Network' },
{ icon: '🔋', label: 'Battery' },
];

return (
<div className="fixed bottom-0 left-0 right-0 h-12 bg-gray-900 bg-opacity-80 backdrop-blur-xl border-t border-gray-700 flex items-center px-4 z-40">
{/* Başlat Düğmesi */}
<button
onClick={onStartClick}
className={`w-10 h-10 rounded-lg flex items-center justify-center mr-4 transition-all ${
startMenuOpen ? 'bg-blue-600' : 'hover:bg-gray-700'
}`}
>
<div className="w-6 h-6 bg-blue-500 rounded-full flex items-center justify-center">
<span className="text-white text-xs font-bold">K</span>
</div>
</button>

{/* Sabitlenmiş Uygulamalar */}
<div className="flex space-x-2">
{apps.map(app => (
<button
key={app.id}
className={`w-10 h-10 rounded-lg flex items-center justify-center transition-all ${
app.active ? 'bg-gray-700' : 'hover:bg-gray-700'
}`}
>
<span className="text-lg">{app.icon}</span>
</button>
))}
</div>

{/* Görev Çubuğu Ortası (Boşluk) */}
<div className="flex-1"></div>

{/* Sistem Tepsisi */}
<div className="flex items-center space-x-2">
{systemTrayItems.map((item, index) => (
<div
key={index}
className="w-8 h-8 rounded-lg flex items-center justify-center hover:bg-gray-700 cursor-pointer text-white text-sm"
title={item.label}
>
{item.icon}
</div>
))}

{/* Saat */}
<div className="text-white text-sm font-medium px-3 py-1 rounded-lg hover:bg-gray-700 cursor-pointer">
{new Date().toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })}
</div>
</div>
</div>
);
};

export default Taskbar;
```

## 🖼️ 3. Akrylic/Glass Efektleri

### Özellik Açıklaması:
Yarı saydam arka planlar ve bulanıklaştırma efektleri

### Nasıl Uygulanır:

```css
/* styles/glass.css */
.glass-effect {
background: rgba(30, 30, 30, 0.7);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-effect-light {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}

.backdrop-blur-xl {
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
}

.backdrop-blur-2xl {
backdrop-filter: blur(40px);
-webkit-backdrop-filter: blur(40px);
}
```

```jsx
// GlassContainer.jsx - Glass efektli konteyner bileşeni
import React from 'react';

const GlassContainer = ({ children, className = '', ...props }) => {
return (
<div
className={`glass-effect rounded-2xl ${className}`}
{...props}
>
{children}
</div>
);
};

export default GlassContainer;
```

## 📐 4. Köşe Yuvarlamalar

### Özellik Açıklaması:
Tüm pencere ve bileşenlerde yuvarlak köşeler

### Nasıl Uygulanır:

```css
/* styles/rounded.css */
.rounded-corners {
border-radius: 12px;
}

.rounded-corners-lg {
border-radius: 16px;
}

.rounded-corners-xl {
border-radius: 24px;
}

.rounded-corners-2xl {
border-radius: 32px;
}

.rounded-corners-full {
border-radius: 9999px;
}
```

```jsx
// RoundedButton.jsx - Yuvarlak köşeli buton
import React from 'react';

const RoundedButton = ({ children, variant = 'primary', ...props }) => {
const baseClasses = "px-4 py-2 rounded-full font-medium transition-all";

const variants = {
primary: "bg-blue-600 hover:bg-blue-700 text-white",
secondary: "bg-gray-700 hover:bg-gray-600 text-white",
outline: "border border-gray-600 hover:bg-gray-700 text-white"
};

return (
<button
className={`${baseClasses} ${variants[variant]}`}
{...props}
>
{children}
</button>
);
};

export default RoundedButton;
```

## 🖥️ 5. Masaüstü Ortamı

### Özellik Açıklaması:
İnteraktif masaüstü simgeleri ve duvar kağıdı yönetimi

### Nasıl Uygulanır:

```jsx
// Desktop.jsx
import React, { useState } from 'react';

const Desktop = ({ onAppOpen }) => {
const [icons] = useState([
{ id: 1, name: 'Recycle Bin', icon: '🗑️', x: 20, y: 20 },
{ id: 2, name: 'This PC', icon: '💻', x: 20, y: 100 },
{ id: 3, name: 'Notepad', icon: '📝', x: 20, y: 180 },
{ id: 4, name: 'Edge', icon: '🌐', x: 20, y: 260 },
]);

const [selectedIcon, setSelectedIcon] = useState(null);

const handleIconClick = (icon, e) => {
e.preventDefault();
setSelectedIcon(icon.id);
if (e.detail === 2) { // Çift tıklama
onAppOpen(icon.name.toLowerCase());
}
};

const handleDesktopClick = () => {
setSelectedIcon(null);
};

return (
<div
className="relative w-full h-screen bg-cover bg-center overflow-hidden"
style={{ backgroundImage: "url('/wallpapers/windows11.jpg')" }}
onClick={handleDesktopClick}
>
{/* Masaüstü Simgeleri */}
{icons.map(icon => (
<div
key={icon.id}
className={`absolute flex flex-col items-center p-2 cursor-pointer select-none ${
selectedIcon === icon.id ? 'bg-blue-600 bg-opacity-50 rounded-lg' : 'hover:bg-white hover:bg-opacity-10 rounded-lg'
}`}
style={{ left: icon.x, top: icon.y }}
onClick={(e) => handleIconClick(icon, e)}
onDoubleClick={() => onAppOpen(icon.name.toLowerCase())}
>
<div className="text-2xl mb-1">{icon.icon}</div>
<span className="text-white text-xs text-center">{icon.name}</span>
</div>
))}

{/* Sağ Tıklama Menüsü */}
<div className="absolute bottom-4 right-4">
<button
className="w-12 h-12 bg-gray-800 bg-opacity-50 backdrop-blur-lg rounded-full flex items-center justify-center text-white hover:bg-gray-700 transition-all"
onClick={() => onAppOpen('startmenu')}
>
⚙️
</button>
</div>
</div>
);
};

export default Desktop;
```

## �

Files changed (1) hide show
  1. index.html +85 -28
index.html CHANGED
@@ -79,24 +79,25 @@
79
  <!-- Taskbar -->
80
  <div class="absolute bottom-0 left-0 right-0 bg-gray-900 bg-opacity-90 h-12 flex items-center px-4 justify-between">
81
  <div class="flex items-center space-x-2">
82
- <button class="taskbar-icon p-2 rounded-md hover:bg-gray-700">
83
- <img src="https://win11.blueedge.me/img/icon/home.png" alt="Start" class="w-6 h-6">
 
 
84
  </button>
85
- <button class="taskbar-icon p-2 rounded-md hover:bg-gray-700">
86
- <img src="https://win11.blueedge.me/img/icon/widget.png" alt="Widgets" class="w-6 h-6">
87
  </button>
88
- <button class="taskbar-icon p-2 rounded-md hover:bg-gray-700">
89
  <img src="https://win11.blueedge.me/img/icon/explorer.png" alt="Explorer" class="w-6 h-6">
90
  </button>
91
- <button class="taskbar-icon p-2 rounded-md hover:bg-gray-700">
92
  <img src="https://win11.blueedge.me/img/icon/edge.png" alt="Edge" class="w-6 h-6">
93
  </button>
94
- <button class="taskbar-icon p-2 rounded-md hover:bg-gray-700">
95
  <img src="https://win11.blueedge.me/img/icon/store.png" alt="Store" class="w-6 h-6">
96
  </button>
97
  </div>
98
-
99
- <div class="flex items-center space-x-2">
100
  <button class="taskbar-icon p-1 rounded-md hover:bg-gray-700 flex items-center">
101
  <i data-feather="wifi" class="w-5 h-5 text-white"></i>
102
  </button>
@@ -109,35 +110,91 @@
109
  <div class="w-1 h-5 bg-gray-600 mx-1"></div>
110
  </div>
111
  </div>
112
-
113
  <!-- Start Menu (hidden by default) -->
114
- <div class="start-menu absolute bottom-16 left-4 w-96 h-2/3 rounded-lg hidden">
115
  <div class="p-4">
116
- <input type="text" placeholder="Type here to search" class="w-full p-2 rounded-lg bg-gray-100 mb-4">
117
- <div class="grid grid-cols-6 gap-4">
118
- <div class="flex flex-col items-center">
119
- <img src="https://win11.blueedge.me/img/icon/calculator.png" alt="Calculator" class="w-10 h-10 mb-1">
120
- <span class="text-xs">Calculator</span>
121
- </div>
122
- <div class="flex flex-col items-center">
123
- <img src="https://win11.blueedge.me/img/icon/spotify.png" alt="Spotify" class="w-10 h-10 mb-1">
124
- <span class="text-xs">Spotify</span>
 
 
 
 
 
 
 
 
 
 
 
 
125
  </div>
126
- <div class="flex flex-col items-center">
127
- <img src="https://win11.blueedge.me/img/icon/notepad.png" alt="Notepad" class="w-10 h-10 mb-1">
128
- <span class="text-xs">Notepad</span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  </div>
130
  </div>
131
  </div>
132
- </div>
133
 
134
- <script>
 
 
 
 
 
 
 
 
 
135
  feather.replace();
136
 
137
- // Toggle start menu
138
- document.querySelector('[alt="Start"]').addEventListener('click', function() {
139
  document.querySelector('.start-menu').classList.toggle('hidden');
140
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
  </script>
142
  </body>
143
  </html>
 
79
  <!-- Taskbar -->
80
  <div class="absolute bottom-0 left-0 right-0 bg-gray-900 bg-opacity-90 h-12 flex items-center px-4 justify-between">
81
  <div class="flex items-center space-x-2">
82
+ <button class="taskbar-icon p-2 rounded-md hover:bg-gray-700" onclick="toggleStartMenu()">
83
+ <div class="w-6 h-6 bg-blue-500 rounded-full flex items-center justify-center">
84
+ <span class="text-white text-xs font-bold">K</span>
85
+ </div>
86
  </button>
87
+ <button class="taskbar-icon p-2 rounded-md hover:bg-gray-700" onclick="openApp('search')">
88
+ <i data-feather="search" class="w-5 h-5 text-white"></i>
89
  </button>
90
+ <button class="taskbar-icon p-2 rounded-md hover:bg-gray-700" onclick="openApp('explorer')">
91
  <img src="https://win11.blueedge.me/img/icon/explorer.png" alt="Explorer" class="w-6 h-6">
92
  </button>
93
+ <button class="taskbar-icon p-2 rounded-md hover:bg-gray-700" onclick="openApp('edge')">
94
  <img src="https://win11.blueedge.me/img/icon/edge.png" alt="Edge" class="w-6 h-6">
95
  </button>
96
+ <button class="taskbar-icon p-2 rounded-md hover:bg-gray-700" onclick="openApp('store')">
97
  <img src="https://win11.blueedge.me/img/icon/store.png" alt="Store" class="w-6 h-6">
98
  </button>
99
  </div>
100
+ <div class="flex items-center space-x-2">
 
101
  <button class="taskbar-icon p-1 rounded-md hover:bg-gray-700 flex items-center">
102
  <i data-feather="wifi" class="w-5 h-5 text-white"></i>
103
  </button>
 
110
  <div class="w-1 h-5 bg-gray-600 mx-1"></div>
111
  </div>
112
  </div>
 
113
  <!-- Start Menu (hidden by default) -->
114
+ <div class="start-menu absolute bottom-16 left-4 w-96 h-2/3 rounded-lg hidden backdrop-blur-xl bg-gray-900 bg-opacity-80 border border-gray-700 overflow-hidden">
115
  <div class="p-4">
116
+ <input type="text" placeholder="Type here to search" class="w-full p-3 rounded-lg bg-gray-800 text-white mb-4 focus:outline-none focus:ring-2 focus:ring-blue-500">
117
+
118
+ <div class="mb-6">
119
+ <h3 class="text-gray-400 text-sm font-semibold mb-3">Pinned</h3>
120
+ <div class="grid grid-cols-6 gap-4">
121
+ <div class="flex flex-col items-center cursor-pointer group" onclick="openApp('calculator')">
122
+ <img src="https://win11.blueedge.me/img/icon/calculator.png" alt="Calculator" class="w-10 h-10 mb-1 group-hover:scale-110 transition-transform">
123
+ <span class="text-xs text-white group-hover:text-blue-400">Calculator</span>
124
+ </div>
125
+ <div class="flex flex-col items-center cursor-pointer group" onclick="openApp('spotify')">
126
+ <img src="https://win11.blueedge.me/img/icon/spotify.png" alt="Spotify" class="w-10 h-10 mb-1 group-hover:scale-110 transition-transform">
127
+ <span class="text-xs text-white group-hover:text-blue-400">Spotify</span>
128
+ </div>
129
+ <div class="flex flex-col items-center cursor-pointer group" onclick="openApp('notepad')">
130
+ <img src="https://win11.blueedge.me/img/icon/notepad.png" alt="Notepad" class="w-10 h-10 mb-1 group-hover:scale-110 transition-transform">
131
+ <span class="text-xs text-white group-hover:text-blue-400">Notepad</span>
132
+ </div>
133
+ <div class="flex flex-col items-center cursor-pointer group" onclick="openApp('terminal')">
134
+ <img src="https://win11.blueedge.me/img/icon/terminal.png" alt="Terminal" class="w-10 h-10 mb-1 group-hover:scale-110 transition-transform">
135
+ <span class="text-xs text-white group-hover:text-blue-400">Terminal</span>
136
+ </div>
137
  </div>
138
+ </div>
139
+
140
+ <div>
141
+ <h3 class="text-gray-400 text-sm font-semibold mb-3">Recommended</h3>
142
+ <div class="space-y-2">
143
+ <div class="flex items-center p-3 rounded-lg hover:bg-gray-800 cursor-pointer" onclick="openApp('settings')">
144
+ <img src="https://win11.blueedge.me/img/icon/settings.png" alt="Settings" class="w-8 h-8 mr-3">
145
+ <div>
146
+ <div class="text-white text-sm">Settings</div>
147
+ <div class="text-gray-400 text-xs">System preferences</div>
148
+ </div>
149
+ </div>
150
+ <div class="flex items-center p-3 rounded-lg hover:bg-gray-800 cursor-pointer" onclick="openApp('store')">
151
+ <img src="https://win11.blueedge.me/img/icon/store.png" alt="Store" class="w-8 h-8 mr-3">
152
+ <div>
153
+ <div class="text-white text-sm">Microsoft Store</div>
154
+ <div class="text-gray-400 text-xs">Download apps</div>
155
+ </div>
156
+ </div>
157
  </div>
158
  </div>
159
  </div>
 
160
 
161
+ <div class="absolute bottom-4 right-4 flex space-x-2">
162
+ <button class="w-8 h-8 bg-gray-800 rounded-full flex items-center justify-center hover:bg-gray-700">
163
+ <i data-feather="user" class="w-4 h-4 text-white"></i>
164
+ </button>
165
+ <button class="w-8 h-8 bg-gray-800 rounded-full flex items-center justify-center hover:bg-gray-700">
166
+ <i data-feather="power" class="w-4 h-4 text-white"></i>
167
+ </button>
168
+ </div>
169
+ </div>
170
+ <script>
171
  feather.replace();
172
 
173
+ function toggleStartMenu() {
 
174
  document.querySelector('.start-menu').classList.toggle('hidden');
175
+ }
176
+
177
+ function openApp(appName) {
178
+ // Create new window for the app
179
+ const window = document.createElement('div');
180
+ window.className = 'window absolute top-1/4 left-1/4 w-1/2 h-1/2 bg-white flex flex-col z-10';
181
+ window.innerHTML = `
182
+ <div class="bg-gray-100 px-4 py-2 flex justify-between items-center border-b">
183
+ <div class="flex items-center">
184
+ <img src="https://win11.blueedge.me/img/icon/${appName}.png" alt="${appName}" class="w-5 h-5 mr-2">
185
+ <span>${appName.charAt(0).toUpperCase() + appName.slice(1)}</span>
186
+ </div>
187
+ <div class="flex">
188
+ <button class="px-3 py-1 hover:bg-gray-200" onclick="this.parentNode.parentNode.parentNode.remove()"><i data-feather="x"></i></button>
189
+ </div>
190
+ </div>
191
+ <div class="flex-1 p-4 overflow-auto flex items-center justify-center">
192
+ <p>${appName.charAt(0).toUpperCase() + appName.slice(1)} app will open here</p>
193
+ </div>
194
+ `;
195
+ document.body.appendChild(window);
196
+ feather.replace();
197
+ }
198
  </script>
199
  </body>
200
  </html>