This commit is contained in:
2024-09-25 20:49:15 +02:00
parent b572feeb5a
commit 73a9e04c2b
22 changed files with 1982 additions and 682 deletions

View File

@ -2,148 +2,124 @@
<html lang="hu">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Saját Profil</title>
<link rel="stylesheet" href="../css/profile.css">
<link rel="stylesheet" href="../css/navbar.css">
<link rel="stylesheet" href="../css/feedback.css">
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet"/>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ConnectHub</title>
<link rel="stylesheet" href="../css/profile.css">
<link rel="stylesheet" href="../css/navbar.css">
<link rel="stylesheet" href="../css/main.css">
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet"/>
</head>
<body>
<div id="navbar-container"></div> <!-- Oldalsáv helye -->
<div id="navbar-container"></div> <!-- Oldalsáv helye -->
<div class="container">
<div class="profile-card">
<div class="background">
<div class="profile-image">
<img src="../profile_example.png" alt="Profilkép">
</div>
</div>
<div class="profile-info">
<h1 class="name">Felhasználó Neve</h1>
<p class="description">Itt található a felhasználó rövid leírása, amely bemutatja a profil tulajdonosát.</p>
</div>
</div>
</div>
<!-- Bejegyzés létrehozás kártya -->
<div class="create-post-card">
<div class="profile-section">
<img src="../profile_example.png" alt="Profile" class="profile-img" />
<input type="text" placeholder="Mit szeretnél megosztani?" id="postInput" />
</div>
<div class="input-container">
<!-- Új küldés gomb -->
<button id="submitPostBtn">
<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 class="container">
<div class="profile-card">
<div class="background">
<div class="profile-image">
<img src="../profile_example.png" alt="Profilkép">
</div>
</div>
<div class="profile-info">
<h1 class="name">Felhasználó Neve</h1>
<p class="description">Itt található a felhasználó rövid leírása, amely bemutatja a profil tulajdonosát.</p>
</div>
</div>
<span>Küldés</span>
</button>
</div>
</div>
</div>
<!-- Példa bejegyzés kártya -->
<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">
<h2>Áron</h2>
<p>2 órája</p>
</div>
</div>
<p>Ez egy példa szöveg a kártyán belül.</p>
<div class="post-actions">
<button class="like-btn" onclick="toggleLike(this)">
<i class="bx bx-like"></i> Like
</button>
<button class="comment-btn">
<i class="bx bx-comment"></i> Komment
</button>
</div>
</div>
</div>
<!-- MORE ELEMENTS FOR TEST -->
<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">
<h2>Áron</h2>
<p>2 órája</p>
</div>
</div>
<p>Ez egy példa szöveg a kártyán belül.</p>
<div class="post-actions">
<button class="like-btn" onclick="toggleLike(this)">
<i class="bx bx-like"></i> Like
</button>
<button class="comment-btn">
<i class="bx bx-comment"></i> Komment
</button>
</div>
</div>
<!-- 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>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>
<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">
<h2>Áron</h2>
<p>2 órája</p>
</div>
</div>
<p>Ez egy példa szöveg a kártyán belül.</p>
<div class="post-actions">
<button class="like-btn" onclick="toggleLike(this)">
<i class="bx bx-like"></i> Like
</button>
<button class="comment-btn">
<i class="bx bx-comment"></i> Komment
</button>
</div>
</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 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">
<h2>Áron</h2>
<p>2 órája</p>
</div>
</div>
<p>Ez egy példa szöveg a kártyán belül.</p>
<div class="post-actions">
<button class="like-btn" onclick="toggleLike(this)">
<i class="bx bx-like"></i> Like
</button>
<button class="comment-btn">
<i class="bx bx-comment"></i> Komment
</button>
</div>
</div>
</div>
<!-- END OF MORE ELEMENTS FOR TEST -->
<script src="../js/navbar.js"></script> <!-- Oldalsáv JS -->
<script src="../js/profile.js"></script> <!-- Profil oldal JS -->
</div>
</div>
</div>
</div>
</div> <!-- Kártya záró tag -->
</div> <!-- Kártya konténer záró tag -->
<script src="../js/navbar.js"></script> <!-- Oldalsáv JS -->
<script src="../js/profile.js"></script> <!-- Profil oldal JS -->
<script src="../js/post.js"></script> <!-- Profil oldal JS -->
</body>
</html>