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
.notion-callout { | |
border-radius: 100px !important; | |
position: relative !important; | |
padding: 16px 24px !important; | |
border: none !important; | |
} | |
.notion-callout.notion-purple_background_co { | |
box-shadow: 0 10px 20px -10px #8c51be !important; | |
background: #6441A5 !important; | |
} |
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 React, { useState, createContext, useContext, useEffect } from "react"; | |
import { Dimensions } from "react-native"; | |
type ScreenSizeContextType = { | |
windowWidth: number; | |
windowHeight: number; | |
}; | |
export const ScreenSizeContext = createContext<ScreenSizeContextType>({ | |
windowWidth: Dimensions.get("window").width, |
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
.header__link { | |
justify-content: center; | |
} | |
.header__img:hover { | |
opacity: 0.75; | |
} | |
.contents .pagelink:hover { | |
background-color: transparent; | |
opacity: 0.75; |
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
[ | |
"0", | |
"400", | |
"401", | |
"402", | |
"403", | |
"404", | |
"405", | |
"406", | |
"407", |
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
window.__SCRIPTS_LOADED__["vendors~main"]&&((window.webpackJsonp=window.webpackJsonp||[]).push([[153],{"3XMw":function(e,t,a){"use strict";var c,n,r={};Object.defineProperty(t,"_register",{value:function(e,t){if(r[e]=r[e]||{},Object.defineProperty(this,"language",{get:function(){return c},set:function(e){c=e,n=r[e]},enumerable:!0,configurable:!0}).language=e,void 0!==t){var a=Object.getOwnPropertyNames(t)[0],f=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(n,a,f),a in this||Object.defineProperty(this,a,{get:function(){return n[a]}})}return function(t,a){r[e][t]=a,t in this||Object.defineProperty(this,t,{get:function(){return n[t]},enumerable:!0})}.bind(this)},enumerable:!1})},On87:function(e,t,a){"use strict";var c=a("3XMw")._register("ja",{get emoji(){return a.e(290).then(a.t.bind(null,"OxsB",7))}}),n=function(e){return"other"};function r(e,t){return n(e),t}function f(e,t){for(var a=0;a<t.length;a++){var c=t[a];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.de |
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
$ firebase auth:export firebase-auth-users.json --format json --project 旧Firebaseプロジェクト | |
$ firebase auth:import firebase-auth-users.json --project 新Firebaseプロジェクト |
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 lang="pug"> | |
header.header(:style="{left: headerScroll}") | |
.header__contents | |
</template> | |
<script> | |
export default { | |
name: "headerContent", | |
data: function() { | |
return { |
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 loadImage from 'blueimp-load-image'; | |
// fileを読み込んでblobとcanvasを返す | |
export default function(file) { | |
return new Promise((resolve, reject) => { | |
if (!file.type.match('image.*')) { | |
reject('画像以外のファイルです'); | |
} | |
if (file.size > 10485760) { | |
reject('10MBまでの画像がアップロード出来ます。'); |
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
{ | |
"hosting": { | |
"public": "public", | |
"rewrites": [ | |
{ | |
"source": "**", | |
"function": "app" | |
} | |
], | |
"redirects": [{ |
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
checkImageExist(imageSrc) { | |
return new Promise((resolve, reject) => { | |
var img = new Image(); | |
img.onload = () => { | |
resolve(imageSrc); | |
}; | |
img.onerror = () => { | |
reject(new Error("404")); | |
}; | |
img.src = imageSrc; |
NewerOlder