Use image of text

This commit is contained in:
Korbs 2024-12-07 01:09:27 -05:00
parent 4c15cd94d8
commit b8ce39f154

View file

@ -23,8 +23,18 @@ const { WithLogo, OnlyLogo } = Astro.props;
null null
): ):
<p> <p>
<span>Sudo</span> <img
<span style="font-family: RedHatDisplay; font-weight: bold;">Vanilla</span> style="display: none; width: fit-content; height: 16px;"
class="sv-logo-white"
alt="SudoVanilla Logo"
src="https://md.sudovanilla.org/images/SudoVanilla-Text.png"
/>
<img
style="display: none; width: fit-content; height: 16px;"
class="sv-logo-purple"
alt="SudoVanilla Logo"
src="https://md.sudovanilla.org/images/SudoVanilla-Text-Purple.png"
/>
</p> </p>
} }
</div> </div>
@ -42,7 +52,7 @@ const { WithLogo, OnlyLogo } = Astro.props;
img[src="https://md.sudovanilla.org/images/sv-logo-4.png"], img[src="https://md.sudovanilla.org/images/sv-logo-4.png"],
img["https://md.sudovanilla.org/images/SudoVanilla%20Logo%20-%20Purple.png"] img["https://md.sudovanilla.org/images/SudoVanilla%20Logo%20-%20Purple.png"]
{ {
width: 32px !important; width: 32px;
height: 30px !important; height: 30px;
} }
</style> </style>