Skip to content

Commit edfa446

Browse files
authored
Merge pull request #7 from pythonindia/venue-navbar-footer-fixes
Fixes to navbar, main page logo, venue information and footer
2 parents 9425a79 + 2f59a60 commit edfa446

File tree

8 files changed

+78
-76
lines changed

8 files changed

+78
-76
lines changed

src/_data/site.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"author": "Dates coming soon",
2+
"author": "12th - 15th September",
33
"description": "PyCon India 2025 in Bangalore",
44
"title": "PyCon India 2025 in Bangalore",
55
"language": "en",
@@ -30,4 +30,4 @@
3030
"icon": "fa-mastodon"
3131
}
3232
]
33-
}
33+
}

src/_includes/footer.njk

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
1-
<footer class="w-full flex flex-col sm:flex-row sm:justify-center text-lg tracking-wide px-4 sm:px-0 py-16">
1+
<footer class="relative w-full flex flex-col sm:flex-row sm:justify-center text-lg tracking-wide px-4 sm:px-0 py-8 bg-white sm:bg-transparent shadow sm:shadow-none bottom-0">
22
<div class="text-center pr-0 sm:pr-8 py-4">
33
Get in touch:
44
<ul class="flex justify-center space-x-4">
5-
6-
<br>
5+
<br/>
76
{% for item in site.social %}
8-
<li>
9-
<a class="no-underline" href="{{ item.url }}" target="_blank">
10-
11-
<i class="fa-brands fa-lg {{ item.icon }}"></i>
12-
</a>
13-
</li>
14-
{% endfor %}
157
<li>
16-
<a href="https://pyconindia.zulipchat.com/" title="Zulip" target="_blank" display="inline-block">
17-
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1.5em" viewBox="0 0 48 48">
18-
<path fill="#205D7A" stroke="blue" stroke-linecap="round" stroke-linejoin="round" d="M41.54 10.22a6.27 6.27 0 0 1-2.2 4.78L26.21 26.76c-.21.2-.61-.1-.41-.4l4.82-9.63c.1-.3 0-.6-.3-.6H11.67c-2.91 0-5.21-2.6-5.21-5.81s2.3-5.82 5.21-5.82h24.56c2.91-.1 5.31 2.51 5.31 5.72M11.67 43.5h24.66c2.91 0 5.21-2.61 5.21-5.81s-2.3-5.82-5.21-5.82H17.68a.37.37 0 0 1-.3-.6l4.82-9.62a.29.29 0 0 0-.41-.41L8.66 32.87a6.3 6.3 0 0 0-2.2 4.82c0 3.2 2.4 5.81 5.21 5.81"/>
19-
</svg>
8+
<a class="no-underline" href="{{ item.url }}" target="_blank">
9+
<i class="fa-brands fa-lg {{ item.icon }}"></i>
2010
</a>
2111
</li>
22-
23-
</ul></svg>
24-
12+
{% endfor %}
13+
<li>
14+
<a href="https://pyconindia.zulipchat.com/" title="Zulip" target="_blank" display="inline-block">
15+
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1.5em" viewBox="0 0 48 48">
16+
<path
17+
fill="#205D7A"
18+
stroke="blue"
19+
stroke-linecap="round"
20+
stroke-linejoin="round"
21+
d="M41.54 10.22a6.27 6.27 0 0 1-2.2 4.78L26.21 26.76c-.21.2-.61-.1-.41-.4l4.82-9.63c.1-.3 0-.6-.3-.6H11.67c-2.91
22+
0-5.21-2.6-5.21-5.81s2.3-5.82 5.21-5.82h24.56c2.91-.1 5.31 2.51 5.31 5.72M11.67 43.5h24.66c2.91 0 5.21-2.61
23+
5.21-5.81s-2.3-5.82-5.21-5.82H17.68a.37.37 0 0 1-.3-.6l4.82-9.62a.29.29 0 0 0-.41-.41L8.66 32.87a6.3 6.3 0 0 0-2.2 4.82c0
24+
3.2 2.4 5.81 5.21 5.81"/>
25+
</svg>
26+
</a>
27+
</li>
28+
</ul>
2529
</div>
26-
</footer>
27-
28-
29-
30+
</footer>

src/_includes/head.njk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<meta charset="utf-8">
33
<meta name="viewport" content="width=device-width, initial-scale=1">
44
<link rel="preload" href="{{ env.baseUrl }}css/page.css" as="style">
5+
<link rel="icon" type="image/x-icon" href="{{ env.baseUrl }}img/logo_without_text.svg">
56
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
67
<!-- PRELOAD CDN SCRIPTS -->
78
<link rel="preconnect" href="https://unpkg.com/popper.js@1" as="script">

src/_includes/navbar.njk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
</div>
66
<div
77
class="w-full sm:w-auto self-start sm:self-center flex flex-row sm:flex-none flex-no-wrap justify-between items-center">
8-
<a href="{{ env.baseUrl }}" class="no-underline"><img src="{{ env.baseUrl }}img/group_4790.svg" alt="PyCon India Logo"
9-
max-width="100%" ></a>
8+
<a href="{{ env.baseUrl }}" class="no-underline text-gray-800 font-bold hover:text-purple-600 text-lg text-center py-4 mx-2"><i class="fa-solid fa-lg fa-house"></i></a>
109
<button id="menuBtn" class="hamburger block sm:hidden focus:outline-none" type="button" onclick="navToggle();" aria-label="Show Menu"><span
1110
class="hamburger__top-bun"></span><span class="hamburger__bottom-bun"></span></button>
1211
</div>

src/_includes/section.header.njk

Lines changed: 47 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,50 @@
1-
<div class="self-center items-center md:w-full">
2-
<div class="w-3/5 text-center mx-auto">
3-
<img src="{{ env.baseUrl }}img/pycon_2025.svg">
4-
<br>
5-
<br>
6-
<h2 class="text-center text-2xl md:text-5xl">
7-
<div class="col-md-12 text-center pt-md-5">
8-
<p class="h4 sub-tit pt-3 md:text-h4">12 Sep - 14 Sep, 2025</p>
9-
<p class="h4 sub-tit underline md:text-h4"> NIMHANS Convention Centre, Bengaluru </p>
1+
<div>
2+
<div class="self-center items-center md:w-full">
3+
<div class="w-4/5 text-center mx-auto">
4+
<img class="w-3/5 mt-4 drop-shadow-md rounded-md mx-auto" src="{{ env.baseUrl }}img/pycon_2025.svg"/>
5+
<div class="justify-center items-center text-2xl md:text-3xl my-16">
6+
PyCon India is the premier conference for Python enthusiasts and professionals, offering an unparalleled opportunity to
7+
dive deep into the world of Python and explore its limitless potential. Stay tuned for updates!
8+
</div>
9+
<div class="flex flex-col md:flex-row justify-center items-center gap-8 md:space-x-16 space-y-8 md:space-y-0 text-xl xl:text-2xl my-16">
10+
<div class="col-md-4 text-center">
11+
<p class="h4 sub-tit md:text-h4 font-semibold">12 September</p>
12+
<p class="h4 sub-tit md:text-h4">Workshops</p>
13+
<p class="h4 sub-tit md:text-h4 font-extralight italic">To Be Announced</p>
1014
</div>
11-
</h2>
15+
<div class="col-md-4 text-center">
16+
<p class="h4 sub-tit md:text-h4 font-semibold">13 September - 14 September</p>
17+
<p class="h4 sub-tit md:text-h4">Conference</p>
18+
<p class="h4 sub-tit md:text-h4">NIMHANS Convention Centre, Bengaluru</p>
19+
</div>
20+
<div class="col-md-4 text-center">
21+
<p class="h4 sub-tit md:text-h4 font-semibold">15 September</p>
22+
<p class="h4 sub-tit md:text-h4">Developer Sprints</p>
23+
<p class="h4 sub-tit md:text-h4 font-extralight italic">To Be Announced</p>
24+
</div>
25+
</div>
1226
</div>
1327
</div>
14-
15-
<div class="flex justify-center items-center space-x-4">
16-
<!-- Submit CFP Button Link
17-
<a href="/submit-cfp" class="inline-block">
18-
<button class="bg-orange-500 text-white py-2 px-4 rounded transition-transform transform hover:scale-105 active:scale-95 focus:outline-none focus:ring-2 focus:ring-blue-500">
19-
Submit CFP
20-
</button>
21-
</a>
22-
-->
23-
24-
<!-- Volunteer Button Link -->
25-
<a href="https://docs.google.com/forms/d/e/1FAIpQLSdX2LEom11BbWDiLUiQp1rmeNX9l7J8bfszGidsRDoExy0D5A/viewform" class="inline-block">
26-
<button class="bg-orange-500 text-white py-2 px-4 rounded transition-transform transform hover:scale-105 active:scale-95 focus:outline-none focus:ring-2 focus:ring-green-500">
27-
Volunteer
28-
</button>
29-
</a>
30-
31-
<!-- Sponsor Button Link
32-
<a href="/sponsor" class="inline-block">
33-
<button class="bg-orange-500 text-white py-2 px-4 rounded transition-transform transform hover:scale-105 active:scale-95 focus:outline-none focus:ring-2 focus:ring-yellow-500">
34-
Sponsor
35-
</button>
36-
</a>
37-
-->
38-
</div>
39-
40-
41-
<div class="flex flex-col justify-center">
42-
43-
</div>
44-
<div class="flex flex-col justify-center">
45-
46-
</div>
47-
<div class="flex flex-col justify-center">
48-
49-
</div>
28+
<div class="flex justify-center items-center my-4">
29+
<!-- Submit CFP Button Link <a href="/submit-cfp" class="inline-block"> <button class="bg-orange-500 text-white py-2
30+
px-4 rounded transition-transform transform hover:scale-105 active:scale-95 focus:outline-none focus:ring-2
31+
focus:ring-blue-500">
32+
Submit CFP
33+
</button> </a> -->
34+
<!-- Volunteer Button Link -->
35+
<a
36+
href="https://docs.google.com/forms/d/e/1FAIpQLSdX2LEom11BbWDiLUiQp1rmeNX9l7J8bfszGidsRDoExy0D5A/viewform"
37+
class="inline-block"> <button class="bg-orange-500 text-white font-semibold py-3 px-6 rounded transition-transform transform hover:scale-105
38+
active:scale-95 focus:outline-none focus:ring-2 focus:ring-green-500">
39+
Volunteer
40+
</button>
41+
</a>
42+
<!-- Sponsor Button Link <a href="/sponsor" class="inline-block"> <button class="bg-orange-500 text-white py-2 px-4
43+
rounded transition-transform transform hover:scale-105 active:scale-95 focus:outline-none focus:ring-2
44+
focus:ring-yellow-500">
45+
Sponsor
46+
</button> </a> -->
47+
</div>
48+
<div class="flex flex-col justify-center"></div>
49+
<div class="flex flex-col justify-center"></div>
50+
</div>

src/_layouts/base.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
{% include "head.njk" %}
55
</head>
6-
<body id="top" class="font-sans text-gray-800 bg-gray-100">
6+
<body id="top" class="font-sans text-gray-800 min-h-screen flex flex-col">
77
{{ content | safe }}
88
{% include "footer.njk" %}
99
{% include "js.njk" %}

src/index.njk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
layout: base.njk
33
isFront: true
44
---
5-
<header class="header w-full min-h-screen flex flex-col justify-between">
5+
6+
<header class="header w-full flex flex-col justify-between">
67
{% include "navbar.njk" %}
7-
{% include "section.header.njk" %}
88
</header>
9-
<main>
10-
9+
<main class="my-8 flex-grow">
10+
{% include "section.header.njk" %}
1111
</main>

0 commit comments

Comments
 (0)