Skip to content

Commit

Permalink
Remove google sign in
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-pratik-k committed Jan 1, 2025
1 parent dd88bf4 commit 805edb1
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 14 deletions.
4 changes: 3 additions & 1 deletion app/lib/ui/flow/accounts/accounts_screen.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:data/domain/config.dart';
import '../../../components/app_page.dart';
import '../../../domain/extensions/context_extensions.dart';
import '../../../gen/assets.gen.dart';
Expand Down Expand Up @@ -83,7 +84,8 @@ class _AccountsScreenState extends ConsumerState<AccountsScreen>
padding: context.systemPadding +
const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
children: [
_googleAccount(context: context),
if (FeatureFlag.googleDriveSupport)
_googleAccount(context: context),
const SizedBox(height: 8),
_dropboxAccount(context: context),
const SizedBox(height: 8),
Expand Down
4 changes: 4 additions & 0 deletions data/lib/domain/config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ class ProviderConstants {
static const String dropboxAppTemplateName =
'Cloud Gallery Local File Information';
}

class FeatureFlag{
static final googleDriveSupport = false;
}
56 changes: 43 additions & 13 deletions docs/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description"
content="Cloud Gallery: Manage photos and videos from Google Drive, Dropbox, and your device in one place.">
<meta name="keywords"
content="Cloud Gallery, Photos, Videos, Google Drive, Dropbox, Media, Backup">
<meta name="author" content="Cloud Gallery Team">
<title>Cloud Gallery</title>
<style>
body {
Expand All @@ -12,11 +17,30 @@
background-color: white;
color: black;
}
header {
background-color: white;
text-align: center;
padding: 20px 0;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
a {
text-decoration: none;
}
header {
position: fixed;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.6);
z-index: 1000;
}
header img {
height: 24px;
margin-right: 10px;
}
header .logo {
display: flex;
align-items: center;
font-size: 20px;
font-weight: bold;
color: black;
text-decoration: none;
}
.container {
max-width: 1200px;
Expand All @@ -27,9 +51,10 @@
display: flex;
justify-content: space-between;
align-items: center;
padding: 40px 20px;
padding: 20px;
padding-top: 80px;
}
.app-details .text {
.app-details .content {
max-width: 50%;
}
.app-details h2 {
Expand Down Expand Up @@ -60,7 +85,7 @@
.features {
padding: 40px 20px;
}
.features h2 {
.features h1 {
text-align: center;
margin-bottom: 30px;
}
Expand All @@ -69,6 +94,7 @@
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin-bottom: 40px;
}
.feature {
padding: 20px;
Expand Down Expand Up @@ -117,9 +143,9 @@
flex-direction: column;
text-align: center;
}
.app-details .text {
.app-details .content {
max-width: 100%;
margin-bottom: 20px;
margin-bottom: 40px;
}
.features .feature-list .feature {
width: 95%;
Expand All @@ -144,10 +170,14 @@
</style>
</head>
<body>

<header>
<img src="https://github.com/canopas/cloud-gallery/raw/main/app/assets/images/app_icon.png"
alt="Cloud Gallery Logo">
<p class="logo">Cloud Gallery</p>
</header>
<div class="container">
<section class="app-details">
<div class="text">
<div class="content">
<h2>Cloud Gallery: All Your Memories in One Spot</h2>
<p>Easily view and manage photos, videos from Google
Drive, Dropbox, and your device, all in a simple, user-friendly interface.</p>
Expand All @@ -169,7 +199,7 @@ <h2>Cloud Gallery: All Your Memories in One Spot</h2>
</div>
</section>
<section class="features">
<h2>Features</h2>
<h1>Features</h1>
<div class="feature-list">
<div class="feature">
<h3>Sync with Cloud Providers</h3>
Expand Down

0 comments on commit 805edb1

Please sign in to comment.