質問編集履歴
4
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -214,7 +214,9 @@
|
|
214
214
|
|
215
215
|
ページを検証しても、
|
216
216
|
|
217
|
+
```
|
218
|
+
|
217
|
-
|
219
|
+
<div class="content_post" style="background-image: url(https://cdn.pixabay.com/photo/2018/05/30/00/24/thunderstorm-3440450_960_720.jpg);">
|
218
220
|
|
219
221
|
<p>sasaas</p>
|
220
222
|
|
3
再追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -209,3 +209,19 @@
|
|
209
209
|
|
210
210
|
|
211
211
|
一応、ブラウザのキャッシュは削除してみましたが治りませんでした。
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
ページを検証しても、
|
216
|
+
|
217
|
+
```<div class="content_post" style="background-image: url(https://cdn.pixabay.com/photo/2018/05/30/00/24/thunderstorm-3440450_960_720.jpg);">
|
218
|
+
|
219
|
+
<p>sasaas</p>
|
220
|
+
|
221
|
+
<span class="name">kokok</span>
|
222
|
+
|
223
|
+
</div>
|
224
|
+
|
225
|
+
```
|
226
|
+
|
227
|
+
特に問題はなさそうに見えました。
|
2
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -87,3 +87,125 @@
|
|
87
87
|
成功作 画像
|
88
88
|
|
89
89
|
![イメージ説明](0efe057dd8bc67b15f4b66fe5bb0d84d.png)
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
追記
|
94
|
+
|
95
|
+
application.html.erb
|
96
|
+
|
97
|
+
```
|
98
|
+
|
99
|
+
<!DOCTYPE html>
|
100
|
+
|
101
|
+
<html>
|
102
|
+
|
103
|
+
<head>
|
104
|
+
|
105
|
+
<title>Pictweet</title>
|
106
|
+
|
107
|
+
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
108
|
+
|
109
|
+
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
110
|
+
|
111
|
+
<%= csrf_meta_tags %>
|
112
|
+
|
113
|
+
<script type="text/javascript">
|
114
|
+
|
115
|
+
WebFontConfig = {
|
116
|
+
|
117
|
+
google: { families: [ 'Unica+One::latin' ] }
|
118
|
+
|
119
|
+
};
|
120
|
+
|
121
|
+
(function() {
|
122
|
+
|
123
|
+
var wf = document.createElement('script');
|
124
|
+
|
125
|
+
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
|
126
|
+
|
127
|
+
'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
|
128
|
+
|
129
|
+
wf.type = 'text/javascript';
|
130
|
+
|
131
|
+
wf.async = 'true';
|
132
|
+
|
133
|
+
var s = document.getElementsByTagName('script')[0];
|
134
|
+
|
135
|
+
s.parentNode.insertBefore(wf, s);
|
136
|
+
|
137
|
+
})();
|
138
|
+
|
139
|
+
</script>
|
140
|
+
|
141
|
+
</head>
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
<body>
|
146
|
+
|
147
|
+
<header class="header">
|
148
|
+
|
149
|
+
<div class="header__bar row">
|
150
|
+
|
151
|
+
<h1 class="grid-6"><a href="/">Pic</a></h1>
|
152
|
+
|
153
|
+
<% if user_signed_in? %>
|
154
|
+
|
155
|
+
<div class="user_nav grid-6">
|
156
|
+
|
157
|
+
<%= link_to "ログアウト",destroy_user_session_path,method: :delete %>
|
158
|
+
|
159
|
+
<a class="post" href="/tweets/new">投稿する</a>
|
160
|
+
|
161
|
+
</div>
|
162
|
+
|
163
|
+
<% else %>
|
164
|
+
|
165
|
+
<div class="grid-6">
|
166
|
+
|
167
|
+
<%= link_to "ログイン",new_user_session_path, class: 'post'%>
|
168
|
+
|
169
|
+
<%= link_to "新規登録",new_user_registration_path,class: 'post'%>
|
170
|
+
|
171
|
+
</div>
|
172
|
+
|
173
|
+
<% end %>
|
174
|
+
|
175
|
+
</div>
|
176
|
+
|
177
|
+
</header>
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
<%= yield %>
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
<footer>
|
186
|
+
|
187
|
+
<p>
|
188
|
+
|
189
|
+
Copyright PicTweet 2014.
|
190
|
+
|
191
|
+
</p>
|
192
|
+
|
193
|
+
</footer>
|
194
|
+
|
195
|
+
</body>
|
196
|
+
|
197
|
+
</html>
|
198
|
+
|
199
|
+
```
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
ディレクトリ構造
|
204
|
+
|
205
|
+
![イメージ説明](6e199bec39b9277f4d1dd754b17afd57.png)
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
一応、ブラウザのキャッシュは削除してみましたが治りませんでした。
|
1
```
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,7 +40,9 @@
|
|
40
40
|
|
41
41
|
|
42
42
|
|
43
|
+
```
|
44
|
+
|
43
|
-
|
45
|
+
/*
|
44
46
|
|
45
47
|
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
46
48
|
|
@@ -70,7 +72,7 @@
|
|
70
72
|
|
71
73
|
*/
|
72
74
|
|
73
|
-
|
75
|
+
```
|
74
76
|
|
75
77
|
|
76
78
|
|