12
12
< title > {% block title %}파이썬 한국 사용자 모임{% endblock title %}</ title >
13
13
{% tailwind_css %}
14
14
</ head >
15
- < body class ="bg-gray-100 ">
16
- < nav class ="bg-white shadow-md ">
15
+ < body class ="bg-white min-h-screen flex flex-col ">
16
+ <!-- 내비게이션 -->
17
+ < nav class ="bg-white border-b ">
17
18
< div class ="container mx-auto px-4 ">
18
19
< div class ="flex justify-between items-center py-4 ">
19
- < a class ="navbar-brand " href ="{% pageurl current_site.root_page %} ">
20
- < img class ="h-12 " src ="{% static 'pythonkr/pythonkr-badge.png' %} " alt ="Python Korea Logo "/>
21
- </ a >
22
- < a href ="# " class ="text-xl font-bold text-gray-800 "> Python Korea</ a >
20
+ <!-- 로고 + 텍스트 타이틀 -->
21
+ < div class ="flex flex-row items-center space-x-4 w-auto ">
22
+ < a class ="navbar-brand " href ="{% pageurl current_site.root_page %} ">
23
+ < img class ="h-12 mx-auto md:mx-0 " src ="{% static 'pythonkr/pythonkr-badge.png' %} " alt ="Python Korea Logo "/>
24
+ </ a >
25
+ < h1 class ="text-xl font-bold text-gray-800 mt-2 md:mt-0 text-center md:text-left ">
26
+ 파이썬 한국 사용자 모임
27
+ </ h1 >
28
+ </ div >
29
+ <!-- 내비게이션 -->
23
30
< div class ="hidden md:flex space-x-4 ">
24
31
{% for menu_page in current_site.root_page.get_children.live.in_menu %}
25
- < a class ="text-gray-600 hover:text-gray-800 " href ="{% pageurl menu_page %} "> {{menu_page.title}}</ a >
32
+ < a class ="text-gray-600 hover:text-gray-800 " href ="{% pageurl menu_page %} "> {{ menu_page.title }}</ a >
26
33
{% endfor %}
27
34
</ div >
35
+ <!-- 모바일 메뉴 버튼 -->
28
36
< div class ="md:hidden ">
29
37
< button id ="mobile-menu-button " class ="text-gray-600 focus:outline-none ">
30
- < svg class ="w-6 h-6 " fill ="none " stroke ="currentColor " viewBox ="0 0 24 24 " xmlns ="http://www.w3.org/2000/svg ">
31
- < path stroke-linecap ="round " stroke-linejoin ="round " stroke-width ="2 " d ="M4 6h16M4 12h16M4 18h16 "> </ path >
38
+ < svg class ="w-6 h-6 " fill ="none " stroke ="currentColor " viewBox ="0 0 24 24 ">
39
+ < path stroke-linecap ="round " stroke-linejoin ="round " stroke-width ="2 "
40
+ d ="M4 6h16M4 12h16M4 18h16 "> </ path >
32
41
</ svg >
33
42
</ button >
34
43
</ div >
35
44
</ div >
36
45
</ div >
37
- < div id ="mobile-menu " class ="hidden md:hidden ">
46
+ <!-- 모바일 메뉴 -->
47
+ < div id ="mobile-menu " class ="hidden md:hidden px-4 pb-4 ">
38
48
{% for menu_page in current_site.root_page.get_children.live.in_menu %}
39
- < a class ="block px-4 py-2 text-gray-600 hover:bg-gray-200 " href ="{% pageurl menu_page %} "> {{menu_page.title}}</ a >
49
+ < a class ="block py-2 text-gray-600 hover:bg-gray-200 " href ="{% pageurl menu_page %} "> {{ menu_page.title }}</ a >
40
50
{% endfor %}
41
51
</ div >
42
52
</ nav >
43
53
44
- < main class ="container mx-auto px-4 py-8 ">
54
+ <!-- 메인 -->
55
+ < main class ="flex-grow container mx-auto px-4 py-8 ">
45
56
< div class ="prose ">
46
- {% block content %}{{ page.content|richtext }}{% endblock %}
57
+ {% block content %}{{ page.content|richtext }}{% endblock %}
47
58
</ div >
48
59
</ main >
49
60
50
- < footer class ="bg-white border-t mt-12 ">
61
+ <!-- 푸터 -->
62
+ < footer class ="bg-white border-t ">
51
63
< div class ="container mx-auto px-4 py-8 ">
52
64
< div class ="flex flex-col md:flex-row justify-between items-start md:items-center space-y-4 md:space-y-0 ">
53
65
<!-- 로고 및 설명 -->
@@ -56,29 +68,21 @@ <h2 class="text-lg font-semibold text-gray-800">Python Korea</h2>
56
68
< p class ="text-sm text-gray-500 mt-1 ">
57
69
파이썬 한국 사용자 모임은 파이썬을 사용하는 모든 사람들을 위한 열린 커뮤니티입니다.
58
70
</ p >
71
+ < p class ="mt-6 pt-4 text-sm text-gray-400 ">
72
+ © 2025 Python Korea. All rights reserved.
73
+ </ p >
59
74
</ div >
60
75
</ div >
61
-
62
- < div class ="border-t mt-6 pt-4 text-center text-sm text-gray-400 ">
63
- © 2025 Python Korea. All rights reserved.
64
- </ div >
65
76
</ div >
66
77
</ footer >
67
78
68
79
< script >
69
80
const mobileMenuButton = document . getElementById ( 'mobile-menu-button' ) ;
70
81
const mobileMenu = document . getElementById ( 'mobile-menu' ) ;
71
-
72
82
mobileMenuButton . addEventListener ( 'click' , ( ) => {
73
83
mobileMenu . classList . toggle ( 'hidden' ) ;
74
84
} ) ;
75
85
</ script >
76
86
</ body >
77
87
</ html >
78
- <!-- Footer -->
79
- < footer class ="sponsor-footer mt-5 ">
80
- < div class ="container text-center ">
81
- </ div >
82
- </ footer >
83
- </ body>
84
- </ html>
88
+
0 commit comments