This file contains hidden or 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
'use strict'; | |
let https = require('https'), | |
http = require('http'); | |
const ISBucketKey = 'YOUR-BUCKET-KEY', | |
WundergroundApiKey = 'WUNDERGROUND-API-KEY', | |
WundergroundCity = 'Nashville', | |
WundergroundState = 'TN'; | |
const ISAccessKey = 'YOUR-ACCESS-KEY'; |
This file contains hidden or 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="auth" class='auth'> | |
<amplify-authenticator | |
username-alias="email" | |
v-if="authState !== 'signedin'" | |
> | |
<amplify-sign-up | |
slot="sign-up" | |
username-alias="email" | |
:form-fields.prop="formFields" |
This file contains hidden or 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> | |
<v-app-bar prominent dense app class="primary"> | |
<v-container class="d-flex align-center" fluid> | |
<v-layout justify-left> | |
<v-img | |
src="../assets/degreesee-desktop.svg" | |
alt="DegreeSee Logo" | |
max-width="300" | |
class='logo' | |
></v-img> |
This file contains hidden or 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="auth" class='auth'> | |
<amplify-authenticator | |
username-alias="email" | |
v-if="authState !== 'signedin'" | |
> | |
<amplify-sign-up | |
slot="sign-up" | |
username-alias="email" | |
:form-fields.prop="formFields" |
This file contains hidden or 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
<script> | |
import { onAuthUIStateChange } from '@aws-amplify/ui-components'; | |
export default { | |
name: 'Auth', | |
data () { | |
return { | |
user: undefined, | |
authState: undefined, | |
formFields: [ |
This file contains hidden or 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 Vue from 'vue'; | |
import Vuetify from 'vuetify/lib/framework'; | |
Vue.use(Vuetify); | |
export default new Vuetify({ | |
theme: { | |
themes: { | |
light: { | |
primary: '#E05800', // orange |