Finals
This commit is contained in:
149
pages/main.html
Normal file
149
pages/main.html
Normal file
@ -0,0 +1,149 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="hu">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>ConnectHub</title>
|
||||
<link rel="stylesheet" href="../css/main.css" />
|
||||
<link rel="stylesheet" href="../css/navbar.css" />
|
||||
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="navbar-container"></div>
|
||||
<section class="main-home">
|
||||
<!-- Bejegyzés létrehozás kártya -->
|
||||
<div class="create-post-card">
|
||||
<form action="">
|
||||
<div class="profile-section">
|
||||
<img src="../profile_example.png" alt="Profile" class="profile-img" />
|
||||
<div class="profile-info">
|
||||
<h2 class="profile-name">User</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="input-container">
|
||||
<textarea id="postInput" placeholder="Oszd meg a gondolataidat!"></textarea>
|
||||
<button id="submitPostBtn" type="submit">
|
||||
<div class="svg-wrapper-1">
|
||||
<div class="svg-wrapper">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">
|
||||
<path fill="none" d="M0 0h24v24H0z"></path>
|
||||
<path fill="currentColor" d="M1.946 9.315c-.522-.174-.527-.455.01-.634l19.087-6.362c.529-.176.832.12.684.638l-5.454 19.086c-.15.529-.455.547-.679.045L12 14l6-8-8 6-8.054-2.685z"></path>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
<span>Küldés</span>
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="card-container">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<img src="../profile_example.png" alt="Profile" class="card-profile-img" />
|
||||
<div class="card-user-info">
|
||||
<div class="card-profile-name">User</div>
|
||||
<div class="card-date">2024-05-16</div>
|
||||
</div>
|
||||
</div>
|
||||
<p class="post-comment">Ez egy példa szöveg a kártyán belül.</p>
|
||||
|
||||
<!-- Poszt reakciók és kommentek gomb -->
|
||||
<div class="post-actions">
|
||||
<button class="reaction-btn" id="reaction-btn-left" onclick="toggleReaction(this)">
|
||||
<img src="./../src/arrow.png" alt="Felfelé" class="arrow-up" style="transform: rotate(270deg);" />
|
||||
<span class="reaction-count">0</span>
|
||||
</button>
|
||||
<button class="reaction-btn" id="reaction-btn-right" onclick="toggleReaction(this)">
|
||||
<img src="./../src/arrow.png" alt="Lefelé" class="arrow-down" style="transform: rotate(90deg);" />
|
||||
<span class="reaction-count">0</span>
|
||||
</button>
|
||||
<button class="comment-btn" onclick="toggleComments(this)" style="margin-left: auto;">
|
||||
<i class="bx bx-comment"></i> Kommentek
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- Kommentek szekció -->
|
||||
<div class="comments-section" style="display: none;">
|
||||
<!-- Komment írás -->
|
||||
<div class="write-comment">
|
||||
<img src="../profile_example.png" alt="Profile" class="comment-profile-img" />
|
||||
<textarea placeholder="Írj egy kommentet..." class="comment-input"></textarea>
|
||||
<button class="submit-comment-btn">Küldés</button>
|
||||
</div>
|
||||
|
||||
<!-- Komment lista -->
|
||||
<div class="comment-list">
|
||||
<div class="comment">
|
||||
<img src="../profile_example.png" alt="Profile" class="comment-profile-img" />
|
||||
<div class="comment-content">
|
||||
<div class="comment-header">
|
||||
<span class="comment-name">User</span>
|
||||
<span class="comment-date">2024-05-16</span>
|
||||
</div>
|
||||
<p class="comment-text">Ez egy komment.</p>
|
||||
<div class="comment-actions">
|
||||
<button class="reaction-btn" id="reaction-btn-left">
|
||||
<img src="./../src/arrow.png" alt="Felfelé" class="arrow-up" style="transform: rotate(270deg);" />
|
||||
<span class="reaction-count">0</span>
|
||||
</button>
|
||||
<button class="reaction-btn" id="reaction-btn-right">
|
||||
<img src="./../src/arrow.png" alt="Lefelé" class="arrow-down" style="transform: rotate(90deg);" />
|
||||
<span class="reaction-count">0</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="comment">
|
||||
<img src="../profile_example.png" alt="Profile" class="comment-profile-img" />
|
||||
<div class="comment-content">
|
||||
<div class="comment-header">
|
||||
<span class="comment-name">User</span>
|
||||
<span class="comment-date">2024-05-16</span>
|
||||
</div>
|
||||
<p class="comment-text">Ez egy komment.</p>
|
||||
<div class="comment-actions">
|
||||
<button class="reaction-btn" id="reaction-btn-left">
|
||||
<img src="./../src/arrow.png" alt="Felfelé" class="arrow-up" style="transform: rotate(270deg);" />
|
||||
<span class="reaction-count">0</span>
|
||||
</button>
|
||||
<button class="reaction-btn" id="reaction-btn-right">
|
||||
<img src="./../src/arrow.png" alt="Lefelé" class="arrow-down" style="transform: rotate(90deg);" />
|
||||
<span class="reaction-count">0</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="comment">
|
||||
<img src="../profile_example.png" alt="Profile" class="comment-profile-img" />
|
||||
<div class="comment-content">
|
||||
<div class="comment-header">
|
||||
<span class="comment-name">User</span>
|
||||
<span class="comment-date">2024-05-16</span>
|
||||
</div>
|
||||
<p class="comment-text">Ez egy komment.</p>
|
||||
<div class="comment-actions">
|
||||
<button class="reaction-btn" id="reaction-btn-left">
|
||||
<img src="./../src/arrow.png" alt="Felfelé" class="arrow-up" style="transform: rotate(270deg);" />
|
||||
<span class="reaction-count">0</span>
|
||||
</button>
|
||||
<button class="reaction-btn" id="reaction-btn-right">
|
||||
<img src="./../src/arrow.png" alt="Lefelé" class="arrow-down" style="transform: rotate(90deg);" />
|
||||
<span class="reaction-count">0</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div> <!-- Kártya záró tag -->
|
||||
</div> <!-- Kártya konténer záró tag -->
|
||||
</section>
|
||||
|
||||
<script src="../js/navbar.js"></script>
|
||||
<script src="../js/main.js"></script>
|
||||
<script src="../js/post.js"></script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user