feat: change to other sitepakage
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
.frame-type-cloonar_hero .container {
|
||||
display: flex;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path fill="#FFF" d="M1 1h14v14H1V1z"/><path fill="#999" d="M1 1v14h14V1H1zm1 1h12v12H2V2z"/><path fill="#666" d="M3 3h10v1H3V3z"/><path fill="#B9B9B9" d="M3 5h10v1H3V5z"/><path fill="#59F" d="M7 7h6v6H7V7z"/><path fill="#FFF" d="M11 12H8l.75-1 .75-1 .75 1 .75 1z"/><path fill="#FFF" d="M12 12H9.333l.667-.667.667-.666.666.666L12 12z"/><circle cx="11.5" cy="9.5" r=".5" fill="#FFF"/><path fill="#B9B9B9" d="M3 7h3v1H3V7zm0 2h3v1H3V9zm0 2h3v1H3v-1z"/></svg>
|
||||
|
After Width: | Height: | Size: 537 B |
21
packages/base/ContentBlocks/ContentElements/hero/config.yaml
Normal file
21
packages/base/ContentBlocks/ContentElements/hero/config.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: cloonar/hero
|
||||
typeName: cloonar_hero
|
||||
group: default
|
||||
prefixFields: true
|
||||
prefixType: full
|
||||
fields:
|
||||
-
|
||||
identifier: header
|
||||
useExistingField: true
|
||||
-
|
||||
identifier: bodytext
|
||||
type: Textarea
|
||||
enableRichtext: true
|
||||
useExistingField: true
|
||||
- identifier: image
|
||||
type: File
|
||||
properties:
|
||||
allowed: [jpg, jpeg, png, gif]
|
||||
useExistingField: true
|
||||
- identifier: imageorient
|
||||
useExistingField: true
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0"?>
|
||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<file datatype="plaintext" original="labels.xlf" source-language="en" date="2024-12-12T00:46:08+00:00" product-name="cloonar/hero">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="title">
|
||||
<source>Hero</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="description">
|
||||
<source>Description for Content Element cloonar/hero</source>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
@@ -0,0 +1,21 @@
|
||||
<html
|
||||
xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
<f:layout name="Preview"/>
|
||||
|
||||
<f:section name="Header">
|
||||
<be:link.editRecord uid="{data.uid}" table="{data.mainType}">{data.header}</be:link.editRecord>
|
||||
</f:section>
|
||||
|
||||
<f:section name="Content">
|
||||
Preview for Content Block: cloonar/hero
|
||||
</f:section>
|
||||
|
||||
<f:comment>
|
||||
<!-- Uncomment to override preview footer -->
|
||||
<f:section name="Footer">
|
||||
My custom Footer
|
||||
</f:section>
|
||||
</f:comment>
|
||||
@@ -0,0 +1,18 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
||||
xmlns:cb="http://typo3.org/ns/TYPO3/CMS/ContentBlocks/ViewHelpers"
|
||||
xmlns:bk2k="http://typo3.org/ns/BK2K/BootstrapPackage/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true">
|
||||
|
||||
<f:layout name="Default" />
|
||||
<f:section name="Main">
|
||||
|
||||
<f:asset.css identifier="hero" href="{cb:assetPath()}/frontend.css"/>
|
||||
<div class="textpic textpic-{data.imageorient}">
|
||||
<div class="textpic-item textpic-gallery">
|
||||
<f:image image="{data.image.0}" alt="Wobi" />
|
||||
</div>
|
||||
<div class="textpic-item textpic-text">
|
||||
<f:format.html>{data.bodytext}</f:format.html>
|
||||
</div>
|
||||
</div>
|
||||
</f:section>
|
||||
Reference in New Issue
Block a user