keycloak-theme/login.keywind/components/socials.ftl
2022-02-22 16:53:26 +08:00

38 lines
3.8 KiB
Plaintext

<#-- https://facebookbrand.com/facebookapp/assets/f-logo/ -->
<#macro facebook>
<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 0H24V24H0V0Z" fill="white"/>
<path d="M20 12.0972C20 7.6789 16.4183 4.09719 12 4.09719C7.58172 4.09719 4 7.6789 4 12.0972C4 16.0902 6.92548 19.3998 10.75 20V14.4097H8.71875V12.0972H10.75V10.3347C10.75 8.32969 11.9443 7.22219 13.7717 7.22219C14.647 7.22219 15.5625 7.37844 15.5625 7.37844V9.34719H14.5537C13.5599 9.34719 13.25 9.96386 13.25 10.5965V12.0972H15.4688L15.1141 14.4097H13.25V20C17.0745 19.3998 20 16.0902 20 12.0972Z" fill="#1877F2"/>
</svg>
</#macro>
<#-- https://github.com/logos -->
<#macro github>
<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 0H24V24H0V0Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.999 4C7.5825 4 4 7.5675 4 11.9685C4 15.4885 6.292 18.475 9.471 19.5285C9.871 19.602 10.017 19.356 10.017 19.1445C10.017 18.956 10.01 18.4545 10.0065 17.7895C7.7815 18.271 7.3115 16.7215 7.3115 16.7215C6.9475 15.801 6.423 15.556 6.423 15.556C5.697 15.062 6.478 15.0715 6.478 15.0715C7.281 15.128 7.7035 15.893 7.7035 15.893C8.417 17.1105 9.576 16.7585 10.032 16.5545C10.1045 16.04 10.3115 15.689 10.5395 15.4895C8.7635 15.289 6.8955 14.6045 6.8955 11.5515C6.8955 10.6815 7.2075 9.97 7.719 9.4135C7.6365 9.212 7.362 8.4015 7.798 7.3045C7.798 7.3045 8.469 7.0905 9.9975 8.1215C10.6503 7.94431 11.3236 7.85403 12 7.853C12.68 7.8565 13.364 7.9445 14.003 8.1215C15.5305 7.0905 16.2005 7.305 16.2005 7.305C16.6375 8.4015 16.363 9.212 16.2805 9.4135C16.7935 9.97 17.103 10.682 17.103 11.5515C17.103 14.6125 15.232 15.2865 13.4505 15.4835C13.7375 15.7295 13.993 16.2155 13.993 16.959C13.993 18.024 13.983 18.884 13.983 19.1445C13.983 19.358 14.128 19.606 14.533 19.528C17.71 18.472 20 15.4885 20 11.9685C20 7.568 16.418 4 11.999 4Z" fill="#161514"/>
</svg>
</#macro>
<#-- https://developers.google.com/identity/branding-guidelines -->
<#macro google>
<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 0H24V24H0V0Z" fill="white"/>
<path d="M19.5302 12.1776C19.5302 11.52 19.4772 11.0399 19.3627 10.5424H11.9232V13.5112H16.2903C16.2023 14.2488 15.7267 15.36 14.6701 16.1066L14.6551 16.2061L17.0079 18.0458L17.1709 18.0623C18.6671 16.6666 19.5302 14.6134 19.5302 12.1776Z" fill="#4285F4"/>
<path d="M11.9233 20C14.0626 20 15.8588 19.2889 17.1705 18.0623L14.6702 16.1065C14.0011 16.5776 13.103 16.9066 11.9233 16.9066C9.82808 16.9066 8.04986 15.5114 7.41578 13.5822L7.32277 13.5902L4.87696 15.5014L4.84496 15.5914C6.14812 18.2043 8.82445 20 11.9233 20Z" fill="#34A853"/>
<path d="M7.41593 13.5822C7.24279 13.0726 7.15362 12.5383 7.1519 12C7.1519 11.449 7.24841 10.9154 7.40693 10.4178L7.40293 10.3118L4.92612 8.37009L4.84511 8.40909C4.29002 9.52462 4.00076 10.7535 4 11.9995C4 13.2887 4.30804 14.5069 4.84511 15.591L7.41593 13.5822Z" fill="#FBBC05"/>
<path d="M11.9233 7.09339C13.411 7.09339 14.4152 7.74197 14.9872 8.28454L17.2235 6.07976C15.8498 4.7911 14.0631 4 11.9233 4C8.82445 4 6.14762 5.79522 4.84496 8.40905L7.40678 10.4178C8.04986 8.48906 9.82808 7.09339 11.9233 7.09339Z" fill="#EB4335"/>
</svg>
</#macro>
<#-- https://docs.microsoft.com/azure/active-directory/develop/howto-add-branding-in-azure-ad-apps -->
<#macro microsoft>
<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 0H24V24H0V0Z" fill="white"/>
<path d="M5 5H11.6316V11.6316H5V5Z" fill="#F25022"/>
<path d="M5 12.3686H11.6316V19.0002H5V12.3686Z" fill="#00A4EF"/>
<path d="M12.3684 5H19V11.6316H12.3684V5Z" fill="#7FBA00"/>
<path d="M12.3684 12.3686H19V19.0002H12.3684V12.3686Z" fill="#FFB900"/>
</svg>
</#macro>