Skip to content

Commit 770f6f3

Browse files
committed
Updated footer
1 parent 7177107 commit 770f6f3

File tree

2 files changed

+12
-37
lines changed

2 files changed

+12
-37
lines changed

_includes/footer.html

-37
Original file line numberDiff line numberDiff line change
@@ -1,37 +0,0 @@
1-
<footer class="footer">
2-
<div class="container">
3-
<ul class="footer-nav">
4-
<li><a href="https://phalcon.io/forum">Forum</a></li>
5-
<li><a href="https://phalcon.io/blog">Blog</a></li>
6-
<li><a href="https://phalcon.io/discord">Discord</a></li>
7-
<li><a href="https://phalcon.io/telegram">Telegram</a></li>
8-
<li><a href="https://phalcon.io/gab">Gab</a></li>
9-
<li><a href="https://phalcon.io/parler">Parler</a></li>
10-
<li><a href="https://phalcon.io/mewe">MeWe</a></li>
11-
<li><a href="https://phalcon.io/f">Facebook</a></li>
12-
<li><a href="https://phalcon.io/t">Twitter</a></li>
13-
<li><a href="https://phalcon.io/bitchute">Bitchute</a></li>
14-
<li><a href="https://phalcon.io/lbry">LBRY</a></li>
15-
<li><a href="https://phalcon.io/youtube">YouTube</a></li>
16-
</ul>
17-
18-
<div class="footer__license">
19-
Phalcon is an open-source PHP framework built as a C-extension.
20-
<br>
21-
It is available under the new BSD License.
22-
</div>
23-
24-
<div class="footer__supported">
25-
<span>Supported By</span>
26-
27-
<a href="https://odva.pro/" target="_blank" class="footer__supported-logo">
28-
<svg width="38" height="31" viewBox="0 0 38 31" fill="none" xmlns="http://www.w3.org/2000/svg">
29-
<path d="M15.375 29.3529C22.9283 29.3529 29.0514 23.2298 29.0514 15.6765C29.0514 8.12317 22.9283 2 15.375 2C7.82165 2 1.69849 8.12317 1.69849 15.6765C1.69849 23.2298 7.82165 29.3529 15.375 29.3529Z" stroke="#273646" stroke-opacity="0.7" stroke-width="3"/>
30-
<path d="M33.9044 23.6177H32.1397V30.6765H33.9044V23.6177Z" fill="#273646" fill-opacity="0.7"/>
31-
<path d="M37.4338 23.6177H35.6691V30.6765H37.4338V23.6177Z" fill="#273646" fill-opacity="0.7"/>
32-
</svg>
33-
</a>
34-
</div>
35-
</div>
36-
</footer>
37-

updateData.php

+12
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,15 @@
2222
$base . '_includes/fanart.html',
2323
$data
2424
);
25+
26+
echo "Updating Footer" . PHP_EOL;
27+
28+
$data = file_get_contents(
29+
'https://raw.githubusercontent.com/phalcon/assets/master/phalcon/footer-fragment.html'
30+
);
31+
32+
file_put_contents(
33+
$base . '_includes/footer.html',
34+
$data
35+
);
36+

0 commit comments

Comments
 (0)