1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Add linkedin page to homepage (#1255)

Fix #1178

Co-authored-by: Sergey Panteleev <sergey@php.net>
This commit is contained in:
Marcos Marcolin
2025-04-10 11:55:36 -03:00
committed by GitHub
parent d60fc96480
commit 401acdad5c
13 changed files with 23 additions and 4 deletions

View File

@@ -33,6 +33,12 @@
"search": [
"x-twitter"
]
},
{
"uid": "e9107949dd6c9e8ab2b29ae07156e38c",
"css": "linkedin",
"code": 61665,
"src": "fontawesome"
}
]
}

View File

@@ -1,3 +1,4 @@
.icon-x-twitter:before { content: '\e800'; } /* '' */
.icon-mastodon:before { content: '\e801'; } /* '' */
.icon-linkedin:before { content: '\f0e1'; } /* '' */

View File

@@ -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'; } /* '' */

View File

@@ -1,3 +1,4 @@
.icon-x-twitter { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe800;&nbsp;'); }
.icon-mastodon { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe801;&nbsp;'); }
.icon-linkedin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0e1;&nbsp;'); }

View File

@@ -12,3 +12,4 @@
.icon-x-twitter { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe800;&nbsp;'); }
.icon-mastodon { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe801;&nbsp;'); }
.icon-linkedin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0e1;&nbsp;'); }

View File

@@ -56,3 +56,4 @@
.icon-x-twitter:before { content: '\e800'; } /* '' */
.icon-mastodon:before { content: '\e801'; } /* '' */
.icon-linkedin:before { content: '\f0e1'; } /* '' */

Binary file not shown.

View File

@@ -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="&#xe800;" 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="&#xe801;" 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="&#xf0e1;" 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>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

View File

@@ -192,17 +192,23 @@ $announcements
<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>
@php@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>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1022 KiB