276 lines
6.6 KiB
Plaintext
276 lines
6.6 KiB
Plaintext
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>Udemy Clone Project</title>
|
||
<link rel="stylesheet" href="styles.css">
|
||
<style>
|
||
/* CSS kodları buraya eklenir */
|
||
body {
|
||
font-family: Arial, sans-serif;
|
||
background-color: #f0f0f0;
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
header {
|
||
background-color: #333;
|
||
color: #fff;
|
||
text-align: center;
|
||
padding: 10px 0;
|
||
}
|
||
|
||
header h1 {
|
||
margin: 0;
|
||
font-size: 24px;
|
||
}
|
||
|
||
nav ul {
|
||
list-style: none;
|
||
padding: 0;
|
||
}
|
||
|
||
nav ul li {
|
||
display: inline;
|
||
margin-right: 20px;
|
||
}
|
||
|
||
nav ul li:last-child {
|
||
margin-right: 0;
|
||
}
|
||
|
||
nav ul li a {
|
||
text-decoration: none;
|
||
color: #fff;
|
||
font-weight: bold;
|
||
}
|
||
|
||
main {
|
||
max-width: 1200px;
|
||
margin: 20px auto;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
section {
|
||
flex: 2;
|
||
background-color: #fff;
|
||
padding: 20px;
|
||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||
}
|
||
|
||
h2 {
|
||
font-size: 20px;
|
||
}
|
||
|
||
.course-card {
|
||
background-color: #fff;
|
||
border: 1px solid #ccc;
|
||
padding: 10px;
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.course-card img {
|
||
max-width: 100%;
|
||
height: auto;
|
||
}
|
||
|
||
.course-card h3 {
|
||
font-size: 18px;
|
||
margin: 10px 0;
|
||
}
|
||
|
||
.course-card p {
|
||
font-size: 14px;
|
||
color: #777;
|
||
}
|
||
|
||
.course-card span {
|
||
font-size: 16px;
|
||
font-weight: bold;
|
||
color: #333;
|
||
}
|
||
|
||
.buy-button {
|
||
display: block;
|
||
background-color: #f76d57;
|
||
color: #fff;
|
||
text-align: center;
|
||
padding: 10px;
|
||
text-decoration: none;
|
||
font-weight: bold;
|
||
}
|
||
|
||
.buy-button:hover {
|
||
background-color: #f45133;
|
||
}
|
||
|
||
aside {
|
||
flex: 1;
|
||
background-color: #fff;
|
||
padding: 20px;
|
||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||
}
|
||
|
||
aside h2 {
|
||
font-size: 20px;
|
||
}
|
||
|
||
aside ul {
|
||
list-style: none;
|
||
padding: 0;
|
||
}
|
||
|
||
aside ul li {
|
||
margin-bottom: 10px;
|
||
}
|
||
|
||
aside ul li a {
|
||
text-decoration: none;
|
||
color: #333;
|
||
font-weight: bold;
|
||
}
|
||
|
||
footer {
|
||
text-align: center;
|
||
background-color: #333;
|
||
color: #fff;
|
||
padding: 10px 0;
|
||
}
|
||
|
||
section h2 {
|
||
margin-top: 20px;
|
||
font-size: 20px;
|
||
}
|
||
|
||
.search-filter {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
#searchInput,
|
||
#categoryFilter,
|
||
#priceFilter,
|
||
#popularityFilter,
|
||
button {
|
||
margin-right: 10px;
|
||
}
|
||
|
||
#searchInput {
|
||
padding: 5px;
|
||
}
|
||
|
||
button {
|
||
background-color: #007bff;
|
||
color: #fff;
|
||
border: none;
|
||
padding: 8px 16px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
button:hover {
|
||
background-color: #0056b3;
|
||
}
|
||
</style>
|
||
|
||
</head>
|
||
<body>
|
||
|
||
<header>
|
||
<h1>Udemy Clone Project
|
||
|
||
</h1>
|
||
<nav>
|
||
<ul>
|
||
<li><a href="#">Ana Sayfa</a></li>
|
||
<li><a href="#">Kategoriler</a></li>
|
||
<li><a href="#">Kurslarım</a></li>
|
||
<li><a href="#">Profilim</a></li>
|
||
</ul>
|
||
</nav>
|
||
</header>
|
||
|
||
|
||
<main>
|
||
|
||
<section>
|
||
<h2>Popüler Kurslar</h2>
|
||
<div class="course-card">
|
||
<img src="course1.jpg" alt="Kurs 1 Resmi">
|
||
<h3>Kurs Başlığı 1</h3>
|
||
<p>Kurs Açıklaması 1</p>
|
||
<span>Fiyat: $19.99</span>
|
||
<a href="#" class="buy-button">Satın Al</a>
|
||
</div>
|
||
|
||
</section>
|
||
|
||
|
||
<aside>
|
||
<h2>Kategoriler</h2>
|
||
<ul>
|
||
<li><a href="#">Programlama</a></li>
|
||
<li><a href="#">Veri Bilimi</a></li>
|
||
<li><a href="#">Grafik Tasarım</a></li>
|
||
<li><a href="#">Dijital Pazarlama</a></li>
|
||
</ul>
|
||
</aside>
|
||
</main>
|
||
|
||
<!-- Alt Bilgi -->
|
||
<footer>
|
||
<p>© Udemy Clone Project
|
||
|
||
</p>
|
||
</footer>
|
||
|
||
<section>
|
||
<h2>Arama ve Filtreleme</h2>
|
||
<div class="search-filter">
|
||
<input type="text" id="searchInput" placeholder="Kurs Ara">
|
||
<select id="categoryFilter">
|
||
<option value="tum-kategoriler">Tüm Kategoriler</option>
|
||
<option value="programlama">Programlama</option>
|
||
<option value="veri-bilimi">Veri Bilimi</option>
|
||
<option value="grafik-tasarim">Grafik Tasarım</option>
|
||
<option value="dijital-pazarlama">Dijital Pazarlama</option>
|
||
</select>
|
||
<select id="priceFilter">
|
||
<option value="tum-fiyatlar">Tüm Fiyatlar</option>
|
||
<option value="ucretsiz">Ücretsiz</option>
|
||
<option value="19.99">19.99$ ve Altı</option>
|
||
<option value="50">50$ ve Altı</option>
|
||
</select>
|
||
<select id="popularityFilter">
|
||
<option value="tum-populerlik">Tüm Popülerlik</option>
|
||
<option value="en-populer">En Popüler</option>
|
||
<option value="orta-populer">Orta Popüler</option>
|
||
<option value="az-populer">Az Popüler</option>
|
||
</select>
|
||
<button onclick="filterCourses()">Filtrele</button>
|
||
</div>
|
||
</section>
|
||
</body>
|
||
</html>
|
||
|
||
<aside>
|
||
<h2>Kategoriler</h2>
|
||
<ul>
|
||
<li><a href="#">Programlama</a></li>
|
||
<li><a href="#">Veri Bilimi</a></li>
|
||
<li><a href="#">Web Programlama</a>
|
||
<ul>
|
||
<li><a href="#">Frontend</a></li>
|
||
<li><a href="#">Django Web Geliştirme</a></li>
|
||
<li><a href="#">.NET MVC Web Geliştirme</a></li>
|
||
|
||
</ul>
|
||
</li>
|
||
<li><a href="#">Siber Güvenlik</a></li>
|
||
</ul>
|
||
</aside>
|
||
|
||
<a href="@Url.Action("CourseDetail", "Course", new { id = 1 })">Kurs Detayı</a>
|
||
|