diff --git a/community/index.html b/community/index.html deleted file mode 100644 index d03a205..0000000 --- a/community/index.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - Community | Krzak.org - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- - - - - -
-
- krzak.org -
-
-

Krzak.org

-
-

Join the community on Discord or Matrix

- -
-
- - diff --git a/contact.html b/contact.html index f2f21ee..e51b65a 100644 --- a/contact.html +++ b/contact.html @@ -4,7 +4,12 @@ Krzak.org - Contact - + + + + + + @@ -24,27 +29,42 @@ - -
+
+

Community

+ +
+ +
+

Contact

+ +
+
Support Krzak.org diff --git a/favicons/favicon-128x128.png b/favicons/favicon-128x128.png deleted file mode 100755 index 0282639..0000000 Binary files a/favicons/favicon-128x128.png and /dev/null differ diff --git a/favicons/favicon-16x16.png b/favicons/favicon-16x16.png deleted file mode 100755 index 76716fe..0000000 Binary files a/favicons/favicon-16x16.png and /dev/null differ diff --git a/favicons/favicon-192x192.png b/favicons/favicon-192x192.png deleted file mode 100755 index 674437a..0000000 Binary files a/favicons/favicon-192x192.png and /dev/null differ diff --git a/favicons/favicon-256x256.png b/favicons/favicon-256x256.png deleted file mode 100755 index d50690f..0000000 Binary files a/favicons/favicon-256x256.png and /dev/null differ diff --git a/favicons/favicon-384x384.png b/favicons/favicon-384x384.png deleted file mode 100755 index 7222f5c..0000000 Binary files a/favicons/favicon-384x384.png and /dev/null differ diff --git a/favicons/favicon-48x48.png b/favicons/favicon-48x48.png deleted file mode 100755 index 425c5ef..0000000 Binary files a/favicons/favicon-48x48.png and /dev/null differ diff --git a/favicons/favicon-512x512.png b/favicons/favicon-512x512.png deleted file mode 100755 index f36afc9..0000000 Binary files a/favicons/favicon-512x512.png and /dev/null differ diff --git a/favicons/favicon-64x64.png b/favicons/favicon-64x64.png deleted file mode 100755 index 8cf6a47..0000000 Binary files a/favicons/favicon-64x64.png and /dev/null differ diff --git a/favicons/favicon-96x96.png b/favicons/favicon-96x96.png deleted file mode 100755 index 7c2fbe3..0000000 Binary files a/favicons/favicon-96x96.png and /dev/null differ diff --git a/generate_bgs.py b/generate_bgs.py deleted file mode 100644 index 56c77d0..0000000 --- a/generate_bgs.py +++ /dev/null @@ -1,75 +0,0 @@ -from PIL import Image, ImageDraw - -def hex_to_rgb(hex_code): - hex_code = hex_code.lstrip('#') - return tuple(int(hex_code[i:i+2], 16) for i in (0, 2, 4)) - -# 1. Vertical Gradient -h = 2000 -img = Image.new('RGB', (1, h)) -draw = ImageDraw.Draw(img) - -color_top = hex_to_rgb('#1a1130') -color_bottom = hex_to_rgb('#120d22') - -for y in range(h): - r = int(color_top[0] + (color_bottom[0] - color_top[0]) * (y / h)) - g = int(color_top[1] + (color_bottom[1] - color_top[1]) * (y / h)) - b = int(color_top[2] + (color_bottom[2] - color_top[2]) * (y / h)) - draw.point((0, y), fill=(r, g, b)) - -img.save('bg_gradient.png') - -# 2. Top-Left and Top-Right Glows (Large image, say 2000x800) -w_glow, h_glow = 2000, 800 -img_glow = Image.new('RGBA', (w_glow, h_glow), (0, 0, 0, 0)) -draw_glow = ImageDraw.Draw(img_glow) - -# Top left glow: #e0a05b 8% opacity, transparent at 28% -# Top right glow: #8b4789 18% opacity, transparent at 30% -# We'll just approximate it. -center_left = (0, 0) -radius_left = 600 - -center_right = (2000, 0) -radius_right = 650 - -for y in range(h_glow): - for x in range(w_glow): - # Left - dist_left = ((x - center_left[0])**2 + (y - center_left[1])**2)**0.5 - alpha_left = 0 - if dist_left < radius_left: - alpha_left = int(255 * 0.08 * (1 - dist_left / radius_left)) - - # Right - dist_right = ((x - center_right[0])**2 + (y - center_right[1])**2)**0.5 - alpha_right = 0 - if dist_right < radius_right: - alpha_right = int(255 * 0.18 * (1 - dist_right / radius_right)) - - r, g, b, a = 0, 0, 0, 0 - if alpha_left > alpha_right: - r, g, b, a = 224, 160, 91, alpha_left - elif alpha_right > 0: - r, g, b, a = 139, 71, 137, alpha_right - - if a > 0: - draw_glow.point((x, y), fill=(r, g, b, a)) - -img_glow.save('bg_glows.png') - -# 3. Button Background (since linear-gradients are not in CSS2) -# Button linear-gradient(135deg, #e0a05b, #f1ba77) -# Let's just make a small 10x100 vertical gradient for button that can be repeated horizontally -img_btn = Image.new('RGB', (1, 100)) -draw_btn = ImageDraw.Draw(img_btn) -c1 = hex_to_rgb('#e0a05b') -c2 = hex_to_rgb('#f1ba77') -for y in range(100): - r = int(c1[0] + (c2[0] - c1[0]) * (y / 100)) - g = int(c1[1] + (c2[1] - c1[1]) * (y / 100)) - b = int(c1[2] + (c2[2] - c1[2]) * (y / 100)) - draw_btn.point((0, y), fill=(r, g, b)) -img_btn.save('btn_bg.png') - diff --git a/generate_extras.py b/generate_extras.py deleted file mode 100644 index e0201c9..0000000 --- a/generate_extras.py +++ /dev/null @@ -1,31 +0,0 @@ -from PIL import Image, ImageDraw - -# 1. Generate icon_bg.png (56x56) -img_icon = Image.new('RGBA', (56, 56), (0, 0, 0, 0)) -draw = ImageDraw.Draw(img_icon) - -# Fill circle -# circle bounding box: [0, 0, 55, 55] -# color: rgba(0,0,0, 0.22) => alpha = int(0.22 * 255) = 56 -draw.ellipse([0, 0, 55, 55], fill=(0, 0, 0, 56)) - -# Outline circle -# color: rgba(224, 160, 91, 0.45) => alpha = int(0.45 * 255) = 115 -draw.ellipse([0, 0, 55, 55], outline=(224, 160, 91, 115), width=1) - -img_icon.save('icon_bg.png') - -# 2. Generate grid.png (24x24) -# 1px top and left lines, rgba(255, 255, 255, 0.02) -# Wait, 0.02 is very faint (alpha = 5). Let's make it alpha=8 for visibility. -img_grid = Image.new('RGBA', (24, 24), (0, 0, 0, 0)) -draw_grid = ImageDraw.Draw(img_grid) - -line_color = (255, 255, 255, 8) -# Left line -draw_grid.line([(0, 0), (0, 23)], fill=line_color, width=1) -# Top line -draw_grid.line([(0, 0), (23, 0)], fill=line_color, width=1) - -img_grid.save('grid.png') - diff --git a/icon_bg.png b/icon_bg.png deleted file mode 100644 index 71ef029..0000000 Binary files a/icon_bg.png and /dev/null differ diff --git a/index.html b/index.html index 6057051..780dccd 100755 --- a/index.html +++ b/index.html @@ -4,29 +4,12 @@ Krzak.org - - - - - - + - - - - - - - - - - - - - + @@ -65,15 +48,15 @@
  • - - Fediverse - Sharkey + + Music + Jellyfin
  • - - Music - Jellyfin + + Mail + Mailu
  • @@ -83,15 +66,9 @@

    Tools