Skip to content

Commit

Permalink
Dev release 1
Browse files Browse the repository at this point in the history
  • Loading branch information
conpassione committed Dec 15, 2024
1 parent 9394d11 commit 57dc659
Show file tree
Hide file tree
Showing 15 changed files with 137 additions and 37 deletions.
8 changes: 8 additions & 0 deletions Configuration/TypoScript/Setup/C01-Page.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
page {
includeCSS {
zcpmk = EXT:cpkm/Resources/Public/Css/cpmkLayout.css
}
# includeCSS {
# globalcss = EXT:cpdevsite/Resources/Public/Css/Layout.css
# }
}
7 changes: 1 addition & 6 deletions Configuration/TypoScript/Setup/C02-Pageview.typoscript
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
# page.10 = PAGEVIEW
page.10 {
# Pfad zu den Fluid-Templates, kann überschrieben werden von anderer Extension
paths {
20 = EXT:cpkm/Resources/Private/Templates/
}
}

2 changes: 0 additions & 2 deletions Configuration/TypoScript/Setup/licensdoglist.typoscript
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


tt_content.licensdoglist {
dataProcessing {
200 = database-query
Expand Down
23 changes: 23 additions & 0 deletions ContentBlocks/ContentElements/Licensdoglist/language/fr.labels.xlf
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="fr" original="" datatype="plaintext" date="2024-12-03T23:27:28+01:00">
<body>
<trans-unit id="description" resname="description">
<source>List of active licensed Dogs</source>
<target>List des chien mâles d&#39;élevage</target>
</trans-unit>
<trans-unit id="header.label" resname="header.label">
<source>List Title</source>
<target>Titre de la liste</target>
</trans-unit>
<trans-unit id="l_page.label" resname="l_page.label">
<source>Dogs from page</source>
<target>Chiens de la page</target>
</trans-unit>
<trans-unit id="title" resname="title">
<source>Licensed Dog List</source>
<target>Chiens mâles d&#39;élevage</target>
</trans-unit>
</body>
</file>
</xliff>
23 changes: 23 additions & 0 deletions ContentBlocks/ContentElements/Licensdoglist/language/it.labels.xlf
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="it" original="" datatype="plaintext" date="2024-12-03T23:27:28+01:00">
<body>
<trans-unit id="description" resname="description">
<source>List of active licensed Dogs</source>
<target>Lista dei cervi in riproduzione</target>
</trans-unit>
<trans-unit id="header.label" resname="header.label">
<source>List Title</source>
<target>Titolo della lista</target>
</trans-unit>
<trans-unit id="l_page.label" resname="l_page.label">
<source>Dogs from page</source>
<target>Cani della pagina</target>
</trans-unit>
<trans-unit id="title" resname="title">
<source>Licensed Dog List</source>
<target>Cervi in riproduzione</target>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

<f:asset.css identifier="cplicdogs" href="{cb:assetPath()}/frontend.css" />

<f:debug>{_all}</f:debug>
<div class="cplicdogslist">
<f:if condition="{data.header}">
<f:cObject
Expand All @@ -20,9 +19,12 @@
<f:for as="dog" each="{licdogs}" iteration="i-licdogs">
<f:if condition="({variety} == {dog.data.p_variety}) && ({i-licdogs.index} == 0) "><h3 class="h3 licdogs--devider">Museau Normale</h3></f:if>
<f:if condition="({variety} == {dog.data.p_variety}) && ({i-licdogs.index} > 0) "></f:if>
<f:if condition="({variety} != {dog.data.p_variety})"><h3 class="h3 licdogs--devider">Face Rase</h3><f:variable name="variety">{dog.data.p_variety}</f:variable></f:if>
<div class="licdogscard">
<f:if condition="({variety} != {dog.data.p_variety})"><h3 class="h3 licdogs--devider">Face Rase</h3>
<f:variable name="variety">{dog.data.p_variety}</f:variable>
</f:if>
<div class="licdogscard" aria-label="Dogs">
<h3 class="licdogscard--header h3-font">{dog.data.p_name}</h3>
<p>{dog.data.p_birth_date}</p>
</div>
</f:for>
</f:then>
Expand Down
40 changes: 38 additions & 2 deletions Resources/Private/Sass/_settings.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
/* settings */
@layer cpmk {

@font-face {
font-family: 'Oxygen';
src: url('../Fonts/Oxygen/Oxygen-Light.woff2') format('woff2');
font-weight: 300;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Oxygen';
src: url('../Fonts/Oxygen/Oxygen-Bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Oxygen';
src: url('../Fonts/Oxygen/Oxygen-Regular.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}

:root {
// --clr-brand--primary: green;
--card-border-radius: 1rem !important;

--ff: 'Oxygen';
--ff-condensed: 'UbuntuCondensed';
--ff-serif: 'Oxygen';
--ff-h: 'Oxygen';
--ff-nav: 'Oxygen';
--ff-mono: 'UbuntuMono';
--ff-symbol: 'Symbols';
}

:root {
--clr-brand--primary: green;
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@use 'settings' as *;


21 changes: 0 additions & 21 deletions Resources/Private/Templates/Layouts/Layout-0.html

This file was deleted.

36 changes: 36 additions & 0 deletions Resources/Public/Css/cpmkLayout.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Resources/Public/Css/cpmkLayout.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Resources/Public/Fonts/Oxygen/Oxygen-Bold.woff2
Binary file not shown.
Binary file added Resources/Public/Fonts/Oxygen/Oxygen-Light.woff2
Binary file not shown.
Binary file not shown.
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@
"minimum-stability": "dev",
"prefer-stable" : true,
"require": {
"conpassione/cpdevsite": "^0.9",
"conpassione/cpdevsite": "dev-main#v1.0.0",
"typo3/cms-core": "^13"
},
"require-dev": {
},
"autoload": {
"psr-4": {
"Conpassione\\cpkm\\": "Classes"
Expand Down

0 comments on commit 57dc659

Please sign in to comment.