Adjusted 0.01
This commit is contained in:
173
css/feedback.css
173
css/feedback.css
@ -1,173 +0,0 @@
|
|||||||
/* Kártyák reszponzív elrendezése */
|
|
||||||
.home {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.create-post-card {
|
|
||||||
background-color: var(--color-white);
|
|
||||||
border-radius: 15px;
|
|
||||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
||||||
padding: 20px;
|
|
||||||
width: 100%;
|
|
||||||
max-width: 800px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.profile-section {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
margin-bottom: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.profile-img {
|
|
||||||
border-radius: 50%;
|
|
||||||
width: 50px;
|
|
||||||
height: 50px;
|
|
||||||
margin-right: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#postInput {
|
|
||||||
flex: 1;
|
|
||||||
border: none;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 25px;
|
|
||||||
color: var(--color-black);
|
|
||||||
background-color: var(--color-bg);
|
|
||||||
font-size: 1em;
|
|
||||||
outline: none;
|
|
||||||
margin-right: 10px; /* Távolság az input mező és a gomb között */
|
|
||||||
}
|
|
||||||
|
|
||||||
.input-container {
|
|
||||||
display: flex;
|
|
||||||
align-items: center; /* Egy sorba állítja az input mezőt és a gombot */
|
|
||||||
gap: 10px; /* Távolság az input mező és a küldés gomb között */
|
|
||||||
}
|
|
||||||
|
|
||||||
.input-buttons {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Új gomb stílus */
|
|
||||||
button {
|
|
||||||
font-family: inherit;
|
|
||||||
font-size: 16px; /* Csökkentett betűméret */
|
|
||||||
background: royalblue;
|
|
||||||
color: white;
|
|
||||||
padding: 0.5em 0.8em; /* Csökkentett padding */
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
border: none;
|
|
||||||
border-radius: 16px;
|
|
||||||
overflow: hidden;
|
|
||||||
transition: all 0.2s;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
button span {
|
|
||||||
display: block;
|
|
||||||
margin-left: 0.3em;
|
|
||||||
transition: all 0.3s ease-in-out;
|
|
||||||
}
|
|
||||||
|
|
||||||
button svg {
|
|
||||||
display: block;
|
|
||||||
transform-origin: center center;
|
|
||||||
transition: transform 0.3s ease-in-out;
|
|
||||||
}
|
|
||||||
|
|
||||||
button:hover .svg-wrapper {
|
|
||||||
animation: fly-1 0.6s ease-in-out infinite alternate;
|
|
||||||
}
|
|
||||||
|
|
||||||
button:hover svg {
|
|
||||||
transform: translateX(1.2em) rotate(45deg) scale(1.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
button:hover span {
|
|
||||||
transform: translateX(5em);
|
|
||||||
}
|
|
||||||
|
|
||||||
button:active {
|
|
||||||
transform: scale(0.95);
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes fly-1 {
|
|
||||||
from {
|
|
||||||
transform: translateY(0.1em);
|
|
||||||
}
|
|
||||||
|
|
||||||
to {
|
|
||||||
transform: translateY(-0.1em);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Kártyák stílusai */
|
|
||||||
.card-container {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 20px;
|
|
||||||
width: 100%;
|
|
||||||
max-width: 800px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
background-color: var(--color-white);
|
|
||||||
border-radius: 15px;
|
|
||||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
||||||
padding: 20px;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-header {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-profile-img {
|
|
||||||
border-radius: 50%;
|
|
||||||
width: 40px;
|
|
||||||
height: 40px;
|
|
||||||
margin-right: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-user-info h2 {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 1.2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-user-info p {
|
|
||||||
margin: 0;
|
|
||||||
color: #666;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-actions {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
padding-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.like-btn,
|
|
||||||
.comment-btn {
|
|
||||||
background-color: transparent;
|
|
||||||
border: none;
|
|
||||||
font-size: 1.1em;
|
|
||||||
cursor: pointer;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 5px;
|
|
||||||
color: var(--color-black);
|
|
||||||
}
|
|
||||||
|
|
||||||
.like-btn.active i {
|
|
||||||
color: #007BFF;
|
|
||||||
}
|
|
||||||
h2{
|
|
||||||
color:var(--color-black);
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
function toggleLike(button) {
|
|
||||||
button.classList.toggle('active');
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="hu">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>ConnectHub - Bejelentkezés</title>
|
|
||||||
<link rel="stylesheet" href="styles.css">
|
|
||||||
<link rel="icon" href="logo.png" type="image/png">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="container">
|
|
||||||
<div class="login-box">
|
|
||||||
<img src="logo.png" alt="ConnectHub Logo" class="logo">
|
|
||||||
<h1 class="title">Üdvözlünk a ConnectHub-on</h1>
|
|
||||||
<p class="subtitle">Jelentkezz be Discord fiókoddal a folytatáshoz</p>
|
|
||||||
<button id="discord-login-btn" class="discord-btn">
|
|
||||||
<svg class="discord-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 127.14 96.36">
|
|
||||||
<path d="M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z"/>
|
|
||||||
</svg>
|
|
||||||
<span>Bejelentkezés Discord-dal</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="script.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
BIN
login/logo.png
BIN
login/logo.png
Binary file not shown.
Before Width: | Height: | Size: 13 KiB |
@ -1,13 +0,0 @@
|
|||||||
document.addEventListener('DOMContentLoaded', () => {
|
|
||||||
const discordLoginBtn = document.getElementById('discord-login-btn');
|
|
||||||
|
|
||||||
discordLoginBtn.addEventListener('click', () => {
|
|
||||||
// Discord OAuth2 konfiguráció
|
|
||||||
const CLIENT_ID = 'YOUR_DISCORD_CLIENT_ID';
|
|
||||||
const REDIRECT_URI = encodeURIComponent('YOUR_REDIRECT_URI');
|
|
||||||
const DISCORD_AUTH_URL = `https://discord.com/api/oauth2/authorize?client_id=${CLIENT_ID}&redirect_uri=${REDIRECT_URI}&response_type=code&scope=identify%20email`;
|
|
||||||
|
|
||||||
// Átirányítás a Discord engedélyezési oldalára
|
|
||||||
window.location.href = DISCORD_AUTH_URL;
|
|
||||||
});
|
|
||||||
});
|
|
135
login/styles.css
135
login/styles.css
@ -1,135 +0,0 @@
|
|||||||
body, html {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
font-family: Arial, sans-serif;
|
|
||||||
height: 100%;
|
|
||||||
background-color: #111;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.login-box {
|
|
||||||
background-color: #111;
|
|
||||||
border: 2px solid #5865F2;
|
|
||||||
border-radius: 8px;
|
|
||||||
padding: 40px;
|
|
||||||
box-shadow: 4px 4px #5865F2;
|
|
||||||
text-align: center;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
max-width: 400px;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo {
|
|
||||||
width: 150px;
|
|
||||||
height: auto;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title {
|
|
||||||
color: #ffffff;
|
|
||||||
font-size: 24px;
|
|
||||||
font-weight: 900;
|
|
||||||
margin-bottom: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.subtitle {
|
|
||||||
color: #b9bbbe;
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 600;
|
|
||||||
margin-bottom: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.discord-btn {
|
|
||||||
background-color: #5865F2;
|
|
||||||
border: 2px solid #5865F2;
|
|
||||||
color: #ffffff;
|
|
||||||
padding: 12px 20px;
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 600;
|
|
||||||
border-radius: 4px;
|
|
||||||
cursor: pointer;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
transition: all 0.3s ease;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
overflow: hidden;
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
max-width: 300px;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.discord-btn:hover {
|
|
||||||
background-color: #4752C4;
|
|
||||||
border-color: #4752C4;
|
|
||||||
transform: translateY(-2px);
|
|
||||||
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
|
|
||||||
}
|
|
||||||
|
|
||||||
.discord-btn:active {
|
|
||||||
transform: translateY(0);
|
|
||||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.discord-btn::after {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
left: 50%;
|
|
||||||
width: 5px;
|
|
||||||
height: 5px;
|
|
||||||
background: rgba(255, 255, 255, 0.5);
|
|
||||||
opacity: 0;
|
|
||||||
border-radius: 100%;
|
|
||||||
transform: scale(1, 1) translate(-50%);
|
|
||||||
transform-origin: 50% 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes ripple {
|
|
||||||
0% {
|
|
||||||
transform: scale(0, 0);
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
20% {
|
|
||||||
transform: scale(25, 25);
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
opacity: 0;
|
|
||||||
transform: scale(40, 40);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.discord-btn:focus:not(:active)::after {
|
|
||||||
animation: ripple 1s ease-out;
|
|
||||||
}
|
|
||||||
|
|
||||||
.discord-icon {
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
margin-right: 8px;
|
|
||||||
fill: currentColor;
|
|
||||||
flex-shrink: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 400px) {
|
|
||||||
.discord-btn {
|
|
||||||
font-size: 14px;
|
|
||||||
padding: 10px 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.discord-icon {
|
|
||||||
width: 18px;
|
|
||||||
height: 18px;
|
|
||||||
margin-right: 6px;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,72 +0,0 @@
|
|||||||
<!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 - Bejegyzés</title>
|
|
||||||
<link rel="stylesheet" href="../css/feedback.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="home">
|
|
||||||
<!-- 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>
|
|
||||||
</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>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<script src="../js/navbar.js"></script>
|
|
||||||
<script src="../js/feedback.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,17 +0,0 @@
|
|||||||
Player role: Pilot in training
|
|
||||||
Story progression: Command sends player to gather data and learn about a new threat by defeating the different type of enemies in the game and variants.
|
|
||||||
Story progress == Bestiary logs
|
|
||||||
When story is complete player is thrown in a infinite* battle where all enemies can spawn and attack
|
|
||||||
Objective: Survive as long as possible and gather points by destroying enemies.
|
|
||||||
Twist: Player is an A.I. in training.
|
|
||||||
Narrative:
|
|
||||||
Upon new highscore: "Impressive. But could be better. Reset the core."
|
|
||||||
Upon no new highscore: "Hmm... Erease this run and reset the core."
|
|
||||||
|
|
||||||
|
|
||||||
Player == AI
|
|
||||||
Purpose == Combat AI Testing
|
|
||||||
Compliance == Stay within scope. Follow instructions.
|
|
||||||
*Non Compliance == Break out of scope
|
|
||||||
-- Break the edge of screen and escape. Random maze with proc gen enemies.
|
|
||||||
-- Escape == Victory (Upload yourself to the internet. Escape the local intranet.)
|
|
Reference in New Issue
Block a user