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 { PostPartialUpdateRequest, PostUpdateRequest, ExternalLink, Post } from "../gen/api"; | |
import { Component } from "react"; | |
import { apiCall, postApi, externalLinkApi } from "../Api"; | |
export type PostCreateUpdateRequest = Post; | |
function isPostUpdateRequest(request: PostCreateUpdateRequest): request is PostPartialUpdateRequest | PostUpdateRequest { | |
return (request as PostPartialUpdateRequest).id !== undefined; | |
} |
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 "@babel/polyfill"; | |
import Vue from "vue"; | |
import * as VueGoogleMaps from "vue2-google-maps"; | |
import VTooltip from "v-tooltip"; | |
import router from "@/router"; | |
import store from "@/store"; | |
import Search from "@/Search.vue"; |
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 functions = require('firebase-functions'); | |
const gcs = require('@google-cloud/storage')(); | |
const sharp = require('sharp') | |
const _ = require('lodash'); | |
const path = require('path'); | |
const os = require('os'); | |
exports.generateThumbnail = functions.storage.object('uploads/{imageId}').onChange(event => { | |
const object = event.data; // The Storage object. |
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
section { | |
padding: 40px 0px; | |
background-color: #fff; | |
width: 100%; | |
} | |
.border-top { | |
background-color: #eee; | |
position: relative; | |
box-shadow: 0 2px 4px #ccc inset; |
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
<div class="loading"> | |
<span class="bar bar-1"></span> | |
<span class="bar bar-2"></span> | |
<span class="bar bar-3"></span> | |
<span class="bar bar-4"></span> | |
</div> |
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
<div class="image"> | |
<img src="https://www.yatzer.com/sites/default/files/media/slideshow/f5_out_my_window_gail_albert_halaban_new_york_glasshousewithdog_yatzer.jpg" /> | |
<div class="caption"> | |
A nice caption for out image | |
<br> | |
<button class="btn">Action Item</button> | |
</div> | |
</div> |
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
<div class="checkbox"> | |
<input id="check1" type="checkbox"> | |
<label for="check1"><span>Test</span></label> | |
</div> |
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
<div class="background"> | |
<div class="bounds"> | |
<div class="element"> | |
<span class="inner-text">30</span> | |
<span class="option" value="1"></span> | |
<span class="option" value="2"></span> | |
<span class="option active" value="3"></span> | |
<span class="option" value="4"></span> | |
<span class="option" value="5"></span> | |
<span class="option" value="6"></span> |
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
<div class="clock"> | |
<div class="current-time"> | |
</div> | |
8:00am | |
<div class="block" data-time="8"> | |
<div class="class"> | |
</div> | |
<div class="class"> |
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
<div class="checkbox"> | |
<label> | |
<input type="checkbox"> Checkbox | |
</label> | |
</div> |