Author: Marcos Marcolin (marcosmarcolin) Committer: GitHub (web-flow) Pusher: saundefined Date: 2025-04-10T17:55:36+03:00
Commit: https://github.com/php/web-php/commit/401acdad5cf22cf1ea7d2c68aa16ce72c97f33af Raw diff: https://github.com/php/web-php/commit/401acdad5cf22cf1ea7d2c68aa16ce72c97f33af.diff Add linkedin page to homepage (#1255) Fix #1178 Co-authored-by: Sergey Panteleev <ser...@php.net> Changed paths: M fonts/Font-Awesome/config.json M fonts/Font-Awesome/css/fontello-codes.css M fonts/Font-Awesome/css/fontello-embedded.css M fonts/Font-Awesome/css/fontello-ie7-codes.css M fonts/Font-Awesome/css/fontello-ie7.css M fonts/Font-Awesome/css/fontello.css M fonts/Font-Awesome/font/fontello.eot M fonts/Font-Awesome/font/fontello.svg M fonts/Font-Awesome/font/fontello.ttf M fonts/Font-Awesome/font/fontello.woff M fonts/Font-Awesome/font/fontello.woff2 M index.php M tests/Visual/SmokeTest.spec.ts-snapshots/tests-screenshots-index-php-chromium.png Diff: diff --git a/fonts/Font-Awesome/config.json b/fonts/Font-Awesome/config.json index 8d0a8cdcc2..338cfc2679 100644 --- a/fonts/Font-Awesome/config.json +++ b/fonts/Font-Awesome/config.json @@ -33,6 +33,12 @@ "search": [ "x-twitter" ] + }, + { + "uid": "e9107949dd6c9e8ab2b29ae07156e38c", + "css": "linkedin", + "code": 61665, + "src": "fontawesome" } ] } diff --git a/fonts/Font-Awesome/css/fontello-codes.css b/fonts/Font-Awesome/css/fontello-codes.css index 9be7c45d8e..68a2bdd742 100644 --- a/fonts/Font-Awesome/css/fontello-codes.css +++ b/fonts/Font-Awesome/css/fontello-codes.css @@ -1,3 +1,4 @@ .icon-x-twitter:before { content: '\e800'; } /* '' */ .icon-mastodon:before { content: '\e801'; } /* '' */ +.icon-linkedin:before { content: '\f0e1'; } /* '' */ diff --git a/fonts/Font-Awesome/css/fontello-embedded.css b/fonts/Font-Awesome/css/fontello-embedded.css index 047745d8e8..059ae6a6f8 100644 --- a/fonts/Font-Awesome/css/fontello-embedded.css +++ b/fonts/Font-Awesome/css/fontello-embedded.css @@ -48,7 +48,7 @@ /* you can be more comfortable with increased icons size */ /* font-size: 120%; */ - + /* Font smoothing. That was taken from TWBS */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -59,3 +59,4 @@ .icon-x-twitter:before { content: '\e800'; } /* '' */ .icon-mastodon:before { content: '\e801'; } /* '' */ +.icon-linkedin:before { content: '\f0e1'; } /* '' */ diff --git a/fonts/Font-Awesome/css/fontello-ie7-codes.css b/fonts/Font-Awesome/css/fontello-ie7-codes.css index 0a65c974d1..a17ab77918 100644 --- a/fonts/Font-Awesome/css/fontello-ie7-codes.css +++ b/fonts/Font-Awesome/css/fontello-ie7-codes.css @@ -1,3 +1,4 @@ .icon-x-twitter { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } .icon-mastodon { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-linkedin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } diff --git a/fonts/Font-Awesome/css/fontello-ie7.css b/fonts/Font-Awesome/css/fontello-ie7.css index 51ad8d9464..9d57318188 100644 --- a/fonts/Font-Awesome/css/fontello-ie7.css +++ b/fonts/Font-Awesome/css/fontello-ie7.css @@ -12,3 +12,4 @@ .icon-x-twitter { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } .icon-mastodon { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-linkedin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } diff --git a/fonts/Font-Awesome/css/fontello.css b/fonts/Font-Awesome/css/fontello.css index 49c8e56f4a..f4eef5c5a6 100644 --- a/fonts/Font-Awesome/css/fontello.css +++ b/fonts/Font-Awesome/css/fontello.css @@ -56,3 +56,4 @@ .icon-x-twitter:before { content: '\e800'; } /* '' */ .icon-mastodon:before { content: '\e801'; } /* '' */ +.icon-linkedin:before { content: '\f0e1'; } /* '' */ diff --git a/fonts/Font-Awesome/font/fontello.eot b/fonts/Font-Awesome/font/fontello.eot index c5c1a26885..2dfe208945 100644 Binary files a/fonts/Font-Awesome/font/fontello.eot and b/fonts/Font-Awesome/font/fontello.eot differ diff --git a/fonts/Font-Awesome/font/fontello.svg b/fonts/Font-Awesome/font/fontello.svg index 4661c6846c..70a8820cfd 100644 --- a/fonts/Font-Awesome/font/fontello.svg +++ b/fonts/Font-Awesome/font/fontello.svg @@ -1,7 +1,7 @@ <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg"> -<metadata>Copyright (C) 2023 by original authors @ fontello.com</metadata> +<metadata>Copyright (C) 2025 by original authors @ fontello.com</metadata> <defs> <font id="fontello" horiz-adv-x="1000" > <font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" /> @@ -9,6 +9,8 @@ <glyph glyph-name="x-twitter" unicode="" d="M760 756h138l-301-344 354-468h-277l-218 284-248-284h-138l322 368-340 444h285l196-259 227 259z m-48-730h76l-493 652h-82l499-652z" horiz-adv-x="1000" /> <glyph glyph-name="mastodon" unicode="" d="M846 500c0 190-125 246-125 246-122 56-446 55-567 0 0 0-124-56-124-246 0-226-13-507 206-565 79-20 147-25 202-22 99 6 155 36 155 36l-4 72s-71-23-150-20c-79 3-162 9-175 105a200 200 0 0 0-2 28c167-41 310-18 349-13 110 13 205 80 217 142 19 97 18 237 18 237z m-147-244h-91v223c0 97-125 101-125-14v-122h-91v122c0 115-125 111-125 14v-223h-91c0 238-10 289 36 342 51 56 156 60 203-12l23-38 22 38c47 72 153 68 203 12 46-54 36-104 36-342z" horiz-adv-x="875" /> + +<glyph glyph-name="linkedin" unicode="" d="M195 501v-553h-184v553h184z m12 171q0-41-29-68t-75-27h-1q-46 0-74 27t-28 68q0 41 29 68t75 27 74-27 29-68z m650-407v-317h-183v296q0 59-23 92t-71 33q-35 0-58-19t-36-48q-6-17-6-45v-309h-184q1 223 1 361t0 165l-1 27h184v-80h-1q11 18 23 31t31 29 49 24 64 9q95 0 153-63t58-186z" horiz-adv-x="857.1" /> </font> </defs> </svg> diff --git a/fonts/Font-Awesome/font/fontello.ttf b/fonts/Font-Awesome/font/fontello.ttf index adec586643..f923addce5 100644 Binary files a/fonts/Font-Awesome/font/fontello.ttf and b/fonts/Font-Awesome/font/fontello.ttf differ diff --git a/fonts/Font-Awesome/font/fontello.woff b/fonts/Font-Awesome/font/fontello.woff index 26515be1f8..a2a63016b7 100644 Binary files a/fonts/Font-Awesome/font/fontello.woff and b/fonts/Font-Awesome/font/fontello.woff differ diff --git a/fonts/Font-Awesome/font/fontello.woff2 b/fonts/Font-Awesome/font/fontello.woff2 index 5ba1f1c9f7..260ff4542f 100644 Binary files a/fonts/Font-Awesome/font/fontello.woff2 and b/fonts/Font-Awesome/font/fontello.woff2 differ diff --git a/index.php b/index.php index 4fae143de9..f73a185af6 100644 --- a/index.php +++ b/index.php @@ -192,17 +192,23 @@ <div class='body'> <ul> <li> - <a href="https://twitter.com/official_php"> + <a href="https://twitter.com/official_php" target="_blank" rel="noopener noreferrer"> <i class="icon-x-twitter"></i> @official_php </a> </li> <li> - <a href="https://fosstodon.org/@php"> + <a href="https://fosstodon.org/@php" target="_blank" rel="noopener noreferrer"> <i class="icon-mastodon"></i> @p...@fosstodon.org </a> </li> + <li> + <a href="https://www.linkedin.com/company/phpnet" target="_blank" rel="noopener noreferrer"> + <i class="icon-linkedin"></i> + @phpnet + </a> + </li> </ul> </div> </div> diff --git a/tests/Visual/SmokeTest.spec.ts-snapshots/tests-screenshots-index-php-chromium.png b/tests/Visual/SmokeTest.spec.ts-snapshots/tests-screenshots-index-php-chromium.png index 9365f0cc6e..5af7a45700 100644 Binary files a/tests/Visual/SmokeTest.spec.ts-snapshots/tests-screenshots-index-php-chromium.png and b/tests/Visual/SmokeTest.spec.ts-snapshots/tests-screenshots-index-php-chromium.png differ