feat: add landing page components including FAQ, features, footer, header, hero, modalities, steps, and section title

This commit is contained in:
2026-09-21 04:32:59 +03:30
parent 1e599b917b
commit 5f19f82f86
41 changed files with 1518 additions and 84 deletions
+22
View File
@@ -0,0 +1,22 @@
server {
listen 80;
server_name _;
root /var/www/html/public;
index index.php;
client_max_body_size 64M;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
fastcgi_pass app:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
include fastcgi_params;
}
location ~ /\.(?!well-known).* {
deny all;
}
}
+19
View File
@@ -0,0 +1,19 @@
FROM php:8.4-fpm-alpine
RUN apk add --no-cache \
bash curl git postgresql-dev libzip-dev icu-dev libpng-dev libjpeg-turbo-dev freetype-dev oniguruma-dev linux-headers $PHPIZE_DEPS \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j"$(nproc)" pdo_pgsql pgsql gd zip intl bcmath exif pcntl opcache \
&& pecl install redis \
&& docker-php-ext-enable redis \
&& apk del $PHPIZE_DEPS
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
COPY docker/php/php.ini /usr/local/etc/php/conf.d/app.ini
COPY docker/php/entrypoint.sh /usr/local/bin/entrypoint
RUN chmod +x /usr/local/bin/entrypoint
WORKDIR /var/www/html
ENTRYPOINT ["entrypoint"]
CMD ["php-fpm"]
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
set -e
if [ "$1" = "php-fpm" ]; then
[ -d vendor ] || composer install --no-interaction --prefer-dist
[ -f .env ] || cp .env.example .env
grep -q '^APP_KEY=.\+' .env || php artisan key:generate --no-interaction
until php -r "new PDO('pgsql:host=${DB_HOST};port=${DB_PORT};dbname=${DB_DATABASE}', '${DB_USERNAME}', '${DB_PASSWORD}');" >/dev/null 2>&1; do
echo "waiting for postgres..."
sleep 2
done
php artisan migrate --force --no-interaction
php artisan storage:link --no-interaction || true
chown -R www-data:www-data storage bootstrap/cache
fi
exec "$@"
+6
View File
@@ -0,0 +1,6 @@
upload_max_filesize = 64M
post_max_size = 64M
memory_limit = 512M
max_execution_time = 120
opcache.enable = 1
opcache.validate_timestamps = 1