add ad services and Docker configuration for web app
Some checks failed
Build Android App / build (push) Has been cancelled

This commit is contained in:
ImBenji
2026-01-02 15:21:27 +00:00
parent 7a88585b6e
commit f1ce1c77a4
22 changed files with 608 additions and 19 deletions

View File

@@ -10,6 +10,7 @@ import 'package:flutter/services.dart';
import 'package:go_router/go_router.dart';
import 'package:image/image.dart' as img;
import 'package:quotegen_client/services/quote_api_v2.dart';
import 'package:quotegen_client/widgets/ad_banner.dart';
import 'package:shadcn_flutter/shadcn_flutter.dart';
import 'package:share_plus/share_plus.dart';
import 'package:path_provider/path_provider.dart';
@@ -148,16 +149,24 @@ class _HomePageState extends State<HomePage> {
height: 600,
child: _buildPreview(context)
),
Gap(14),
ConstrainedBox(
constraints: BoxConstraints(
maxWidth: 400,
),
child: _buildForm(context)
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Expanded(child: _buildForm(context)),
Gap(14),
AdBanner(),
],
),
),
Gap(max(bottomPadding, 14)),
],
),
@@ -170,7 +179,7 @@ class _HomePageState extends State<HomePage> {
child: SingleChildScrollView(
child: Column(
children: [
Gap(max(topPadding, 14)),
_buildPreview(context),
@@ -179,6 +188,11 @@ class _HomePageState extends State<HomePage> {
_buildForm(context),
Gap(14),
// Banner ad
AdBanner(),
Gap(max(bottomPadding, 14)),
],
),