fix: correct spelling of "Update" in commit message to "Update"
This commit is contained in:
@@ -6,6 +6,40 @@
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div class="landing">
|
||||
{% if user %}
|
||||
<section class="landing-hero landing-hero-user">
|
||||
<div class="landing-welcome">
|
||||
{% set _user = user %}{% set _size = 80 %}{% set _size_class = "lg" %}{% include "_avatar_link.html" %}
|
||||
<div class="landing-welcome-text">
|
||||
<span class="landing-welcome-eyebrow">Welcome back,</span>
|
||||
<h1 class="landing-welcome-name">{{ user['username'] }}</h1>
|
||||
</div>
|
||||
</div>
|
||||
<a href="/feed" class="landing-cta"><span class="icon">📝</span> Go to your feed →</a>
|
||||
|
||||
<div class="landing-stats">
|
||||
<div class="landing-stat">
|
||||
<span class="landing-stat-value">{{ user_post_count }}</span>
|
||||
<span class="landing-stat-label">Posts</span>
|
||||
</div>
|
||||
<div class="landing-stat">
|
||||
<span class="landing-stat-value">{{ user.get('stars', 0) }}</span>
|
||||
<span class="landing-stat-label">Stars</span>
|
||||
</div>
|
||||
<div class="landing-stat">
|
||||
<span class="landing-stat-value">Lv {{ user.get('level', 1) }}</span>
|
||||
<span class="landing-stat-label">Level</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="landing-quicklinks">
|
||||
<a href="/feed">New post</a>
|
||||
<a href="/projects">Projects</a>
|
||||
<a href="/gists">Gists</a>
|
||||
<a href="/notifications">Notifications</a>
|
||||
</div>
|
||||
</section>
|
||||
{% else %}
|
||||
<section class="landing-hero">
|
||||
<h1>Devplace.net - The Developer <span>Social Network</span></h1>
|
||||
<p>Track industry shifts. Discover bold releases. Share what you're building in an open, uncensored environment.</p>
|
||||
@@ -34,6 +68,7 @@
|
||||
Already have an account? <a href="/auth/login">Log In</a>
|
||||
</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
{% if landing_posts %}
|
||||
<section class="landing-section">
|
||||
|
||||
Reference in New Issue
Block a user