Skip to content

Commit 0c82327

Browse files
authored
Merge pull request #189 from codeforjapan/development
v0リリースのmasterマージ
2 parents 54f2b99 + e3d0f20 commit 0c82327

File tree

13 files changed

+966
-152
lines changed

13 files changed

+966
-152
lines changed

nuxt.config.js

Lines changed: 55 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,33 +16,63 @@ export default {
1616
meta: [
1717
{ charset: 'utf-8' },
1818
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
19+
{
20+
hid: 'keyword',
21+
name: 'keyword',
22+
content: 'CodeforJapan, おうちで時間割, デジタル, 学び, 今後の学習'
23+
},
24+
{
25+
hid: 'author',
26+
name: 'author',
27+
content: 'Code for Japan'
28+
},
29+
{
30+
hid: 'og:site_name',
31+
property: 'og:site_name',
32+
content: 'おうちで時間割'
33+
},
34+
{
35+
hid: 'og:url',
36+
property: 'og:url',
37+
content: `https://app.studyathome.jp/`
38+
},
39+
{
40+
hid: 'og:title',
41+
property: 'og:title',
42+
content: 'おうちで時間割'
43+
},
44+
{
45+
hid: 'og:description',
46+
property: 'og:description',
47+
content:
48+
'子どもの学びにデジタルの活用を - 臨時休校期間と今後の学習に向けて 簡単に楽しく学べる環境を今だから、みんなでつくろう。'
49+
},
50+
{
51+
hid: 'apple-mobile-web-app-title',
52+
name: 'apple-mobile-web-app-title',
53+
content: 'おうちで時間割'
54+
},
1955
{
2056
hid: 'description',
2157
name: 'description',
2258
content:
23-
'おうちにいても先生から課題が届きます!時間割に合わせて楽しく学んでコロナ休校を乗り切ろう!'
59+
'子どもの学びにデジタルの活用を - 臨時休校期間と今後の学習に向けて 簡単に楽しく学べる環境を今だから、みんなでつくろう。'
2460
},
25-
{ hid: 'robots', name: 'robots', content: 'noindex' }
26-
],
27-
link: [
28-
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
29-
{ rel: 'apple-touch-icon', href: '/apple-touch-icon-precomposed.png' },
3061
{ hid: 'og:type', property: 'og:type', content: 'website' },
3162
{
3263
hid: 'og:image',
3364
property: 'og:image',
34-
content: 'https://studyathome.web.app/ogp.png'
65+
content: 'https://app.studyathome.jp/ogp.png'
3566
},
3667
{
3768
hid: 'twitter:image',
3869
name: 'twitter:image',
39-
content: 'https://studyathome.web.app/ogp.png'
40-
},
41-
{
42-
hid: 'og:title',
43-
property: 'og:title',
44-
content: 'おうちで時間割'
70+
content: 'https://app.studyathome.jp/ogp.png'
4571
}
72+
],
73+
link: [
74+
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
75+
{ rel: 'apple-touch-icon', href: '/apple-touch-icon-precomposed.png' }
4676
]
4777
},
4878
/*
@@ -135,10 +165,20 @@ export default {
135165
APPID: process.env.APPID,
136166
MEASUREMENTID: process.env.MEASUREMENTID
137167
},
168+
manifest: {
169+
name: 'おうちで時間割',
170+
short_name: 'おうちで時間割',
171+
theme_color: '#0071C2',
172+
background_color: '#ffffff',
173+
display: 'standalone',
174+
Scope: '/',
175+
start_url: '/',
176+
splash_pages: null
177+
},
138178
workbox: {
139179
importScripts: [
140-
'https://www.gstatic.com/firebasejs/7.14.6/firebase-app.js',
141-
'https://www.gstatic.com/firebasejs/7.14.6/firebase-auth.js',
180+
'https://www.gstatic.com/firebasejs/7.15.1/firebase-app.js',
181+
'https://www.gstatic.com/firebasejs/7.15.1/firebase-auth.js',
142182
'swenv.js',
143183
'sw-firebase-auth.js'
144184
],

src/components/PeriodCard.vue

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313
</div>
1414
<v-row>
1515
<v-col v-for="(item, i) in classData" :key="i" cols="12" md="6">
16-
<content-card :lesson="item" />
16+
<content-card
17+
:lesson="item"
18+
:editable="editable"
19+
@clickEditButton="$emit('clickEditButton', item)"
20+
/>
1721
</v-col>
1822
</v-row>
1923
</div>
@@ -41,6 +45,10 @@ export default Vue.extend({
4145
classData: {
4246
type: Array as () => classData.LessonWithId[],
4347
default: () => []
48+
},
49+
editable: {
50+
type: Boolean,
51+
default: false
4452
}
4553
},
4654
computed: {

src/components/PeriodCardEditable.vue

Lines changed: 0 additions & 100 deletions
This file was deleted.

src/layouts/simple.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<v-app-bar fixed app class="bar" elevation="0">
99
<HeaderLogo />
1010
<v-spacer />
11-
<v-btn outlined rounded color="#0071C2">
11+
<v-btn outlined rounded color="#0071C2" @click="$router.back()">
1212
<v-icon left>mdi-arrow-left</v-icon>
1313
もどる
1414
</v-btn>

0 commit comments

Comments
 (0)