Merge branch 'master' into prod
This commit is contained in:
		
						commit
						57c104063a
					
				
					 3 changed files with 76 additions and 3 deletions
				
			
		|  | @ -2,6 +2,9 @@ | |||
| 
 | ||||
| {% load i18n %} | ||||
| {% load staticfiles %} | ||||
| {% load thumbnail %} | ||||
| {% load sponsorship_tags %} | ||||
| {% load schedule_tags %} | ||||
| 
 | ||||
| {% block head_title %}Welcome{% endblock %} | ||||
| 
 | ||||
|  | @ -71,6 +74,57 @@ | |||
|     </div> | ||||
|   </div> | ||||
| 
 | ||||
|   <div class="jumbotron homepage-block white"> | ||||
|     <div class="container homepage-block-content"> | ||||
|       <h1>Speakers</h1> | ||||
| 
 | ||||
|       <div class="row speaker-list"> | ||||
|         <div class="speaker" > | ||||
|           <div class="image-alignment"> | ||||
|             <div class="circle" style="border: 0;"> | ||||
|                 <div class="fill" style="background-image: url('{% static "images/cczona.jpg" %}');"></div> | ||||
|             </div> | ||||
|           </div> | ||||
| 
 | ||||
|           <h4>Carina C. Zona</h4> | ||||
|           <span class="presentation-title">Keynote Speaker</span> | ||||
|         </div> | ||||
| 
 | ||||
|         {% speakers as speakers %} | ||||
|         {% for speaker in speakers %} | ||||
|           <div class="speaker" > | ||||
|             <div class="image-alignment"> | ||||
|               <div class="circle" style="border: 0;"> | ||||
|                 {% if speaker.photo %} | ||||
|                   <div class="fill" style="background-image: url('{% thumbnail speaker.photo '600x600' %}');"></div> | ||||
|                 {% else %} | ||||
|                   <div class="fill" style="background-image: url('{% static "images/website-background.svg" %}');"></div> | ||||
|                 {% endif %} | ||||
|               </div> | ||||
|             </div> | ||||
|             {% for presentation in speaker.presentations.all %} | ||||
|               <a href="{% url "schedule_presentation_detail" presentation.id %}"> | ||||
|               <h4>{{ speaker.conferencespeaker.name }}</h4> | ||||
|                 <span class="presentation-title">{{ presentation.title }}</span> | ||||
|               </a> | ||||
|             {% endfor %} | ||||
|           </div> | ||||
|         {% endfor %} | ||||
|       </div> | ||||
|     </div> | ||||
| 
 | ||||
|     <div class="homepage-block-footer full-width"> | ||||
|       <div class="container"> | ||||
|         <div class="row"> | ||||
|           <div class="col-md-4"> | ||||
|             <a class="btn btn-lg btn-primary btn-shadow" href="/schedule/general-sessions/list">See our full program</a> | ||||
|           </div> | ||||
|         </div> | ||||
|       </div> | ||||
|     </div> | ||||
|   </div> | ||||
| 
 | ||||
| 
 | ||||
|   <div class="jumbotron homepage-block dark"> | ||||
|     <div class="homepage-block-bg mystic-background"></div> | ||||
|     <div class="container homepage-block-content"> | ||||
|  | @ -108,9 +162,6 @@ | |||
|     <div class="container homepage-block-content"> | ||||
|       <h1>Sponsors</h1> | ||||
| 
 | ||||
|       {% load sponsorship_tags %} | ||||
|       {% load thumbnail %} | ||||
| 
 | ||||
|       {% sponsor_levels as levels %} | ||||
| 
 | ||||
|       <div class="row sponsor-list"> | ||||
|  |  | |||
							
								
								
									
										
											BIN
										
									
								
								static/images/cczona.jpg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								static/images/cczona.jpg
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 78 KiB | 
|  | @ -154,6 +154,28 @@ $homepage-block-min-height: 480px; | |||
|     } | ||||
| 
 | ||||
|   } | ||||
| 
 | ||||
|   .speaker { | ||||
|     @include make-xs-column(6); | ||||
|     @include make-sm-column(4); | ||||
|     @include make-md-column(3); | ||||
|     max-width: 600px; | ||||
|     min-height: 22em; | ||||
|     margin-bottom: 2em; | ||||
|     text-align: center; | ||||
|     vertical-align: middle; | ||||
| 
 | ||||
|     .image-alignment { | ||||
|       width: 80%; | ||||
|       height: 80%; | ||||
|       margin: auto auto; | ||||
|       // Center the icon horizontally and vertically | ||||
|     } | ||||
|   } | ||||
| 
 | ||||
|   .speaker-list { | ||||
|     margin-top: 2em; | ||||
|   } | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Christopher Neugebauer
						Christopher Neugebauer