Skip to content

Commit 9313294

Browse files
authored
chore(sponsors): Adding collaborators pictures, minor typos and improve quotes image size and its placement (#61)
# Summary - Add collaborator logos (EuroPython, PSF, Python España, UB) - Improve testimonials section visual design with decorative quote icons and green accent borders - Update sponsor translations (ca, en, es) # Desktop <img width="832" height="1296" alt="SCR-20260201-lvqo" src="https://github.com/user-attachments/assets/ae62314f-7515-45dd-8d25-f14b436c8913" /> # Mobile <img width="440" height="810" alt="image" src="https://github.com/user-attachments/assets/09011e44-acc6-4753-bcee-fbbbdb4ec911" /> <img width="444" height="817" alt="image" src="https://github.com/user-attachments/assets/1111a1d5-eefd-4384-8215-8c3e3a55b6ca" />
1 parent 240ae53 commit 9313294

8 files changed

Lines changed: 41 additions & 20 deletions

File tree

54.2 KB
Loading

public/collaborators/psf.png

227 KB
Loading
7.06 KB
Loading

public/collaborators/ub.png

114 KB
Loading

src/i18n/sponsors/ca.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,12 @@ export const ca = {
173173
},
174174
collaborators: {
175175
title: 'Institucions col·laboradores',
176-
items: ['Universitat de Barcelona', 'Python España', 'EuroPython Society', 'Python Software Foundation'],
176+
items: [
177+
{ name: 'Universitat de Barcelona', logo: '/collaborators/ub.png' },
178+
{ name: 'Python España', logo: '/collaborators/python-espana.png' },
179+
{ name: 'EuroPython Society', logo: '/collaborators/europython.png' },
180+
{ name: 'Python Software Foundation', logo: '/collaborators/psf.png' },
181+
],
177182
},
178183
tiers: {
179184
title: 'Paquets de patrocini',

src/i18n/sponsors/en.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,12 @@ export const en = {
173173
},
174174
collaborators: {
175175
title: 'Collaborating Institutions',
176-
items: ['University of Barcelona', 'Python España', 'EuroPython Society', 'Python Software Foundation'],
176+
items: [
177+
{ name: 'University of Barcelona', logo: '/collaborators/ub.png' },
178+
{ name: 'Python España', logo: '/collaborators/python-espana.png' },
179+
{ name: 'EuroPython Society', logo: '/collaborators/europython.png' },
180+
{ name: 'Python Software Foundation', logo: '/collaborators/psf.png' },
181+
],
177182
},
178183
tiers: {
179184
title: 'Sponsorship Packages',
@@ -387,11 +392,11 @@ export const en = {
387392
socialLinks: {
388393
title: 'Follow us',
389394
items: [
390-
{ icon: '🦋', label: 'Bluesky', url: 'https://bsky.app/profile/pycones.bsky.social' },
395+
{ icon: '🦋', label: 'Bluesky', url: 'https://bsky.app/profile/es.pycon.org' },
391396
{ icon: '🐙', label: 'GitHub', url: 'https://github.com/python-spain' },
392397
{ icon: '🐘', label: 'Mastodon', url: 'https://fosstodon.org/@pycones' },
393-
{ icon: '💼', label: 'LinkedIn', url: 'https://www.linkedin.com/company/python-espa%C3%B1a/' },
394-
{ icon: '📸', label: 'Instagram', url: 'https://www.instagram.com/paborrego.fotografia/' },
398+
{ icon: '💼', label: 'LinkedIn', url: 'https://www.linkedin.com/company/pycones' },
399+
{ icon: '📸', label: 'Instagram', url: 'https://www.instagram.com/pycon_es' },
395400
],
396401
},
397402
contact: {

src/i18n/sponsors/es.ts

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const es = {
1212
location: {
1313
title: 'Barcelona y el evento',
1414
where: 'DÓNDE: BARCELONA',
15-
body: ' Nos reuniremos en el céntrico y emblemático',
15+
body: 'Nos reuniremos en el céntrico y emblemático',
1616
bodyStrong: 'Edificio Histórico de la Universidad de Barcelona',
1717
bodyEnd:
1818
'no es solo uno de los principales polos tecnológicos de Europa, sino que cuenta con una comunidad local excepcional.',
@@ -173,12 +173,17 @@ export const es = {
173173
},
174174
collaborators: {
175175
title: 'Instituciones colaboradoras',
176-
items: ['Universitat de Barcelona', 'Python España', 'EuroPython Society', 'Python Software Foundation'],
176+
items: [
177+
{ name: 'Universitat de Barcelona', logo: '/collaborators/ub.png' },
178+
{ name: 'Python España', logo: '/collaborators/python-espana.png' },
179+
{ name: 'EuroPython Society', logo: '/collaborators/europython.png' },
180+
{ name: 'Python Software Foundation', logo: '/collaborators/psf.png' },
181+
],
177182
},
178183
tiers: {
179184
title: 'Paquetes de patrocinio',
180185
column1: 'Beneficios',
181-
no_taxes: 'sense IVA',
186+
no_taxes: 'sin IVA',
182187
items: [
183188
{
184189
name: 'Bronce',
@@ -331,7 +336,7 @@ export const es = {
331336
name: 'Cena ponentes y organización',
332337
price: '2.000€',
333338
available: 'Disponibilidad: 2',
334-
desc: 'Tu marca en la cena exclusiva para ponentes y organización.Incluye entrada para 2 personas.',
339+
desc: 'Tu marca en la cena exclusiva para ponentes y organización. Incluye entrada para 2 personas.',
335340
},
336341
{
337342
name: 'Evento social',
@@ -387,11 +392,11 @@ export const es = {
387392
socialLinks: {
388393
title: 'Síguenos en redes',
389394
items: [
390-
{ icon: '🦋', label: 'Bluesky', url: 'https://bsky.app/profile/pycones.bsky.social' },
395+
{ icon: '🦋', label: 'Bluesky', url: 'https://bsky.app/profile/es.pycon.org' },
391396
{ icon: '🐙', label: 'GitHub', url: 'https://github.com/python-spain' },
392397
{ icon: '🐘', label: 'Mastodon', url: 'https://fosstodon.org/@pycones' },
393-
{ icon: '💼', label: 'LinkedIn', url: 'https://www.linkedin.com/company/python-espa%C3%B1a/' },
394-
{ icon: '📸', label: 'Instagram', url: 'https://www.instagram.com/paborrego.fotografia/' },
398+
{ icon: '💼', label: 'LinkedIn', url: 'https://www.linkedin.com/company/pycones' },
399+
{ icon: '📸', label: 'Instagram', url: 'https://www.instagram.com/pycon_es' },
395400
],
396401
},
397402
contact: {

src/pages/[lang]/sponsors.astro

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,18 @@ const {
220220
<div class="grid md:grid-cols-2 gap-6">
221221
{
222222
testimonials.items.map((t) => (
223-
<figure class="bg-[#111] p-6 rounded-lg border border-[#333]">
224-
<blockquote class="text-gray-400 italic mb-4">
225-
<p>"{t.quote}"</p>
223+
<figure class="bg-[#111] p-6 rounded-lg border border-[#333] border-l-4 border-l-green-400 flex flex-col h-full relative">
224+
<span
225+
class="absolute top-4 left-4 text-5xl text-green-400/20 font-serif leading-none select-none"
226+
aria-hidden="true"
227+
>
228+
"
229+
</span>
230+
<blockquote class="text-gray-400 italic pl-6">
231+
<p>{t.quote}</p>
226232
</blockquote>
227-
<figcaption class="flex items-center gap-3">
228-
<div class="w-12 h-12 bg-green-400/20 rounded-full overflow-hidden flex items-center justify-center">
233+
<figcaption class="flex items-center gap-3 mt-auto pt-4">
234+
<div class="w-12 h-12 shrink-0 bg-green-400/20 rounded-full overflow-hidden shadow-lg shadow-black/50 flex items-end justify-center">
229235
{t.photo ? (
230236
<img
231237
src={t.photo}
@@ -269,11 +275,11 @@ const {
269275
</div>
270276

271277
<h3 class="text-center text-xl font-bold mt-12 mb-6">{collaborators.title}</h3>
272-
<div class="flex flex-wrap justify-center gap-3">
278+
<div class="grid grid-cols-2 sm:grid-cols-4 gap-4">
273279
{
274280
collaborators.items.map((collab) => (
275-
<div class="bg-[#111] px-4 py-2 rounded border border-green-400/30 text-sm text-green-400">
276-
{collab}
281+
<div class="bg-white p-5 rounded-lg flex items-center justify-center hover:shadow-lg hover:scale-[1.02] transition-all h-24">
282+
<img src={collab.logo} alt={collab.name} class="max-h-16 max-w-[85%] object-contain" />
277283
</div>
278284
))
279285
}

0 commit comments

Comments
 (0)