Skip to content

Commit

Permalink
whatsapp feedback fixes (#42)
Browse files Browse the repository at this point in the history
* Annapurani feedback addressed

* Arpit's comments addressed

* tweak text as per Gurman's feedback

* fix logo

* fix fill error

* nit: replace Bengaluru in city locator

---------

Co-authored-by: thedivtagguy <[email protected]>
  • Loading branch information
urmilaj and thedivtagguy authored Feb 20, 2025
1 parent 2bed912 commit ae65945
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 33 deletions.
22 changes: 11 additions & 11 deletions src/lib/assets/images/viz-logo-animate.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/lib/components/CallToAction.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
image: conferenceBanner,
alt: 'Call for conference proposals banner',
title: 'VizChitra 2025',
description: 'A space to connect and create with data',
link: 'https://hasgeek.com/VizChitra/2025/',
description: 'Annual flagship in-person conference, on 27 Jun 2025, 8am IST',
link: 'https://hasgeek.com/VizChitra/2025/sub',
buttonText: 'Call for proposals',
isAnimated: false
}
Expand Down
15 changes: 4 additions & 11 deletions src/lib/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,10 @@ export function getFlagEmoji(countryCode) {
export function getLocationLabel(location) {
if (!location?.country) return '';

// // For India, show state abbreviation
// if (location.country === 'IN' && location.region) {
// // Try to find the abbreviation for the state
// for (const [stateName, abbr] of Object.entries(INDIA_STATE_ABBR)) {
// if (location.region.includes(stateName)) {
// return abbr;
// }
// }
// // Fallback to first word if no abbreviation found
// return location.region.split(' ')[0];
// }
// if city is Bengaluru, return Bangalore
if (location.city === 'Bengaluru') {
return 'Bangalore';
}

// For others, prefer city, fallback to first word of region
return location.city || location.region?.split(' ')[0] || '';
Expand Down
18 changes: 9 additions & 9 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<p class="mb-1 max-w-[55ch] text-[18px] md:text-[22px]">
Our goal is to build a community of diverse, interdisciplinary individuals working across
the visualization spectrum, and facilitate learning and connections between people from
different industries & disciplines who share a common interest in the power of data and
different industries and disciplines who share a common interest in the power of data and
storytelling.
</p>
</div>
Expand All @@ -99,7 +99,7 @@

<p class="mb-4 max-w-[55ch] text-[18px] md:text-[22px]">
To foster a vibrant <span class="font-semibold">community of data storytellers in India</span
>, bridging technical analysis & design expertise to shape perspectives & drive change
>, bridging technical analysis and design expertise to shape perspectives and drive change
</p>

<p class="mx-auto mb-6 text-center md:mb-8">
Expand All @@ -120,23 +120,23 @@
<ol class="space-y-4 md:space-y-2">
<li>
<h3 class="font-display text-[18px] leading-[1.5] font-bold md:text-[22px]">
1. Consider & Curate:
1. Consider and Curate:
</h3>
<p class="text-[16px] md:text-[22px]">
Build a rhythm of curated events to spread the practice of data visualization
</p>
</li>
<li>
<h3 class="font-display text-[18px] leading-[1.5] font-bold md:text-[22px]">
2. Cultivate & Care:
2. Cultivate and Care:
</h3>
<p class="text-[16px] md:text-[22px]">
Nurture a fertile space for learning & sharing of data visualization skills
Nurture a fertile space for learning and sharing of data visualization skills
</p>
</li>
<li>
<h3 class="font-display text-[18px] leading-[1.5] font-bold md:text-[22px]">
3. Create & Collaborate:
3. Create and Collaborate:
</h3>
<p class="text-[16px] md:text-[22px]">
Express and co-create to push the boundaries of data visualization
Expand All @@ -150,7 +150,7 @@
<h2 class="font-display mt-5 !text-[2rem] font-bold">VIZCHITRA 2025</h2>

<p class="mb-6 max-w-[55ch] text-[18px] md:text-[22px]">
One day of talks & dialogues & One day of workshops
One day of talks and dialogues and One day of workshops
</p>

<div
Expand All @@ -170,11 +170,11 @@
<h3 class="font-display text-primary text-[22px] leading-[1.5] font-bold">WORKSHOP DAY</h3>
<div class="space-y-1">
<p class="text-[22px] font-semibold">28th June, 2025</p>
<p class="text-[20px]">Across Bengaluru</p>
<p class="text-[20px]">Across Bangalore</p>
</div>
</div>
</div>
<Button variant="primary" href="https://hasgeek.com/vizchitra/vizchitra-2025" external
<Button variant="primary" href="https://hasgeek.com/VizChitra/2025/" external
>Add us to your calendar!</Button
>

Expand Down

0 comments on commit ae65945

Please sign in to comment.