mirror of
				https://github.com/privacyguides/discourse-brand.git
				synced 2025-10-29 22:36:29 +00:00 
			
		
		
		
	Add page footer
This commit is contained in:
		| @@ -88,3 +88,164 @@ body:not(.category-announcements-blog) .forum-custom-header-links > a { | ||||
| .category-team .topic-post.group-team { | ||||
|     border-top: none; | ||||
| } | ||||
|  | ||||
| // From discourse-easy-footer component: | ||||
|  | ||||
| .custom-footer { | ||||
|   display: flex; | ||||
|   flex-wrap: wrap; | ||||
|   background: var(--primary); | ||||
|   .wrap { | ||||
|     box-sizing: border-box; | ||||
|   } | ||||
|   .flexbox { | ||||
|     width: 100%; | ||||
|     display: flex; | ||||
|     flex-wrap: wrap; | ||||
|     color: var(--secondary); | ||||
|     padding: 2em 0 1em 0; | ||||
|   } | ||||
|   .first-box { | ||||
|     max-width: 20%; | ||||
|     .heading { | ||||
|       font-size: $font-up-2; | ||||
|       font-weight: bold; | ||||
|       margin-bottom: 0.5em; | ||||
|       display: block; | ||||
|     } | ||||
|     .blurb { | ||||
|       color: var(--secondary-high); | ||||
|     } | ||||
|   } | ||||
|   .second-box { | ||||
|     flex: 1; | ||||
|     .links { | ||||
|       display: flex; | ||||
|       flex-wrap: wrap; | ||||
|       justify-content: flex-end; | ||||
|       ul { | ||||
|         list-style: none; | ||||
|         margin: 0; | ||||
|         min-width: 100px; | ||||
|       } | ||||
|       li { | ||||
|         margin: 0.5em 0; | ||||
|       } | ||||
|     } | ||||
|   } | ||||
|   .third-box { | ||||
|     width: 100%; | ||||
|     display: flex; | ||||
|     align-items: center; | ||||
|     border-top: 1px solid rgba(var(--primary-low-rgb), 0.05); | ||||
|     .social { | ||||
|       display: flex; | ||||
|       flex-wrap: wrap; | ||||
|       align-items: center; | ||||
|       justify-content: flex-end; | ||||
|       .social-link { | ||||
|         margin: 20px 10px; | ||||
|         display: flex; | ||||
|         align-items: center; | ||||
|         justify-content: center; | ||||
|  | ||||
|         .d-icon { | ||||
|           color: var(--secondary); | ||||
|           min-width: unset; | ||||
|           margin: 0; | ||||
|           font-size: $font-up-2; | ||||
|           opacity: 1; | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|     .small-link { | ||||
|       color: var(--secondary-high); | ||||
|       margin: 0 0.25em; | ||||
|       font-size: $font-down-2; | ||||
|     } | ||||
|   } | ||||
|   .footer-links { | ||||
|     flex: 1; | ||||
|   } | ||||
|   .list span { | ||||
|     font-weight: bold; | ||||
|   } | ||||
|   .footer-section-link-wrapper a { | ||||
|     color: var(--secondary-high); | ||||
|   } | ||||
|   .list { | ||||
|     margin: 1em; | ||||
|     margin-top: 0; | ||||
|   } | ||||
|   .d-icon { | ||||
|     margin-right: 5px; | ||||
|     opacity: 0.7; | ||||
|     min-width: 16px; | ||||
|     text-align: center; | ||||
|     &.fa-none { | ||||
|       min-width: unset; | ||||
|     } | ||||
|     .rtl & { | ||||
|       margin-right: 0; | ||||
|       margin-left: 5px; | ||||
|     } | ||||
|   } | ||||
| } | ||||
|  | ||||
| #main-outlet { | ||||
|   // stick footer to bottom of short pages | ||||
|   min-height: 85vh; | ||||
| } | ||||
|  | ||||
| @media screen and (max-width: $large-width) { | ||||
|   .custom-footer { | ||||
|     .first-box { | ||||
|       max-width: 100%; | ||||
|       border-bottom: 1px solid rgba(var(--primary-low-rgb), 0.05); | ||||
|       margin-bottom: 1em; | ||||
|       padding-bottom: 1em; | ||||
|  | ||||
|       .blurb { | ||||
|         display: flex; | ||||
|         align-items: center; | ||||
|       } | ||||
|     } | ||||
|     .third-box { | ||||
|       margin-top: 0.5em; | ||||
|     } | ||||
|     .second-box .links { | ||||
|       justify-content: space-between; | ||||
|     } | ||||
|     .list { | ||||
|       margin: 0; | ||||
|       margin-top: 1em; | ||||
|     } | ||||
|     .first-box, | ||||
|     .second-box, | ||||
|     .third-box { | ||||
|       flex: 1 1 100%; | ||||
|     } | ||||
|   } | ||||
| } | ||||
|  | ||||
| @media screen and (max-width: 700px) { | ||||
|   .custom-footer { | ||||
|     .first-box { | ||||
|       width: 100%; | ||||
|     } | ||||
|     .list { | ||||
|       margin-top: 1em; | ||||
|       display: inline-block; | ||||
|       vertical-align: top; | ||||
|       min-width: 50%; | ||||
|       font-size: $font-up-1; | ||||
|     } | ||||
|     .links { | ||||
|       display: inline-block; | ||||
|     } | ||||
|   } | ||||
| } | ||||
|  | ||||
| .static-login .custom-footer { | ||||
|   margin-top: 3em; | ||||
| } | ||||
|   | ||||
							
								
								
									
										230
									
								
								common/footer.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										230
									
								
								common/footer.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,230 @@ | ||||
| <div class="custom-footer">   | ||||
|   <div class="wrap"> | ||||
|     <div class="flexbox"> | ||||
|       <div class="first-box"> | ||||
|         <div class="heading"> | ||||
|           Privacy Guides | ||||
|         </div> | ||||
|         <div class="blurb"> | ||||
|           Massive organizations are monitoring your online activities. Privacy Guides is your central privacy and security resource to protect yourself online. | ||||
|         </div> | ||||
|       </div> | ||||
|       <div class="second-box"> | ||||
|         <div class="links"> | ||||
|             <div class="list"> | ||||
|               <span class="knowledge-base"> | ||||
|                 Knowledge Base | ||||
|               </span> | ||||
|  | ||||
|               <ul> | ||||
|                   <li class="footer-section-link-wrapper threat-modeling"> | ||||
|                     <a class="footer-section-link" title="Threat modeling lists the most likely threats to your privacy" href="https://www.privacyguides.org/basics/threat-modeling/"> | ||||
|                       Threat Modeling | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper common-threats"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/basics/common-threats/"> | ||||
|                       Common Threats | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper vpn-overview"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/basics/vpn-overview/"> | ||||
|                       VPN Overview | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper tor-overview"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/basics/tor-overview/"> | ||||
|                       Tor Overview | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper android-overview"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/android/overview/"> | ||||
|                       Android Overview | ||||
|                     </a> | ||||
|                   </li> | ||||
|               </ul> | ||||
|             </div> | ||||
|             <div class="list"> | ||||
|               <span class="browsers"> | ||||
|                 Browsers | ||||
|               </span> | ||||
|  | ||||
|               <ul> | ||||
|                   <li class="footer-section-link-wrapper tor-network"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/tor/"> | ||||
|                       Tor Network | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper firefox"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/desktop-browsers/#firefox"> | ||||
|                       Firefox | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper brave"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/desktop-browsers/#brave"> | ||||
|                       Brave | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper android-browsers"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/mobile-browsers/#android"> | ||||
|                       Android Browsers | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper ios-browsers"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/mobile-browsers/#ios"> | ||||
|                       iOS Browsers | ||||
|                     </a> | ||||
|                   </li> | ||||
|               </ul> | ||||
|             </div> | ||||
|             <div class="list"> | ||||
|               <span class="operating-systems"> | ||||
|                 Operating Systems | ||||
|               </span> | ||||
|  | ||||
|               <ul> | ||||
|                   <li class="footer-section-link-wrapper android"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/android/"> | ||||
|                       Android | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper linux"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/linux-desktop/"> | ||||
|                       Linux | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper qubes-os"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/qubes/"> | ||||
|                       Qubes OS | ||||
|                     </a> | ||||
|                   </li> | ||||
|               </ul> | ||||
|             </div> | ||||
|             <div class="list"> | ||||
|               <span class="vpn-providers"> | ||||
|                 VPN Providers | ||||
|               </span> | ||||
|  | ||||
|               <ul> | ||||
|                   <li class="footer-section-link-wrapper ivpn"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/vpn/#ivpn"> | ||||
|                       IVPN | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper mullvad"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/vpn/#mullvad"> | ||||
|                       Mullvad | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper protonvpn"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/vpn/#proton-vpn"> | ||||
|                       ProtonVPN | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper recommendation-criteria"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/vpn/#our-criteria"> | ||||
|                       Recommendation Criteria | ||||
|                     </a> | ||||
|                   </li> | ||||
|               </ul> | ||||
|             </div> | ||||
|             <div class="list"> | ||||
|               <span class="services"> | ||||
|                 Services | ||||
|               </span> | ||||
|  | ||||
|               <ul> | ||||
|                   <li class="footer-section-link-wrapper cloud-storage"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/cloud/"> | ||||
|                       Cloud Storage | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper email-providers"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/email/"> | ||||
|                       Email Providers | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper search-engines"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/search-engines/"> | ||||
|                       Search Engines | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper dns-resolvers"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/dns/"> | ||||
|                       DNS Resolvers | ||||
|                     </a> | ||||
|                   </li> | ||||
|               </ul> | ||||
|             </div> | ||||
|             <div class="list"> | ||||
|               <span class="software"> | ||||
|                 Software | ||||
|               </span> | ||||
|  | ||||
|               <ul> | ||||
|                   <li class="footer-section-link-wrapper email-clients"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/email-clients/"> | ||||
|                       Email Clients | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper password-managers"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/passwords/"> | ||||
|                       Password Managers | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper instant-messengers"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/real-time-communication/"> | ||||
|                       Instant Messengers | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper encryption-tools"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/encryption/"> | ||||
|                       Encryption Tools | ||||
|                     </a> | ||||
|                   </li> | ||||
|                   <li class="footer-section-link-wrapper file-sharing"> | ||||
|                     <a class="footer-section-link" href="https://www.privacyguides.org/file-sharing/"> | ||||
|                       File Sharing | ||||
|                     </a> | ||||
|                   </li> | ||||
|               </ul> | ||||
|             </div> | ||||
|         </div> | ||||
|       </div> | ||||
|       <div class="third-box"> | ||||
|         <div class="footer-links"> | ||||
|             <a class="small-link privacy" href="/privacy"> | ||||
|               Privacy | ||||
|             </a> | ||||
|             <a class="small-link terms-of-service" href="/tos"> | ||||
|               Terms of service | ||||
|             </a> | ||||
|             <a class="small-link posting-guidelines" href="/guidelines"> | ||||
|               Posting guidelines | ||||
|             </a> | ||||
|             <a class="small-link about-us" href="https://www.privacyguides.org/about/"> | ||||
|               About us | ||||
|             </a> | ||||
|             <a class="small-link forum-design-by-jonah" href="https://www.jonaharagon.com/"> | ||||
|               Forum design by Jonah | ||||
|             </a> | ||||
|         </div> | ||||
|  | ||||
|         <div class="social"> | ||||
|             <a class="social-link mastodon" title="follow us on Mastodon" href="https://mastodon.neat.computer/@privacyguides"> | ||||
|               <svg class="fa d-icon d-icon-fab-mastodon svg-icon svg-string" xmlns="http://www.w3.org/2000/svg"><use href="#fab-mastodon"></use></svg> | ||||
|             </a> | ||||
|             <a class="social-link github" title="contribute to the website on GitHub" href="https://github.com/privacyguides"> | ||||
|               <svg class="fa d-icon d-icon-fab-github svg-icon svg-string" xmlns="http://www.w3.org/2000/svg"><use href="#fab-github"></use></svg> | ||||
|             </a> | ||||
|             <a class="social-link twitter" title="show some love on Twitter" href="https://twitter.com/privacy_guides"> | ||||
|               <svg class="fa d-icon d-icon-fab-twitter svg-icon svg-string" xmlns="http://www.w3.org/2000/svg"><use href="#fab-twitter"></use></svg> | ||||
|             </a> | ||||
|             <a class="social-link reddit" title="join the community on Reddit" target="_blank" href="https://www.reddit.com/r/privacyguides"> | ||||
|               <svg class="fa d-icon d-icon-fab-reddit svg-icon svg-string" xmlns="http://www.w3.org/2000/svg"><use href="#fab-reddit"></use></svg> | ||||
|             </a> | ||||
|         </div> | ||||
|       </div> | ||||
|     </div> | ||||
|   </div> | ||||
| </div> | ||||
		Reference in New Issue
	
	Block a user