Kimberley Mackenzie e35e01f06f
Prettier Spike (#1517)
* Add Prettier set-up (no formatting in this commit).

* Manual fixes for Prettier issues.

* Run Prettier fix on non-markdown files.

* Incorporate Prettier PR feedback - update commands, re-apply new yaml styles, add editor config.

* Remove deprecated config item.

* Add dependency on prettier-plugin-go-template.

* reconcile changed file with prettier formatting.

* Add git blame ignore revs file to include Prettier formatting commit.

* Fix format issue with merge conflict.
2022-06-01 10:58:20 -07:00

20 lines
893 B
HTML

{{ $text := "PulumiUP: A two-hour virtual event for cloud engineers. Save your spot!" }}
{{ $url := relref . "/pulumi-up" }}
{{ $color := "orange" }}
<div class="mx-auto mb-12">
<div class="inline-block">
<a
href="{{ $url }}"
class="block p-2 bg-purple-400 hover:bg-purple-300 transition-all items-center text-purple-100 leading-none rounded-full flex md:inline-flex shadow-xl"
>
<span class="alert-chicklet flex rounded-full bg-{{ $color }}-700 border-4 border-{{ $color }}-600 uppercase text-white px-2 py-1 text-xs font-bold mr-2">New!</span>
<span class="alert-content text-left flex-auto text-white text-sm md:text-base leading-normal">
{{ $text | safeHTML }}
</span>
<i class="fill-current fas fa-chevron-right text-xs opacity-75 ml-2 mr-1"></i>
</a>
</div>
</div>