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
<?php | |
require_once(dirname(__FILE__) . '/vendor/autoload.php'); | |
$client = new Aws\S3\S3Client([ | |
'credentials' => [ | |
'key' => _AWS_ACCESS_KEY_ID, | |
'secret' => _AWS_SECRET_ACCESS_KEY, | |
], | |
'region' => 'ap-northeast-1', | |
'version' => 'latest', |
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
# ==================== Emojis ==================== | |
# ✨ :sparkles: 新機能(New Feature) | |
# 🐛 :bug: バグ修正(Bagfix) | |
# 🔧 :wrench: バグではない修正 (Update) | |
# 💼 :briefcase: 開発ツール(Tools) | |
# 🎨 :art: デザインUI/UX(Accessibility) | |
# 🐎 :horse: パフォーマンス(Performance) |
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
version: '2' | |
services: | |
db: | |
image: mysql:5.7 | |
volumes: | |
- "./.data/db:/var/lib/mysql" | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: wordpress | |
MYSQL_DATABASE: wordpress |
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
{ | |
"port": 3333, | |
"plugins": [ "WordPress/wp-lazy-loading", "./YOUR-AWESOME-PLUGIN" ], | |
"themes": [ "./YOUR-AWESOME-THEME" ] | |
} |
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
{ | |
"brand": "#D71F21", | |
"primary": "#152F52", | |
"secondary": "#C5A259", | |
"body": "#000", | |
"link": "#1372CA", | |
"border": "#D5D5D5", | |
"off": "#DBD4C6", | |
"background": "#F2F2F2", | |
"base": "#fff" |
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
:root { | |
--color-bg: #000; | |
--color-white: #fff; | |
// アイコン関連 | |
--icon-size: 44px; | |
--icon-inner-size: 24px; | |
--icon-line-width: 1px; | |
--icon-hamburger-margin: 7px; | |
} |
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
<ul className={styles.list}> | |
{blog.map(blog => ( | |
<li key={blog.id}> | |
<Link href={`blog/${blog.id}`}> | |
<a> | |
<div> | |
{blog.image ? ( | |
<picture> | |
<source srcSet={blog.image.url + "?w=160&h=160&fit=crop&dpr=2 2x"} /> | |
<img src={blog.image.url + "?w=160&h=160&fit=crop"} alt="" /> |
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 App, { Container } from 'next/app' | |
import TagManager from 'react-gtm-module' | |
import '../styles/globals.css' | |
import '../store' | |
class MyApp extends App { | |
componentDidMount() { | |
TagManager.initialize({ gtmId: 'GTM-XXXXXXX' }) | |
} | |
render() { |