diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png index 711c42c..bdae459 100644 Binary files a/public/apple-touch-icon.png and b/public/apple-touch-icon.png differ diff --git a/public/favicon-96x96.png b/public/favicon-96x96.png index 833ee8f..405415f 100644 Binary files a/public/favicon-96x96.png and b/public/favicon-96x96.png differ diff --git a/public/favicon.ico b/public/favicon.ico index 7935439..ab1fa48 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/favicon.svg b/public/favicon.svg index b9be926..fcdf74c 100644 --- a/public/favicon.svg +++ b/public/favicon.svg @@ -1,3 +1,3 @@ - \ No newline at end of file diff --git a/public/site.webmanifest b/public/site.webmanifest index a7b5140..67f6535 100644 --- a/public/site.webmanifest +++ b/public/site.webmanifest @@ -1,6 +1,6 @@ { - "name": "CebulaCamp", - "short_name": "Cebula", + "name": "CebulaCamp 2025", + "short_name": "CebulaCamp", "icons": [ { "src": "/web-app-manifest-192x192.png", @@ -18,4 +18,4 @@ "theme_color": "#ffffff", "background_color": "#ffffff", "display": "standalone" -} +} \ No newline at end of file diff --git a/public/web-app-manifest-192x192.png b/public/web-app-manifest-192x192.png index b4c2231..a4c1a42 100644 Binary files a/public/web-app-manifest-192x192.png and b/public/web-app-manifest-192x192.png differ diff --git a/public/web-app-manifest-512x512.png b/public/web-app-manifest-512x512.png index 235b8c6..b0004e0 100644 Binary files a/public/web-app-manifest-512x512.png and b/public/web-app-manifest-512x512.png differ diff --git a/scripts/create-better-thumbnail.sh b/scripts/create-better-thumbnail.sh new file mode 100644 index 0000000..2a6054a --- /dev/null +++ b/scripts/create-better-thumbnail.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +# Ensure a video file is passed as an argument +if [ "$#" -ne 1 ]; then + echo "Usage: $0 path/to/video.mp4" + exit 1 +fi + +VIDEO_FILE=$1 +FRAME_FILE="frame.png" +OUTPUT_FILE="frame_transparent.png" + +# Extract the first frame as a PNG +ffmpeg -i "$VIDEO_FILE" -vf "select=eq(n\,0)" -q:v 3 "$FRAME_FILE" + +# Ensure ffmpeg succeeded +if [ ! -f "$FRAME_FILE" ]; then + echo "Failed to extract the first frame." + exit 1 +fi + +# Use ImageMagick to convert white to transparent +# Replace 'convert' with 'magick' for ImageMagick v7 +magick "$FRAME_FILE" -fuzz 15% -transparent white "$OUTPUT_FILE" + +# Notify the user of success +if [ -f "$OUTPUT_FILE" ]; then + echo "The transparent PNG has been saved as $OUTPUT_FILE" +else + echo "Failed to create a transparent PNG." + exit 1 +fi diff --git a/src/app/[locale]/layout.tsx b/src/app/[locale]/layout.tsx index 8887233..b169e73 100644 --- a/src/app/[locale]/layout.tsx +++ b/src/app/[locale]/layout.tsx @@ -95,13 +95,6 @@ export default async function RootLayout({