Skip to content

Commit

Permalink
fix: Improve SEO
Browse files Browse the repository at this point in the history
  • Loading branch information
deandreamatias committed Jun 17, 2020
1 parent aeba8f9 commit 6dfb5b0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
3 changes: 2 additions & 1 deletion lib/main_dev.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_translate/flutter_translate.dart';
Expand Down Expand Up @@ -30,7 +31,7 @@ class MainApp extends StatelessWidget {
providers: getProviders(),
child: MaterialApp(
debugShowCheckedModeBanner: true,
title: 'TV Randshow',
title: kIsWeb ? 'TV Randshow | App to choose a random TV show episode' : 'TV Randshow',
theme: ThemeData(
fontFamily: 'Nunito',
primarySwatch: Colors.red,
Expand Down
3 changes: 2 additions & 1 deletion lib/main_prod.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_translate/flutter_translate.dart';
Expand Down Expand Up @@ -29,7 +30,7 @@ class MainApp extends StatelessWidget {
providers: getProviders(),
child: MaterialApp(
debugShowCheckedModeBanner: false,
title: 'TV Randshow',
title: kIsWeb ? 'TV Randshow | App to choose a random TV show episode' : 'TV Randshow',
theme: ThemeData(
fontFamily: 'Nunito',
primarySwatch: Colors.red,
Expand Down
4 changes: 2 additions & 2 deletions web/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta lang="en">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
<meta name="description" content="TV Randshow | Choose a random TV show episode from a The Movie Database">
<meta name="description" content="TV Randshow | TV Randshow help to choose a random episode from your favorites TV shows. The TV shows database comes from the TMDB">

<!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
Expand All @@ -19,7 +19,7 @@

<!-- open protocol graph meta -->
<meta property="og:title" content="TV Randshow | App to choose a random TV show episode">
<meta property="og:description" content="TV Randshow | Choose a random TV show episode from a The Movie Database">
<meta property="og:description" content="TV Randshow | TV Randshow help to choose a random episode from your favorites TV shows. The TV shows database comes from the TMDB">
<meta property="og:image" content="https://tvrandshow.com/favicon.png">
<meta property="og:site_name" content="tvrandshow.com">
<meta property="og:url" content="https://tvrandshow.com">
Expand Down
12 changes: 6 additions & 6 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<meta charset="UTF-8">
<meta lang="en">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
<meta name="description" content="TV Randshow | Choose a random TV show episode">
<meta name="description" content="TV Randshow | TV Randshow help to choose a random episode from your favorites TV shows. The TV shows database comes from the TMDB">

<!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="TV Randshow | Get your random episodes">
<meta name="apple-mobile-web-app-title" content="TV Randshow">
<link rel="apple-touch-icon" sizes="180x180" href="icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon-16x16.png">
Expand All @@ -18,8 +18,8 @@
<meta name="theme-color" content="#e40505">

<!-- open protocol graph meta -->
<meta property="og:title" content="TV Randshow | Get your random episodes">
<meta property="og:description" content="TV Randshow | Choose a random TV show episode">
<meta property="og:title" content="TV Randshow | App to choose a random TV show episode">
<meta property="og:description" content="TV Randshow | TV Randshow help to choose a random episode from your favorites TV shows. The TV shows database comes from the TMDB">
<meta property="og:image" content="https://tvrandshow.com/favicon.png">
<meta property="og:site_name" content="tvrandshow.com">
<meta property="og:url" content="https://tvrandshow.com">
Expand Down Expand Up @@ -64,8 +64,8 @@
"https://www.linkedin.com/in/deandreamatias",
"https://github.com/deandreamatias"
],
"jobTitle": "Flutter developer"
},
"jobTitle": "Flutter developer"
}
}
</script>
</body>
Expand Down

0 comments on commit 6dfb5b0

Please sign in to comment.