From bfd8209ad0d80b5027bea8a1a095dadc8bffdc61 Mon Sep 17 00:00:00 2001 From: mms Date: Sun, 5 Jan 2025 22:34:55 +0100 Subject: feat(new): splash page in progress --- new/splash/pages/.dir-locals.el | 7 +- new/splash/pages/background.png | 1 + new/splash/pages/index.html.erb | 145 ++++++++++++++++++++++++++++++++++++++-- 3 files changed, 148 insertions(+), 5 deletions(-) create mode 100644 new/splash/pages/background.png (limited to 'new/splash/pages') diff --git a/new/splash/pages/.dir-locals.el b/new/splash/pages/.dir-locals.el index 4e2be03..22b2f46 100644 --- a/new/splash/pages/.dir-locals.el +++ b/new/splash/pages/.dir-locals.el @@ -1 +1,6 @@ -((nil . ((add-hook 'after-save-hook ('message :a)))) + +((nil + . ((eval . + (add-hook 'after-save-hook (lambda () (message (shell-command-to-string (format "../bin/build.rb -f%s" (buffer-file-name)))))) + )))) + diff --git a/new/splash/pages/background.png b/new/splash/pages/background.png new file mode 100644 index 0000000..22d26b7 --- /dev/null +++ b/new/splash/pages/background.png @@ -0,0 +1 @@ +# \ No newline at end of file diff --git a/new/splash/pages/index.html.erb b/new/splash/pages/index.html.erb index d033c90..e5ee6f6 100644 --- a/new/splash/pages/index.html.erb +++ b/new/splash/pages/index.html.erb @@ -1,9 +1,146 @@ - + + - It works! + + + Crys SITE + + + + + + + + + + + + -

Test

- Last update: <%= Time.now %> + +

Crys SITE

+ +

+ Hi! + I'm Michal and this is my personal webpage. +

+ +

+ The World Wide Web used to be fun, scrappy, and ours; let's bring it back. +

+ +

+ NOTE: I am not a real <%= not_real %>, and I can be wrong sometimes. + +

+ + +
+

+ Updated <%= Time.now.strftime("%B %d, %Y") %> +

+ +
+

Contents

+ +

Main sections

+ + + +
+ + +

Recent updates

+ + + + +
+

+ This is self-hosted site. + You are connected live to my living room. +

+ +
+ <%= webbutton(file: "org.freebsd.gif", url: "https://www.freebsd.org/", alt: "Powered by FreeBSD") %> + <%= webbutton(file: "org.dillo.gif", url: "https://www.dillo.org/", alt: "Optimized for Dillo") %> +
-- cgit v1.2.3