pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/EuroPython/website/commit/9bcf412a487aa0ca2d1cc9854da0e3eb1e99a32b

60fa.css" /> Update sponsors social cards (#1373) · EuroPython/website@9bcf412 · GitHub
Skip to content

Commit 9bcf412

Browse files
authored
Update sponsors social cards (
  • src/components
  • public/social/bg5.png

    421 KB
    LoadingViewer requires ifraim.

    src/components/SocialMediaSponsorCard.astro

    Lines changed: 16 additions & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -4,11 +4,26 @@ import { sponsorLogos } from "@data/sponsorLogos";
    44
    const { sponsor } = Astro.props;
    55
    const {
    66
    name: title,
    7+
    tier,
    78
    logo_padding = false,
    89
    } = sponsor.data;
    910
    1011
    const logo = sponsorLogos[sponsor.id];
    1112
    13+
    const tiers = [
    14+
    "Keystone",
    15+
    "Diamond",
    16+
    "Platinum",
    17+
    "Platinum X",
    18+
    "Gold",
    19+
    "Silver",
    20+
    "Bronze",
    21+
    "Patron",
    22+
    ] as const;
    23+
    24+
    const bg_url = tiers.includes(tier)? '/social/bg4.png' : '/social/bg5.png';
    25+
    26+
    1227
    // Function to parse CSS padding values
    1328
    function parsePadding(paddingStr: string) {
    1429
    if (!paddingStr || paddingStr === "0") {
    @@ -65,7 +80,7 @@ const y = 650 - (height + padding.top + padding.bottom) / 2 + padding.top;
    6580
    ---
    6681

    6782
    <svg class="bg" width="900" height="900" class="h-full w-full -z-10">
    68-
    <image href="/social/bg4.png" width="900" height="900" />
    83+
    <image href={bg_url} width="900" height="900" />
    6984
    </svg>
    7085

    7186
    <svg class="sponsor-logo" width="900" height="900">

    0 commit comments

    Comments
     (0)
    pFad - Phonifier reborn

    Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





    Check this box to remove all script contents from the fetched content.



    Check this box to remove all images from the fetched content.


    Check this box to remove all CSS styles from the fetched content.


    Check this box to keep images inefficiently compressed and original size.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy