-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgaleri.html
More file actions
117 lines (97 loc) · 2.95 KB
/
Copy pathgaleri.html
File metadata and controls
117 lines (97 loc) · 2.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>MotoSite - Galeri</title>
<link rel="stylesheet" href="style.css" />
<style>
.galeri {
max-width: 900px;
margin: 30px auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
z-index: 1;
position: relative;
}
.galeri img {
width: 100%;
border-radius: 12px;
box-shadow: 0 0 10px #fff5;
cursor: pointer;
transition: transform 0.3s ease;
}
.galeri img:hover {
transform: scale(1.05);
}
a.btn {
display: inline-block;
margin: 20px auto;
padding: 10px 15px;
background: #ff4a4a;
color: white;
text-decoration: none;
border-radius: 8px;
transition: background 0.3s ease;
text-align: center;
max-width: 200px;
}
a.btn:hover {
background: #ff2a2a;
}
#particles-js {
position: fixed;
width: 100%;
height: 100%;
z-index: 0;
}
header, section, div {
position: relative;
z-index: 1;
}
</style>
</head>
<body>
<!-- Arka plan efekti -->
<div id="particles-js"></div>
<nav class="navbar">
<div class="container">
<h1 class="logo">MotoSite</h1>
<div class="menu-toggle" id="mobile-menu">☰</div>
<ul class="nav-links">
<li><a href="index.html">Ana Sayfa</a></li>
<li><a href="galeri.html" target="_blank">Galeri</a></li>
<li><a href="honda.html" target="_blank">Honda</a></li>
<li><a href="yamaha.html" target="_blank">Yamaha</a></li>
<li><a href="ducati.html" target="_blank">Ducati</a></li>
</ul>
</div>
</nav>
<header>
<h1>MotoSite Galeri</h1>
<p>Motosiklet modellerinden seçmeler</p>
</header>
<section class="galeri">
<img src="motorsiklet.png/cbr1000-rr.jpg" alt="Honda CBR 1000RR" />
<img src="motorsiklet.png/MT-07.avif" alt="Yamaha MT-07" />
<img src="motorsiklet.png/panigale-v4.webp" alt="Ducati Panigale V4" />
<img src="motorsiklet.png/harley-1.jpg" alt="Harley Davidson" />
<img src="motorsiklet.png/767169-kawasaki-h2-wallpapers-1920x1080-for-ipad-2.jpg" alt="Kawasaki Ninja" />
<img src="motorsiklet.png/gsxr.jpeg" alt="Suzuki GSX-R" />
</section>
<div style="text-align:center;">
<a href="index.html" class="btn">Ana Sayfaya Dön</a>
</div>
<!-- Arka plan scriptleri -->
<script src="particles.min.js"></script>
<script src="script.js"></script>
<script>
const mobileMenu = document.getElementById("mobile-menu");
const navLinks = document.querySelector(".nav-links");
mobileMenu.addEventListener("click", () => {
navLinks.classList.toggle("active");
});
</script>
</body>
</html>