Initial commit: Key Ajans portfolio site
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
<!doctype html>
|
||||
<html lang="tr" data-theme="light">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="noindex">
|
||||
<title>{% block title %}Key Ajansı Portfolyosu{% endblock %}</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Montserrat:wght@300;400;500;600&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<header class="topbar">
|
||||
<button class="theme-toggle" id="themeToggle" type="button" aria-label="Tema değiştir" title="Aydınlık / Karanlık tema">
|
||||
<span class="tt-sun">☀</span><span class="tt-moon">☾</span>
|
||||
<span class="tt-knob"></span>
|
||||
</button>
|
||||
<a class="brand" href="/">Key Ajansı</a>
|
||||
<nav class="nav">
|
||||
<a href="/">Ana Menü</a>
|
||||
{% if is_admin %}
|
||||
<a href="{{ url_for('projects.admin_panel') }}">Proje Yükleme</a>
|
||||
<a href="{{ url_for('talepler.admin_inbox') }}">Talepler</a>
|
||||
<form class="inline-form" method="post" action="{{ url_for('auth.cikis') }}">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
|
||||
<button class="link-btn" type="submit">Çıkış</button>
|
||||
</form>
|
||||
{% elif current_user %}
|
||||
<a href="{{ url_for('talepler.new_talep') }}">Yeni Talep</a>
|
||||
<form class="inline-form" method="post" action="{{ url_for('auth.cikis') }}">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
|
||||
<button class="link-btn" type="submit">Çıkış</button>
|
||||
</form>
|
||||
{% else %}
|
||||
<a href="{{ url_for('auth.login_page') }}">Giriş Yap</a>
|
||||
<a href="{{ url_for('auth.kayit') }}">Kayıt Ol</a>
|
||||
{% endif %}
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
{% with messages = get_flashed_messages(with_categories=true) %}
|
||||
{% if messages %}
|
||||
<div class="flash-wrap">
|
||||
{% for category, message in messages %}
|
||||
<div class="flash flash-{{ category }}">{{ message }}</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
||||
<main class="wrap">
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
|
||||
<footer class="footer">
|
||||
<p>Key Ajansı Portfolyosu — an unofficial agency</p>
|
||||
</footer>
|
||||
|
||||
<script src="{{ url_for('static', filename='js/app.js') }}"></script>
|
||||
{% block scripts %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user