Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 8829d9f

Browse files
committed
linking css from inside public dir
1 parent 17a2b09 commit 8829d9f

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.bowerrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"directory" : "public/bower_components"
3+
}

views/layout.haml

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
%head
33
%meta{ charset: "utf-8 "}
44
%title MKDeploy
5-
%link{ rel:"stylesheet", href: "style.css", type: "text/css" }
6-
%body.indigo
5+
%link{ rel:"stylesheet", href: "bower_components/materialize/dist/css/materialize.min.css", type: "text/css" }
6+
%link{ rel:"stylesheet", href: "bower_components/fontawesome/css/font-awsome.min.css", type: "text/css" }
7+
%body.blue.darken-2
78
%section.content
89
= yield

views/log_in.haml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
%div.row
2-
%a.button.button-small.cyan.accent-2{ href: '/auth/google_oauth2' }
3-
Log in
4-
via google oauth
2+
%a.btn.blue.lighten-5.grey-text{ href: '/auth/google_oauth2' }
3+
%i.fa.fa-google-plus
4+
Google login
55

0 commit comments

Comments
 (0)