add ad services and Docker configuration for web app
Some checks failed
Build Android App / build (push) Has been cancelled
Some checks failed
Build Android App / build (push) Has been cancelled
This commit is contained in:
@@ -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)),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user