Skip to content

Commit 3870738

Browse files
committed
Jobs Board Section
1 parent 21004f7 commit 3870738

File tree

13 files changed

+697
-11
lines changed

13 files changed

+697
-11
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.18.2
1+
22

src/_includes/components/button.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
{% set bg_class = "bg-pycon-lime hover:bg-pycon-lime/90" %}
44
{% set text_class = "text-black" %}
55
{% else %}
6-
{% set bg_class = "bg-transparent border-pycon-lime" %}
7-
{% set text_class = "text-pycon-lime" %}
6+
{% set bg_class = "bg-pycon-purple hover:bg-pycon-purple/90" %}
7+
{% set text_class = "text-black" %}
88
{% endif %}
99

1010
<a

src/_includes/components/dropdown.njk

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{% macro renderDropdown(question) %}
2+
<div class="space-y-4">
3+
<div class="bg-white shadow-lg rounded-md overflow-hidden">
4+
<button
5+
class="w-full text-left p-4 font-semibold text-lg flex justify-between items-center relative overflow-hidden group hover:bg-[#8385F2] hover:text-white focus:outline-none transition-colors duration-300"
6+
onclick="
7+
const answer = this.nextElementSibling;
8+
const icon = this.querySelector('svg');
9+
answer.classList.toggle('hidden');
10+
icon.classList.toggle('rotate-180');
11+
12+
if (!answer.classList.contains('hidden')) {
13+
this.classList.add('bg-[#8385F2]', 'text-white');
14+
} else {
15+
this.classList.remove('bg-[#8385F2]', 'text-white');
16+
}
17+
"
18+
>
19+
<span class="relative z-10">{{ question }}</span>
20+
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 transition-transform duration-300 relative z-10 text-gray-800" fill="none" viewBox="0 0 24 24" stroke="currentColor">
21+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7" />
22+
</svg>
23+
</button>
24+
<div class="hidden p-2 text-black border-t text-justify border-gray-200">
25+
{{ caller() }}
26+
</div>
27+
</div>
28+
</div>
29+
{% endmacro %}

src/_includes/footer.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% from "components/button.njk" import button %}
2-
<footer class="bg-blue-600 flex text-white mb-0 bottom-0 w-full relative">
2+
<footer class="bg-pycon-blue flex text-white mb-0 bottom-0 w-full relative">
33
<div class="relative mx-[6%] md:mx-[12%] mt-24 pb-8 md:pt-20 md:pb-12 w-full md:w-auto">
44
<div class="xl:scale-125 text-center md:text-left">
55
{{ button(text="Become a Volunteer", url="https://docs.google.com/forms/d/e/1FAIpQLSdX2LEom11BbWDiLUiQp1rmeNX9l7J8bfszGidsRDoExy0D5A/viewform", lime_bg=true, env = env) }}

src/_includes/landing/communities.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% from "components/button.njk" import button %}
22

3-
<section class="bg-blue-600 text-white relative px-4 sm:px-20 md:px-40 pt-10" id="communities">
3+
<section class="bg-pycon-blue text-white relative px-4 sm:px-20 md:px-40 pt-10" id="communities">
44
<div class="mx-auto py-16">
55
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-10">
66
<div>

src/_includes/landing/sponsors.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% from "components/button.njk" import button %}
22

3-
<section class="bg-blue-600 text-white relative px-4 sm:px-20 md:px-40 pt-10" id="sponsors">
3+
<section class="bg-pycon-blue text-white relative px-4 sm:px-20 md:px-40 pt-10" id="sponsors">
44
<div class="mx-auto py-16">
55
<!-- Desktop image visible -->
66
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-10">

src/_includes/navbar.njk

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
</a>
88
<ul class="flex items-center justify-center w-full gap-8 relative mb-0">
99
{% set menuItems = [
10+
{
11+
"name": "About",
12+
"hasSubmenu": true,
13+
"submenu": [
14+
{"name": "FAQ's", "link": "about/faqs"},
15+
{"name": "Jobs Board", "link": "about/job"}
16+
]
17+
},
1018
{
1119
"name": "CFP",
1220
"link": "cfp",
@@ -99,10 +107,22 @@
99107
</a>
100108

101109
<input type="checkbox" id="mobile-menu-checkbox" class="hidden">
102-
<label for="mobile-menu-checkbox" class="cursor-pointer z-50 bg-white/20 hover:bg-white/30 p-2 rounded-full transition-all duration-300 inline-flex items-center justify-center">
103-
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-white block" id="hamburger-icon">
104-
<line x1="4" y1="8" x2="20" y2="8"></line>
105-
<line x1="4" y1="16" x2="20" y2="16"></line>
110+
<label for="mobile-menu-checkbox" class="cursor-pointer z-50 hover:bg-white/30 p-2 rounded-full transition-all duration-300 inline-flex items-center justify-center">
111+
<svg width="24" height="22" viewBox="0 0 14 13" fill="none" xmlns="http://www.w3.org/2000/svg">
112+
<g clip-path="url(#clip0_223_10553)">
113+
<path d="M11.0351 0.0117188H0.0117188V11.0351H11.0351V0.0117188Z" fill="#F6EBFF" stroke="black" stroke-width="0.0232085" stroke-linecap="round" stroke-linejoin="round"/>
114+
<path d="M13.3602 1.96484H2.33691V12.9882H13.3602V1.96484Z" fill="#D7FF7B" stroke="black" stroke-width="0.062458" stroke-linecap="round" stroke-linejoin="round"/>
115+
<path d="M0.0117188 0.0117188L2.33721 1.96518H13.3608L11.0351 0.0117188H0.0117188Z" fill="white" stroke="black" stroke-width="0.062458" stroke-linecap="round" stroke-linejoin="round"/>
116+
<path d="M0.0117188 0.0117188L2.33721 1.96518V12.9885L0.0117188 11.0351V0.0117188Z" fill="white" stroke="black" stroke-width="0.062458" stroke-linecap="round" stroke-linejoin="round"/>
117+
<rect x="4" y="4" width="8" height="0.5" rx="0.25" fill="#4E62F5"/>
118+
<rect x="4" y="7" width="8" height="0.5" rx="0.25" fill="#4E62F5"/>
119+
<rect x="4" y="10" width="8" height="0.5" rx="0.25" fill="#4E62F5"/>
120+
</g>
121+
<defs>
122+
<clipPath id="clip0_223_10553">
123+
<rect width="13.3723" height="13" fill="white"/>
124+
</clipPath>
125+
</defs>
106126
</svg>
107127
</label>
108128
</div>

0 commit comments

Comments
 (0)