Skip to content

Commit

Permalink
Merge branch 'nevercodealone:main' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
rogoit authored Apr 29, 2024
2 parents 9a85523 + 498a532 commit 4e80482
Show file tree
Hide file tree
Showing 20 changed files with 204 additions and 3,111 deletions.
3 changes: 1 addition & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,8 @@ deploy_live:
- docker login -u $CI_REGISTRY_USER -p $CI_JOB_TOKEN $CI_REGISTRY
script:
- docker compose -f docker-compose.conversis.yml -p $SHORTCODE1 up -d --remove-orphans
- docker exec $SHORTCODE1-web chown www-data:www-data -R /var/www/html/var/
after_script:
- docker exec $SHORTCODE1-web rm -rf /var/www/html/var/cache/*
- docker exec $SHORTCODE1-web chown www-data:www-data -R /var/www/html/var/
environment:
name: live
url: https://$URL
Expand Down
18 changes: 12 additions & 6 deletions config/image-formats.xml
Original file line number Diff line number Diff line change
Expand Up @@ -192,16 +192,22 @@
<option name="png_compression_level">6</option>
</options>
</format>
<format key="content-full">
<meta>
<title lang="en">Content Full</title>
</meta>
<scale x="1200" y="675"/>
</format>
<format key="tailwind-training-overview-header">
<meta>
<title lang="en">Tailwind Training overview header</title>
</meta>
<scale x="912" />
</format>
<format key="tailwind-daisyui-training-overview-card">
<meta>
<title lang="en">Tailwind Daisy UI Training Overview Card</title>
</meta>
<scale x="200" y="280"/>
</format>
<format key="tailwind-daisyui-training-overview-card">
<meta>
<title lang="en">Tailwind Daisy UI Training Overview Card</title>
</meta>
<scale x="200" y="280"/>
</format>
</formats>
18 changes: 11 additions & 7 deletions config/templates/includes/tailwind/blocks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,28 @@
</meta>

<types>
<xi:include href="blocks/image.xml"
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
<xi:include href="blocks/hero.xml"
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
<xi:include href="blocks/hero-startpage.xml"
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
<xi:include href="blocks/introduction.xml"
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
<xi:include href="blocks/button.xml"
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
<xi:include href="blocks/cta-button.xml"
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
<xi:include href="blocks/feature.xml"
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
<xi:include href="blocks/formats.xml"
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
<xi:include href="blocks/team.xml"
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
<xi:include href="blocks/logo-gallery.xml"
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
<xi:include href="blocks/subpages-overview.xml"
xpointer="xmlns(sulu=http://schemas.sulu.io/template/template)xpointer(/sulu:properties/sulu:block/sulu:types/sulu:type)"/>
</types>
</block>
</properties>
25 changes: 25 additions & 0 deletions config/templates/includes/tailwind/blocks/image.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<properties xmlns="http://schemas.sulu.io/template/template"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xi="http://www.w3.org/2001/XInclude"
xsi:schemaLocation="http://schemas.sulu.io/template/template http://schemas.sulu.io/template/template-1.0.xsd">
<block name="blocks" default-type="image">
<!-- @see https://docs.sulu.io/en/2.1/reference/content-types/block.html -->
<types>
<type name="image">
<meta>
<title>Image</title>
</meta>
<properties>
<property name="image" type="media_selection" maxOccurs="1">
<meta>
<title>Bild</title>
</meta>
<params>
<param name="types" value="image"/>
</params>
</property>
</properties>
</type>
</types>
</block>
</properties>
37 changes: 37 additions & 0 deletions config/templates/includes/tailwind/blocks/subpages-overview.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<properties xmlns="http://schemas.sulu.io/template/template"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.sulu.io/template/template http://schemas.sulu.io/template/template-1.0.xsd">
<block name="blocks" default-type="subpages-overview">
<!-- @see https://docs.sulu.io/en/2.1/reference/content-types/block.html -->

<types>
<type name="subpages-overview">
<meta>
<title lang="en">Subpages overview</title>
<title lang="de">Unterseiten Übersicht</title>
</meta>
<properties>
<property name="items" type="smart_content">
<meta>
<title lang="en">Items</title>
</meta>
<params>
<param name="provider" value="pages"/>
<param name="max_per_page" value="50"/>
<param name="page_parameter" value="p"/>
<param name="properties" type="collection">
<param name="image" value="excerpt.images"/>
<param name="article" value="article"/>
<param name="url" value="url"/>
<param name="excerptTitle" value="excerpt.title"/>
<param name="excerptImages" value="excerpt.images"/>
<param name="excerptDescription" value="excerpt.description"/>
<param name="seoDescription" value="seo.description"/>
</param>
</params>
</property>
</properties>
</type>
</types>
</block>
</properties>
8 changes: 0 additions & 8 deletions cypress.config.ts

This file was deleted.

11 changes: 0 additions & 11 deletions cypress/e2e/startpage-valid-internal-urls.cy.ts

This file was deleted.

Empty file removed cypress/fixtures/.gitkeep
Empty file.
1 change: 0 additions & 1 deletion cypress/pages/BasePage.ts

This file was deleted.

3 changes: 0 additions & 3 deletions cypress/pages/StartPage.ts

This file was deleted.

24 changes: 0 additions & 24 deletions cypress/support/commands.ts

This file was deleted.

31 changes: 0 additions & 31 deletions cypress/support/e2e.ts

This file was deleted.

1 change: 0 additions & 1 deletion cypress/support/index.d.ts

This file was deleted.

Loading

0 comments on commit 4e80482

Please sign in to comment.