Skip to content

Commit 7f7900e

Browse files
committed
fix: Fixes issues with image and button rotate
Signed-off-by: Farhaan Bukhsh <[email protected]>
1 parent 9c63e1d commit 7f7900e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/_includes/components/button.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<span class="font-['Acid_Grotesk'] text-lg {{ text_class }} leading-relaxed whitespace-nowrap group-hover:-translate-x-1 transition-transform duration-200">
1212
{{ text }}
1313
</span>
14-
<div class="flex justify-center items-center w-8 h-8 bg-white rounded-full border border-black group-hover:rotate-45 transition-transform duration-300">
14+
<div class="flex justify-center items-center w-8 h-8 bg-white rounded-full border border-black group-hover:rotate-40 transition-transform duration-300">
1515
<img src="{{ env.baseUrl }}img/assets/arrow-vector.svg" alt="Arrow" class="w-4 h-3 group-hover:scale-110 transition-transform duration-300" />
1616
</div>
1717
</a>

src/venue.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ layout: base.njk
6060
<p class="font-bold text-xl md:text-2xl">Via Namma Metro</p>
6161
<p class="pt-4 font-normal text-sm md:text-xl">From Green Line: Disembark at South End Circle or Lalbagh metro station. From the station, you can take a short taxi/auto ride to reach NIMHANS Convention Centre.</p>
6262
<p class="pt-4 font-normal text-sm md:text-xl">For a list of stations on the Bengaluru Metro Green line, you can refer to <a href="https://en.wikipedia.org/wiki/Green_Line_(Namma_Metro)?oldformat=true" target="_blank" rel="noopener noreferrer" class="underline">Wikipedia</a>.</p>
63-
<div class="pt-6 md:pt-10">{{ button(text="Green Line", url="https://en.wikipedia.org/wiki/Green_Line_(Namma_Metro)?oldformat=true", lime_bg=true) }}</div>
63+
<div class="pt-6 md:pt-10">{{ button(text="Green Line", url="https://en.wikipedia.org/wiki/Green_Line_(Namma_Metro)?oldformat=true", lime_bg=true, env=env) }}</div>
6464
</div>
6565
{%- endcall %}
6666
</div>
@@ -78,7 +78,7 @@ layout: base.njk
7878

7979
<p class="pt-4 font-normal text-sm md:text-xl">We're excited to welcome you to PyCon India 2024 and hope you have a fantastic experience in Bengaluru! If you have any further inquiries or need assistance, feel free to contact us at <a href="mailto:[email protected]" target="_blank" rel="noopener noreferrer" class="underline">[email protected]</a>.</p>
8080

81-
<div class="pt-6 md:pt-10 z-30">{{ button(text="Bus Timetable", url="https://kia.bengawalk.com/", lime_bg=true) }}</div>
81+
<div class="pt-6 md:pt-10 z-30">{{ button(text="Bus Timetable", url="https://kia.bengawalk.com/", lime_bg=true, env=env) }}</div>
8282
</div>
8383
{%- endcall %}
8484
</div>

tailwind.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,7 @@ module.exports = {
681681
3: '3deg',
682682
6: '6deg',
683683
12: '12deg',
684+
40: '40deg',
684685
45: '45deg',
685686
90: '90deg',
686687
180: '180deg',

0 commit comments

Comments
 (0)