landing페이지 수정, 카테고리 리스트 정리
All checks were successful
Build And Test / build-and-push (push) Successful in 5m13s
All checks were successful
Build And Test / build-and-push (push) Successful in 5m13s
This commit is contained in:
13
butler/templates/butler/_unarchived_landing.html
Normal file
13
butler/templates/butler/_unarchived_landing.html
Normal file
@ -0,0 +1,13 @@
|
||||
{% extends "components/base.html" %}
|
||||
|
||||
{% block title %}Landing Page{% endblock %}
|
||||
|
||||
{% block main_area %}
|
||||
<article class="pt-3">
|
||||
<h2 class="fw-bold pb-2">Welcome!</h2>
|
||||
<h3>IT Infra 및 DevOps 자원관리 도구</h3>
|
||||
* IP리스트 관리기능 제공 <br>
|
||||
* Public NHN Cloud API 기능 일부 제공
|
||||
<p>계속 기능 구현 중 입니다.</p>
|
||||
</article>
|
||||
{% endblock %}
|
@ -3,11 +3,46 @@
|
||||
{% block title %}Landing Page{% endblock %}
|
||||
|
||||
{% block main_area %}
|
||||
<article class="pt-3">
|
||||
<h2 class="fw-bold pb-2">Welcome!</h2>
|
||||
<h3>IT Infra 및 DevOps 자원관리 도구</h3>
|
||||
* IP리스트 관리기능 제공 <br>
|
||||
* Public NHN Cloud API 기능 일부 제공
|
||||
<p>계속 기능 구현 중 입니다.</p>
|
||||
</article>
|
||||
<div class="container mt-5">
|
||||
<div class="row">
|
||||
<!-- NoticeBoard Section -->
|
||||
<div class="col-md-6">
|
||||
<h2>Latest Notices</h2>
|
||||
<div class="row">
|
||||
{% for notice in notices %}
|
||||
<div class="col-12 mb-3">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">{{ notice.title }}</h5>
|
||||
<p class="card-text">{{ notice.content|truncatewords:20 }}</p>
|
||||
<a href="{% url 'butler:notice_detail' notice.id %}" class="btn btn-primary">View Notice</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% empty %}
|
||||
<p>No notices available.</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
<!-- Blog Posts Section -->
|
||||
<div class="col-md-6">
|
||||
<h2>Latest Blog Posts</h2>
|
||||
<div class="row">
|
||||
{% for post in blog_posts %}
|
||||
<div class="col-12 mb-3">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">{{ post.title }}</h5>
|
||||
<p class="card-text">{{ post.summary|truncatewords:20 }}</p>
|
||||
<a href="{% url 'blog:post_detail' post.id %}" class="btn btn-primary">Read More</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% empty %}
|
||||
<p>No blog posts available.</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user