Make landing page show notifications without navbar

- Modified landing.html to extend base.html template
- Landing page now shows notification bubbles but hides navbar for non-authenticated users
- Maintains full landing page design and functionality
parent ee557caf
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VidAI - The adult content friendly video automation system</title>
<meta name="description" content="Advanced AI-powered video analysis tools designed for adult content creators. Automated scene detection, content moderation, and professional video processing.">
<link rel="icon" type="image/jpg" href="/image.jpg">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<style>
{% extends "base.html" %}
{% block title %}VidAI - The adult content friendly video automation system{% endblock %}
{% block head %}
<style>
* {
margin: 0;
padding: 0;
......@@ -395,8 +390,9 @@
animation: fadeInUp 0.6s ease-out;
}
</style>
</head>
<body>
{% endblock %}
{% block content %}
<header>
<div class="container">
<div class="logo">VidAI</div>
......@@ -552,5 +548,4 @@
});
});
</script>
</body>
</html>
\ No newline at end of file
{% endblock %}
\ No newline at end of file
......@@ -124,9 +124,7 @@ def index():
return redirect(url_for('dashboard'))
# Show landing page for non-authenticated users
with open('templates/landing.html', 'r') as f:
landing_html = f.read()
return landing_html
return render_template('landing.html', user=None)
@app.route('/dashboard')
@login_required
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment