diff --git a/.htaccess b/.htaccess index b5d9d29..8a7bcb5 100644 --- a/.htaccess +++ b/.htaccess @@ -1,19 +1,22 @@ -AddDefaultCharset UTF-8 - + RewriteEngine On + RewriteBase / -# Enable rewrite rules -RewriteEngine on + # Ensure that static files like .js, .css, and service worker are not affected by rewrite rules + RewriteCond %{REQUEST_FILENAME} -f + RewriteRule \.(js|css|png|jpg|jpeg|gif|svg|ico|json|map)$ - [L] -# Base directory -RewriteBase /Bludit/ - -# Deny direct access to the next directories -RewriteRule ^bl-content/(databases|workspaces|pages|tmp)/.*$ - [R=404,L] - -# All URL process by index.php -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^(.*) index.php [PT,L] + # Ensure service worker is served from the /dist/ folder + RewriteRule ^dist/sw\.js$ - [L] + # For Single Page Application (SPA) routing + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule . /index.html [L] + + +# Add the correct MIME type for .js and .json files + + AddType application/javascript .js + AddType application/manifest+json .json diff --git a/img/nostr-icon-purple-128x128.png b/img/nostr-icon-purple-128x128.png new file mode 100644 index 0000000..5dce735 Binary files /dev/null and b/img/nostr-icon-purple-128x128.png differ diff --git a/img/nostr-icon-white-512x512.png b/img/nostr-icon-white-512x512.png new file mode 100644 index 0000000..bd469ca Binary files /dev/null and b/img/nostr-icon-white-512x512.png differ diff --git a/img/nostr_192x192.png b/img/nostr_192x192.png new file mode 100644 index 0000000..fe3b757 Binary files /dev/null and b/img/nostr_192x192.png differ diff --git a/index.html b/index.html index 758b350..6683c9e 100644 --- a/index.html +++ b/index.html @@ -8,8 +8,14 @@ + + + + + - + + @@ -53,12 +59,12 @@ @@ -211,6 +217,46 @@ + +
  • +
    +
    +

    Social Media
    Revolution.

    + + nostr +
    + + +
    +
  • + + +
  • @@ -257,7 +303,7 @@
  • - +
  • @@ -267,7 +313,7 @@
    - +
    @@ -532,13 +578,14 @@
  • Home
  • Interests
  • +
  • Social
  • About
  • Contact
  • - + @@ -588,6 +635,7 @@ form.addEventListener('submit', function(e) { }); }); +