Closed TeriPastorino closed 9 years ago
so, your application.css need to be rename applicaiton.scss, and the things you are importing aren't correct.
When I get all that fixed, this is what the page looks like:
https://www.dropbox.com/s/sq2yhmf0qjkm4qy/Screenshot%202015-05-10%2010.37.40.png?dl=0
@import "bootstrap-sprockets";
@import "bootstrap";
@import "font-awesome";
@import "bootstrap-social";
That is what I have in the application.scss.
Also, a few other things. In general, when you are using scss/sass, you don't need to touch the requires in the top comments. If you are going to add a new gem that contains assets, you just have to add it to the imports. If they tell you to require it, just take the part to the right of the require and add that as an import instead :).
I noticed you had multiple buttons on the page, let's try to just get one button working first before we try adding more than one. The mark up is pretty close. Try something like this:
%a.btn.btn-social.btn-lg.btn-twitter{:href => "/auth/twitter", :role => "button"}
%i.fa.fa-twitter
Sign in with Twitter
Don't worry about converting that link to a link_to helper, it's actually easier, I think, to do it without in this case.
Notice, I removed .btn-block class. That will make it so that it's a set size, and not the entire width of it's container. Now, with that said, you will need to wrap this link in a block level element like a p
or a div
I love seeing so many commits.
is a user_id set up as a default when you generate a model? because i don't have one in my db i had user_id originally and was getting some type of login error. so looked in schema and no user_id just uid. thought it was tied to that. changed it back to user_id
@levicole hey levi added buttons and trying to play with the formatting. can you tell me how i get containers and rows in the proper syntax to get buttons off of each other? will work on session controller tomorrow