Last active
September 17, 2023 21:35
-
-
Save pedroblandim/6255d04e0bc44672f56926411bfa28f1 to your computer and use it in GitHub Desktop.
Simplify Liferay - Vídeo: Entendendo conteúdo web em 10 minutos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.container { | |
display: flex; | |
flex-direction: column; | |
border-radius: 15px; | |
padding: 25px; | |
align-items: flex-start; | |
} | |
.content-text { | |
margin: 0 200px; | |
} | |
.content-image { | |
max-width: 300px; | |
margin: auto; | |
} | |
.infos span { | |
color: #6b6c7e; | |
margin: 0 20px; | |
} | |
.infos span:first-child { | |
margin-left: 0; | |
} | |
.infos span:last-child { | |
margin-right: 0; | |
} | |
</style> | |
<div class="container"> | |
<h2> | |
Título | |
</h2> | |
<p> | |
Subtítulo | |
</p> | |
<div class="infos"> | |
<span> | |
Tipo da Notícia | |
</span> | |
| | |
<span> | |
Data | |
</span> | |
| | |
<span> | |
Nome do Autor | |
</span> | |
</div> | |
<div class="content"> | |
<div class="content-image"> | |
Imagem | |
</div> | |
<div class="content-text"> | |
Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet assumenda dolor | |
facere obcaecati nulla non unde nobis veritatis ea harum saepe iure doloremque quo ipsam, | |
voluptate quas minima velit neque. | |
</div> | |
</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"availableLanguageIds": [ | |
"pt_BR" | |
], | |
"contentType": "journal", | |
"dataDefinitionFields": [ | |
{ | |
"customProperties": { | |
"labelAtStructureLevel": true, | |
"confirmationErrorMessage": { | |
"pt_BR": "" | |
}, | |
"hideField": false, | |
"autocomplete": false, | |
"ddmDataProviderInstanceId": [], | |
"dataType": "string", | |
"tooltip": { | |
"pt_BR": "" | |
}, | |
"requireConfirmation": false, | |
"displayStyle": "singleline", | |
"fieldNamespace": "", | |
"requiredErrorMessage": { | |
"pt_BR": "" | |
}, | |
"visibilityExpression": "", | |
"objectFieldName": "", | |
"ddmDataProviderInstanceOutput": [], | |
"options": { | |
"pt_BR": [ | |
{ | |
"reference": "Opção85626342", | |
"label": "Opção", | |
"value": "Opção85626342" | |
} | |
] | |
}, | |
"nativeField": false, | |
"confirmationLabel": { | |
"pt_BR": "" | |
}, | |
"fieldReference": "CampoDeTexto16311050", | |
"placeholder": { | |
"pt_BR": "" | |
}, | |
"dataSourceType": "manual", | |
"direction": [ | |
"vertical" | |
] | |
}, | |
"defaultValue": { | |
"pt_BR": "" | |
}, | |
"fieldType": "text", | |
"indexType": "keyword", | |
"indexable": true, | |
"label": { | |
"pt_BR": "Título" | |
}, | |
"localizable": true, | |
"name": "CampoDeTexto16311050", | |
"nestedDataDefinitionFields": [], | |
"readOnly": false, | |
"repeatable": false, | |
"required": false, | |
"showLabel": true, | |
"tip": { | |
"pt_BR": "" | |
} | |
}, | |
{ | |
"customProperties": { | |
"labelAtStructureLevel": true, | |
"confirmationErrorMessage": { | |
"pt_BR": "" | |
}, | |
"hideField": false, | |
"autocomplete": false, | |
"ddmDataProviderInstanceId": [], | |
"dataType": "string", | |
"tooltip": { | |
"pt_BR": "" | |
}, | |
"requireConfirmation": false, | |
"displayStyle": "singleline", | |
"fieldNamespace": "", | |
"requiredErrorMessage": { | |
"pt_BR": "" | |
}, | |
"visibilityExpression": "", | |
"objectFieldName": "", | |
"ddmDataProviderInstanceOutput": [], | |
"options": { | |
"pt_BR": [ | |
{ | |
"reference": "Opção85626342", | |
"label": "Opção", | |
"value": "Opção85626342" | |
} | |
] | |
}, | |
"nativeField": false, | |
"confirmationLabel": { | |
"pt_BR": "" | |
}, | |
"fieldReference": "CampoDeTexto08764698", | |
"placeholder": { | |
"pt_BR": "" | |
}, | |
"dataSourceType": "manual", | |
"direction": [ | |
"vertical" | |
] | |
}, | |
"defaultValue": { | |
"pt_BR": "" | |
}, | |
"fieldType": "text", | |
"indexType": "keyword", | |
"indexable": true, | |
"label": { | |
"pt_BR": "Subtítulo" | |
}, | |
"localizable": true, | |
"name": "CampoDeTexto08764698", | |
"nestedDataDefinitionFields": [], | |
"readOnly": false, | |
"repeatable": false, | |
"required": false, | |
"showLabel": true, | |
"tip": { | |
"pt_BR": "" | |
} | |
}, | |
{ | |
"customProperties": { | |
"fieldNamespace": "", | |
"labelAtStructureLevel": true, | |
"requiredErrorMessage": { | |
"pt_BR": "" | |
}, | |
"visibilityExpression": "", | |
"objectFieldName": "", | |
"inline": true, | |
"dataType": "string", | |
"options": { | |
"pt_BR": [ | |
{ | |
"reference": "Esportes", | |
"label": "Esportes", | |
"value": "Opo37963223" | |
}, | |
{ | |
"reference": "Entretenimento", | |
"label": "Entretenimento", | |
"value": "Opo17835293" | |
}, | |
{ | |
"reference": "Poltica", | |
"label": "Política", | |
"value": "Opo67356118" | |
}, | |
{ | |
"reference": "Sade", | |
"label": "Saúde", | |
"value": "Opo84605034" | |
} | |
] | |
}, | |
"nativeField": false, | |
"fieldReference": "SeleoNica25701247" | |
}, | |
"defaultValue": { | |
"pt_BR": [] | |
}, | |
"fieldType": "radio", | |
"indexType": "keyword", | |
"indexable": true, | |
"label": { | |
"pt_BR": "Tipo da Notícia" | |
}, | |
"localizable": true, | |
"name": "SeleoNica25701247", | |
"nestedDataDefinitionFields": [], | |
"readOnly": false, | |
"repeatable": false, | |
"required": false, | |
"showLabel": true, | |
"tip": { | |
"pt_BR": "" | |
} | |
}, | |
{ | |
"customProperties": { | |
"fieldNamespace": "", | |
"labelAtStructureLevel": true, | |
"requiredErrorMessage": { | |
"pt_BR": "" | |
}, | |
"visibilityExpression": "", | |
"objectFieldName": "", | |
"dataType": "date", | |
"nativeField": false, | |
"fieldReference": "Data20959681" | |
}, | |
"defaultValue": { | |
"pt_BR": "" | |
}, | |
"fieldType": "date", | |
"indexType": "keyword", | |
"indexable": true, | |
"label": { | |
"pt_BR": "Data" | |
}, | |
"localizable": true, | |
"name": "Data20959681", | |
"nestedDataDefinitionFields": [], | |
"readOnly": false, | |
"repeatable": false, | |
"required": false, | |
"showLabel": true, | |
"tip": { | |
"pt_BR": "Data em que a notícia foi publicada" | |
} | |
}, | |
{ | |
"customProperties": { | |
"fieldNamespace": "", | |
"requiredErrorMessage": { | |
"pt_BR": "" | |
}, | |
"visibilityExpression": "", | |
"dataType": "string", | |
"fieldReference": "RichText90689682" | |
}, | |
"defaultValue": { | |
"pt_BR": "" | |
}, | |
"fieldType": "rich_text", | |
"indexType": "text", | |
"indexable": true, | |
"label": { | |
"pt_BR": "Conteúdo" | |
}, | |
"localizable": true, | |
"name": "RichText90689682", | |
"nestedDataDefinitionFields": [], | |
"readOnly": false, | |
"repeatable": false, | |
"required": false, | |
"showLabel": true, | |
"tip": { | |
"pt_BR": "" | |
} | |
}, | |
{ | |
"customProperties": { | |
"fieldNamespace": "", | |
"requiredErrorMessage": { | |
"pt_BR": "" | |
}, | |
"visibilityExpression": "", | |
"objectFieldName": "", | |
"dataType": "image", | |
"requiredDescription": true, | |
"fieldReference": "Imagem71412526" | |
}, | |
"defaultValue": { | |
"pt_BR": {} | |
}, | |
"fieldType": "image", | |
"indexType": "text", | |
"indexable": true, | |
"label": { | |
"pt_BR": "Imagem de capa" | |
}, | |
"localizable": true, | |
"name": "Imagem71412526", | |
"nestedDataDefinitionFields": [], | |
"readOnly": false, | |
"repeatable": false, | |
"required": false, | |
"showLabel": true, | |
"tip": { | |
"pt_BR": "" | |
} | |
}, | |
{ | |
"customProperties": { | |
"labelAtStructureLevel": true, | |
"confirmationErrorMessage": { | |
"pt_BR": "" | |
}, | |
"hideField": false, | |
"autocomplete": false, | |
"ddmDataProviderInstanceId": [], | |
"dataType": "string", | |
"tooltip": { | |
"pt_BR": "" | |
}, | |
"requireConfirmation": false, | |
"displayStyle": "singleline", | |
"fieldNamespace": "", | |
"requiredErrorMessage": { | |
"pt_BR": "" | |
}, | |
"visibilityExpression": "", | |
"objectFieldName": "", | |
"ddmDataProviderInstanceOutput": [], | |
"options": { | |
"pt_BR": [ | |
{ | |
"reference": "Opção85626342", | |
"label": "Opção", | |
"value": "Opção85626342" | |
} | |
] | |
}, | |
"nativeField": false, | |
"confirmationLabel": { | |
"pt_BR": "" | |
}, | |
"fieldReference": "CampoDeTexto26925954", | |
"placeholder": { | |
"pt_BR": "Escreva o nome do autor" | |
}, | |
"dataSourceType": "manual", | |
"direction": [ | |
"vertical" | |
] | |
}, | |
"defaultValue": { | |
"pt_BR": "" | |
}, | |
"fieldType": "text", | |
"indexType": "keyword", | |
"indexable": true, | |
"label": { | |
"pt_BR": "Autor" | |
}, | |
"localizable": true, | |
"name": "CampoDeTexto26925954", | |
"nestedDataDefinitionFields": [], | |
"readOnly": false, | |
"repeatable": false, | |
"required": false, | |
"showLabel": true, | |
"tip": { | |
"pt_BR": "" | |
} | |
} | |
], | |
"defaultDataLayout": { | |
"dataLayoutFields": {}, | |
"dataLayoutPages": [ | |
{ | |
"dataLayoutRows": [ | |
{ | |
"dataLayoutColumns": [ | |
{ | |
"columnSize": 12, | |
"fieldNames": [ | |
"CampoDeTexto16311050" | |
] | |
} | |
] | |
}, | |
{ | |
"dataLayoutColumns": [ | |
{ | |
"columnSize": 12, | |
"fieldNames": [ | |
"CampoDeTexto08764698" | |
] | |
} | |
] | |
}, | |
{ | |
"dataLayoutColumns": [ | |
{ | |
"columnSize": 12, | |
"fieldNames": [ | |
"SeleoNica25701247" | |
] | |
} | |
] | |
}, | |
{ | |
"dataLayoutColumns": [ | |
{ | |
"columnSize": 12, | |
"fieldNames": [ | |
"Data20959681" | |
] | |
} | |
] | |
}, | |
{ | |
"dataLayoutColumns": [ | |
{ | |
"columnSize": 12, | |
"fieldNames": [ | |
"RichText90689682" | |
] | |
} | |
] | |
}, | |
{ | |
"dataLayoutColumns": [ | |
{ | |
"columnSize": 12, | |
"fieldNames": [ | |
"Imagem71412526" | |
] | |
} | |
] | |
}, | |
{ | |
"dataLayoutColumns": [ | |
{ | |
"columnSize": 12, | |
"fieldNames": [ | |
"CampoDeTexto26925954" | |
] | |
} | |
] | |
} | |
], | |
"description": { | |
"pt_BR": "" | |
}, | |
"title": { | |
"pt_BR": "" | |
} | |
} | |
], | |
"dataRules": [], | |
"description": {}, | |
"name": { | |
"pt_BR": "Notícia" | |
}, | |
"paginationMode": "single-page" | |
}, | |
"defaultLanguageId": "pt_BR", | |
"description": {}, | |
"name": { | |
"pt_BR": "Notícia" | |
}, | |
"storageType": "default" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment