summaryrefslogtree/nfs/website.git//.wiki commitdiff
path: root/src
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-09-24 17:30:28 -0400
committerFreya Murphy <freya@freyacat.org>2024-09-24 17:30:28 -0400
commit941e525f8e865713f4011108f17309d2474f7054 (patch)
tree5cc2e03223a7ea1210d42af1f4abd17772124edb /src
parentfix sitemap, drop old tables (diff)
downloadwebsite-941e525f8e865713f4011108f17309d2474f7054.tar.gz
website-941e525f8e865713f4011108f17309d2474f7054.tar.bz2
website-941e525f8e865713f4011108f17309d2474f7054.zip
add eff button
Diffstat (limited to '')
-rw-r--r--src/public/buttons/eff.pngbin0 -> 696 bytes
-rw-r--r--src/public/buttons/eff.webpbin0 -> 556 bytes
-rw-r--r--src/public/css/bucket/legacy.css1
-rw-r--r--src/public/img/background.pngbin0 -> 12233 bytes
-rw-r--r--src/web/_views/footer.php4
-rw-r--r--src/web/helpers/image.php1
-rw-r--r--src/web/lang/common.php1
7 files changed, 7 insertions, 0 deletions
diff --git a/src/public/buttons/eff.png b/src/public/buttons/eff.png
new file mode 100644
index 0000000..26c742d
--- /dev/null
+++ b/src/public/buttons/eff.png
Binary files differ
diff --git a/src/public/buttons/eff.webp b/src/public/buttons/eff.webp
new file mode 100644
index 0000000..777db78
--- /dev/null
+++ b/src/public/buttons/eff.webp
Binary files differ
diff --git a/src/public/css/bucket/legacy.css b/src/public/css/bucket/legacy.css
new file mode 100644
index 0000000..9075e82
--- /dev/null
+++ b/src/public/css/bucket/legacy.css
@@ -0,0 +1 @@
+#webring{height:5px}
diff --git a/src/public/img/background.png b/src/public/img/background.png
new file mode 100644
index 0000000..d834400
--- /dev/null
+++ b/src/public/img/background.png
Binary files differ
diff --git a/src/web/_views/footer.php b/src/web/_views/footer.php
index f451bfd..a105f61 100644
--- a/src/web/_views/footer.php
+++ b/src/web/_views/footer.php
@@ -22,6 +22,9 @@
<?=image('buttons/eyes', 'alt_button_eyes', animated: TRUE, width: '88', height: '30')?>
<?=image('buttons/vim', 'alt_button_vim', animated: TRUE, width: '88', height: '30')?>
<?=image('buttons/gnu-linux', 'alt_button_gnu_linux', width: '88', height: '30')?>
+ <a href="https://www.eff.org/join">
+ <?=image('buttons/eff', 'alt_button_eff', width: '96', height: '30')?>
+ </a>
<a href="https://citrons.xyz/a/memetic-apioform-page.html">
<?=image('buttons/apiopage', 'alt_button_apiopage', width: '81', height: '30')?>
</a>
@@ -36,6 +39,7 @@
<iframe
height="40"
class="bucket"
+ scrolling="no"
title="<?=lang('bucket_title')?>"
src="<?=$this->get_url('bucket?name=freya')?>"
></iframe>
diff --git a/src/web/helpers/image.php b/src/web/helpers/image.php
index ec867b8..d4683fe 100644
--- a/src/web/helpers/image.php
+++ b/src/web/helpers/image.php
@@ -73,6 +73,7 @@ function image(
if ($alt) {
$alt = lang($alt);
$attrs['alt'] = $alt;
+ $attrs['title'] = $alt;
}
if ($width) {
$attrs['width'] = $width;
diff --git a/src/web/lang/common.php b/src/web/lang/common.php
index 442e4c1..8101138 100644
--- a/src/web/lang/common.php
+++ b/src/web/lang/common.php
@@ -28,6 +28,7 @@ $lang['action_blog_tip'] = 'View my blog';
$lang['alt_button_eyes'] = 'Best viewed with eyes';
$lang['alt_button_vim'] = 'Edited with VIM';
$lang['alt_button_gnu_linux'] = 'Made with GNU/Linux';
+$lang['alt_button_eff'] = 'Support the Electronic Frontier Foundation!';
$lang['alt_button_apiopage'] = 'Memetic apiopage';
$lang['alt_website_logo'] = 'Website Logo';