feat: integrate Tailwind CSS and remove legacy styles
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
<f:layout name="Default" />
|
||||
<f:section name="Main">
|
||||
<f:asset.css identifier="CBText" href="{cb:assetPath()}/frontend.css" />
|
||||
<div class="fade-in-on-scroll">
|
||||
<f:if condition="{data.header}">
|
||||
<f:then><h2>{data.header}</h2></f:then>
|
||||
<f:then><h2 class="font-hajime text-primary font-normal leading-none text-3xl md:text-5xl mb-4">{data.header}</h2></f:then>
|
||||
</f:if>
|
||||
<f:if condition="{data.bodytext}">
|
||||
<f:then>
|
||||
<div class="text-bodytext"><f:format.html>{data.bodytext}</f:format.html></div>
|
||||
<div class="max-w-3xl prose lg:prose-lg">
|
||||
<f:format.html>{data.bodytext}</f:format.html>
|
||||
</div>
|
||||
</f:then>
|
||||
</f:if>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user