-
Notifications
You must be signed in to change notification settings - Fork 15
lab-regan-32 #99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
lab-regan-32 #99
Conversation
} | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job using the sprite sheet!
<div class="social-media-icons"> | ||
<h3>{{socialIconsCtrl.tester}}</h3> | ||
<ul> | ||
<li><a class="social-icon" ng-repeat="icon in socialIconsCtrl.icons" href="{{icon}}.com"></a></li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-This works with the ng-repeat. Another option would be to dynamically generate a class name in here from what is stored in your icons array.
-The href attribute will automatically append the attribute to the domain of your page unless you provide it with the new domain. So if your page is running on http://localhost:8000, and you provide a value of twitter.com in the href attribute, clicking on this element will send you to http://localhost:8000/twitter.com. Which is not a path that you have setup on your frontend. To get it to go to https://www.twitter.com you need to provide it with the https://www part. The https:// will tell it that you are providing an external link. So you could change the values in your array. Or if the links you wanted all had the same prefix you could do something like this-->> href='https://www.{{icon}}.com'.
<section class="home"> | ||
<create-gallery></create-gallery> | ||
|
||
<input class="fuzzy-input" ng-if="homeCtrl.galleries.length >= 5" type="text" placeholder="search for a gallery" ng-model="homeCtrl.gallerySearchTerm"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job here.
@@ -0,0 +1,7 @@ | |||
<div class="thumbnail-container"> | |||
<h3>{{thumbnailContainerCtrl.gallery.name | uppercase}}</h3> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
No description provided.