This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:convert'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter_facebook_login/flutter_facebook_login.dart'; | |
import 'package:http/http.dart' as http; | |
import 'package:chaseapp/topbar.dart'; | |
class LoginPage extends StatefulWidget { | |
@override | |
_LoginPageState createState() => _LoginPageState(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:chaseapp/facebook.dart'; | |
Widget TopBar(BuildContext context) { | |
return new AppBar( | |
backgroundColor: new Color(0xfff8faf8), | |
centerTitle: true, | |
elevation: 1.0, | |
// leading: new Icon(Icons.camera_alt), | |
title: SizedBox(height: 35.0, child: Image.asset("images/chaseapp.png")), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:cloud_firestore/cloud_firestore.dart'; | |
import 'package:flutter/material.dart'; | |
import 'dart:io'; | |
import 'package:firebase_messaging/firebase_messaging.dart'; | |
import 'package:url_launcher/url_launcher.dart'; | |
// import 'package:chaseapp/model/chase.dart' | |
// import 'package:chaseapp/ui/widgets/chase.dart' | |
void main() => runApp(MyApp()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#q-app { | |
font-family: "Avenir", Helvetica, Arial, sans-serif; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
color: #2c3e50; | |
padding-top: 20px; | |
padding-bottom: 20px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
root: true, | |
parserOptions: { | |
parser: 'babel-eslint', | |
sourceType: 'module' | |
}, | |
env: { | |
browser: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dist | |
aws-exports.js | |
graphql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Configuration for your app | |
module.exports = function (ctx) { | |
return { | |
// app boot file (/src/boot) | |
// --> boot files are part of "main.js" | |
boot: [ | |
'axios', 'amplify', 'appsync' | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="q-app" v-if="hydrated"> | |
<router-view/> | |
</div> | |
</template> | |
<script> | |
export default { | |
name: 'App', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const routes = [{ | |
path: '/', | |
component: () => import('layouts/MyLayout.vue'), | |
children: [{ | |
path: '', | |
name: 'todo', | |
component: () => import('pages/Todo.vue'), | |
meta: { | |
requiresAuth: true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="todo"> | |
<div v-if="$apollo.loading"> | |
<div class="text-xs-center"> | |
<q-circular-progress indeterminate size="50px" color="lime" class="q-ma-md"/> | |
</div> | |
</div> | |
<form @submit.prevent.stop="onCreate" class="q-pa-md"> | |
<div class="q-pa-md" style="max-width: 420px"> | |
<q-input |
NewerOlder