Initial commit

This commit is contained in:
philipp lang 2024-02-12 21:44:41 +01:00
commit 32d0b214c8
45 changed files with 2561 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.DS_Store
.idea
node_modules

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 Marco Messa
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

32
README.md Normal file
View File

@ -0,0 +1,32 @@
# Vite + TailwindCSS WinterCMS starter theme
![alt text](https://github.com/marcomessa/wn-vite-tailwind-theme/blob/main/vite-theme.jpg?raw=true)
Vite + TailwindCSS is a blank starter theme for WinterCMS powered by [Vite](https://vitejs.dev/) and [TailwindCSS](https://tailwindcss.com/). It includes a simple folder structure, postcss files already divided according to TailwindCSS directives and two npm scripts for development and production.
## Features
- use Vite for your frontend's assets
- TailwindCSS 3 ready
- crazy fast with a tiny node_modules folder
- browser autoreload with hot module replacement
- PostCSS ready with the following plugins:
- postcss-import
- tailwindcss-nesting
- autoprefixer
## Requirements
In order to work, the theme needs its sister plugin [**Vite**](https://github.com/marcomessa/wn-vite-plugin): the theme layout file already includes the reference to the necessary components, and will not work without first installing it
## Installation
1. require the theme: `composer require marcomessa/wn-vite-tailwind-theme`
2. require the plugin: `composer require marcomessa/wn-vite-plugin`
3. be sure plugin is installed: `php artisan plugin:refresh Marcomessa.Vite`
4. navigate to theme's folder: `cd <project-root>/themes/vite-tailwind`
5. install dependencies: `npm install` or `yarn install`
## Npm scripts
- development: `npm run dev`
- production: `npm run production`
## License
The MIT License (MIT). Please see [License File](https://github.com/marcomessa/wintercms-vite-tailwind-theme/blob/master/LICENSE) for more information.

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{q as r,o as a,V as o}from"./vendor.96758b95.js";r({Datepicker:a,Input:o},!0);

File diff suppressed because one or more lines are too long

16
build/manifest.json Normal file
View File

@ -0,0 +1,16 @@
{
"resources/js/app.js": {
"file": "assets/app.dbabec77.js",
"src": "resources/js/app.js",
"isEntry": true,
"imports": [
"_vendor.96758b95.js"
],
"css": [
"assets/app.aef28b3b.css"
]
},
"_vendor.96758b95.js": {
"file": "assets/vendor.96758b95.js"
}
}

18
composer.json Normal file
View File

@ -0,0 +1,18 @@
{
"name": "marcomessa/wn-vite-tailwind-theme",
"type": "winter-theme",
"description": "A starter blank theme powered by Vite and TailwindCSS",
"keywords": ["winter","vite", "tailwind", "tailwindcss", "starter", "blank", "theme"],
"license": "MIT",
"version": "1.0.4",
"authors": [
{
"name": "Marco Messa",
"role": "Maintainer"
}
],
"require": {
"php": ">=7.2",
"composer/installers": "~1.0"
}
}

View File

@ -0,0 +1,39 @@
[viewBag]
title = "Arbitrato"
url = "/arbitrato"
layout = "static"
is_hidden = 0
navigation_hidden = 0
sections[0][text] = "Arbitrato"
sections[0][image] = "/arbitrato-hero@2x-80.jpg"
sections[0][_group] = "title"
sections[1][title] = "Che cos'è?"
sections[1][text] = "<p>La Camera arbitrale è unassociazione dedita alla definizione e alla risoluzione delle controversie.</p>
<p>Riunisce persone altamente qualificate per competenza professionale, dirittura deontologica e garanzia di imparzialità.</p>
<p>Fornisce assistenza tecnica e logistica alle procedure di arbitrato con arbitri unici, arbitri in collegi o conciliatori su richiesta dei contendenti.</p>
<p>Custodisce un elenco di professionisti e professioniste designabili come arbitri (docenti universitari, magistrati/e in quiescenza, notai/ie). La designazione è affidata alla Presidenza su segnalazione di una Commissione costituita dal Comitato direttivo e composta di tre membri.</p>
<p>La Camera Arbitrale della Provincia di Pesaro Urbino è stata istituita nel Fuga. Experoreici aliaesc idelestem quis mi, cusam quibusci volorumenita dolestis nonse quiandit quis doluptas dolor sunderferia niantiosame denis re volum invelia sequidi officae mo quat accab ium ea dem faccus nimil endenis explam ullibus andebit laborporerum que moluptatis moditatus. Magnis dolorepta nonsed que si nis que sit exeres velicietus et hil moluptaquia et ratiunt etusdam, culla voluptur?</p>"
sections[1][image] = "/arbitrato-temp-1.jpg"
sections[1][image_position] = "left"
sections[1][_group] = "image_text"
sections[2][title] = "Arbitrato di stretto diritto e arbitrato secondo equità"
sections[2][text] = "<p>Per lart. 822 c.p.c. gli arbitri decidono secondo diritto. Per volontà delle parti può essere data autorizzazione a giudicare secondo equità.&nbsp;</p>
<p>Questo significa introdurre la facoltà di temperare il rigore della norma che tiene conto di interessi astratti quando essa nel caso concreto porterebbe a sacrificare interessi individuali in gioco, che il legislatore non ha potuto esplicitamente tutelare</p>"
sections[2][image] = "/arbitrato-temp-2.jpg"
sections[2][image_position] = "right"
sections[2][_group] = "image_text"
sections[3][title] = "Regolamento"
sections[3][text] = "<p>La Camera Arbitrale di Pesaro Urbino opera sulla base di un regolamento che ha la funzione di rendere certe le norme dei procedimenti garantendo il contraddittorio e la parità delle parti contendenti.</p>
<p>La rimessione della controversia alla Camera Arbitrale implica laccettazione del Regolamento che le parti dovranno esprimere.</p>
<p><a class=\"mmes-button\" href=\"#\">Consulta il regolamento</a></p>"
sections[3][image] = "/arbitrato-temp-2.jpg"
sections[3][image_position] = "left"
sections[3][_group] = "image_text"
==

View File

@ -0,0 +1,52 @@
[viewBag]
title = "Camera arbitrale"
url = "/camera-arbitrale"
layout = "static"
is_hidden = 0
navigation_hidden = 0
sections[0][text] = "Camera
arbitrale"
sections[0][image] = "/title-camera-arbitrale@2x-80.jpg"
sections[0][_group] = "title"
sections[1][title] = "Storia della camera arbitrale"
sections[1][text] = "<p>Bea qui odia quam ipsam rem qui dem unduntion reperor asseque deliqui berepuditae nullate pore volupta tectia dis eum si odi res mo qui volorernamus volupta tatem.</p>
<p>Et hit quidus, idus ipsum ero beremqu oditatur si cuptaspid ut assequis que duscillo eruptae. Caectur alit eum aut estias ra nia pa que nobis explique dunt quia dem fuga. Et veri vendio inullor erumet abore planti aut lam, occus doluptatiur, sum hitiscia ea que imagniamet modione nonsed ut que verfero eos re exerers pelibust volorpossit,
<br>et, andi bla seque quas molor se que quo bea dionsequae est facerem quam et, officia adicidu ciatem ernam et hilles qui odic to vel iliquid maximinvel ipsapit fugia nem nis quo doluptate nonsequunt.</p>
<p>Fersped maximin veliquistet dolupta tiatquae pelliquia et quatur aut fugia venda eos sunt.
<br>Uteces que di ommoditem fugiani cullenet faccum ra perro officab orecull aborae voluptatur aut eturit, cuptatur, cum audae. Is enihiciatus eatusandias ea dionseque
<br>desectaturio corrore molorem olorehentiis sed que pos atiis elitatia nos quis eturem volumet ligendae nis maioribeat ex explatenimus et ipiendanda cullaborit voloratiis eaque latiantiam ant eost am, ut atectur ionsequos ipsantio modisim illanditat aut eat ipiendus, in coritatium asin expla corum labore voluptias eum dolupicimos as maio eseque eium se volluptatem idit am faci dolorib ernatem et harum asime volorep eriorporeped et eiciendam, idi dit ut quo et, sint, quibeaq uissum num fuga.</p>
<p>&nbsp;Itate exceaqui dolupid ernate cusandel ipsae. Nam re is reium rem alia cor accum reius.
<br>Adis ilia quis diae moluptat fugia volorrore venest, sed que vel molori te si nia prepele ndaepta tiunture est exceaquia velibus totatur sam qui rem quunt</p>"
sections[1][_group] = "simple_text"
sections[2][title] = "Mediazione e risoluzione delle controversie"
sections[2][text] = "<p>La Camera arbitrale è unassociazione dedita alla definizione e alla risoluzione delle controversie.</p>
<p>Riunisce persone altamente qualificate per competenza professionale, dirittura deontologica e garanzia di imparzialità.</p>
<p>Fornisce assistenza tecnica e logistica alle procedure di arbitrato con arbitri unici, arbitri in collegi o conciliatori su richiesta dei contendenti.</p>
<p>Custodisce un elenco di professionisti e professioniste designabili come arbitri (docenti universitari, magistrati/e in quiescenza, notai/ie). La designazione è
<br>affidata alla Presidenza su segnalazione di una Commissione costituita dal Comitato direttivo e composta di tre membri.</p>
<p>La Camera Arbitrale della Provincia di Pesaro Urbino è stata istituita nelFuga. Experoreici aliaesc idelestem quis mi, cusam quibusci volorumenita dolestis nonse quiandit quis doluptas dolor sunderferia niantiosame denis re volum invelia sequidi officae mo quat accab ium ea dem faccus nimil endenis explam ullibus andebit laborporerum que moluptatis moditatus. Magnis dolorepta nonsed que si nis que sit exeres velicietus et hil moluptaquia et ratiunt etusdam, culla voluptur?</p>"
sections[2][image] = "/text-image-right@2x-80.jpg"
sections[2][image_position] = "left"
sections[2][_group] = "image_text"
sections[3][title] = "Mediazione e risoluzione delle controversie"
sections[3][text] = "<p>La Camera arbitrale è unassociazione dedita alla definizione e alla risoluzione delle controversie.</p>
<p>Riunisce persone altamente qualificate per competenza professionale, dirittura deontologica e garanzia di imparzialità.</p>
<p>Fornisce assistenza tecnica e logistica alle procedure di arbitrato con arbitri unici, arbitri in collegi o conciliatori su richiesta dei contendenti.</p>
<p>Custodisce un elenco di professionisti e professioniste designabili come arbitri (docenti universitari, magistrati/e in quiescenza, notai/ie). La designazione è
<br>affidata alla Presidenza su segnalazione di una Commissione costituita dal Comitato direttivo e composta di tre membri.</p>
<p>La Camera Arbitrale della Provincia di Pesaro Urbino è stata istituita nelFuga. Experoreici aliaesc idelestem quis mi, cusam quibusci volorumenita dolestis nonse quiandit quis doluptas dolor sunderferia niantiosame denis re volum invelia sequidi officae mo quat accab ium ea dem faccus nimil endenis explam ullibus andebit laborporerum que moluptatis moditatus. Magnis dolorepta nonsed que si nis que sit exeres velicietus et hil moluptaquia et ratiunt etusdam, culla voluptur?</p>"
sections[3][image] = "/text-image-right@2x-80.jpg"
sections[3][image_position] = "right"
sections[3][_group] = "image_text"
==

View File

@ -0,0 +1,27 @@
[viewBag]
title = "Come funziona"
url = "/come-funziona"
layout = "static"
is_hidden = 0
navigation_hidden = 0
sections[0][text] = "Come funziona"
sections[0][image] = "/come-funziona-hero@2x-80.jpg"
sections[0][_group] = "title"
sections[1][title] = "Procedimento"
sections[1][text] = "<p>Bea qui odia quam ipsam rem qui dem unduntion reperor asseque deliqui berepuditae nullate pore volupta tectia dis eum si odi res mo qui volorernamus volupta tatem.
<br>Et hit quidus, idus ipsum ero beremqu oditatur si cuptaspid ut assequis que duscillo eruptae. Caectur alit eum aut estias ra nia pa que nobis explique dunt quia dem fuga.
<br>Et veri vendio inullor erumet abore planti aut lam, occus doluptatiur, sum hitiscia ea que imagniamet modione nonsed ut que verfero eos re exerers pelibust volorpossit, et, andi bla seque quas molor se que quo bea dionsequae est facerem quam et, officia adicidu ciatem ernam et hilles qui odic to vel iliquid maximinvel ipsapit fugia nem nisquo doluptate nonsequunt.
<br>Fersped maximin veliquistet dolupta tiatquae pelliquia et quatur aut fugia venda eos sunt.
<br>Uteces que di ommoditem fugiani cullenet faccum ra perro officab orecull aborae voluptatur aut eturit, cuptatur, cum audae. Is enihiciatus eatusandias ea dionseque
<br>desectaturio corrore molorem olorehentiis sed que pos atiis elitatia nos quis eturem volumet ligendae nis maioribeat ex explatenimus et ipiendanda cullaborit voloratiis
<br>eaque latiantiam ant eost am, ut atectur ionsequos ipsantio modisim illanditat aut eat ipiendus, in coritatium asin expla corum labore voluptias eum dolupicimos as maio eseque eium se volluptatem idit am faci dolorib ernatem et harum asime volorep eriorporeped et eiciendam, idi dit ut quo et, sint, quibeaq uissum num fuga. Itate exceaqui dolupid ernate cusandel ipsae. Nam re is reium rem alia cor accum reius.
<br>Adis ilia quis diae moluptat fugia volorrore venest, sed que vel molori te si nia prepele ndaepta tiunture est exceaquia velibus totatur sam qui rem quunt latemquo</p>"
sections[1][_group] = "simple_text"
sections[2][title] = "Lodo"
sections[2][text] = "<p>Per lart. 822 c.p.c. gli arbitri decidono secondo diritto. Per volontà delle parti può essere data autorizzazione a giudicare secondo equità.</p>
<p>Questo significa introdurre la facoltà di temperare il rigore della norma che tiene conto di interessi astratti quando essa nel caso concreto porterebbe a sacrificare interessi individuali in gioco, che il legislatore non ha potuto esplicitamente tutelare</p>"
sections[2][image] = "/lodo@2x-80.jpg"
sections[2][image_position] = "left"
sections[2][_group] = "image_text"
==

View File

@ -0,0 +1,7 @@
[viewBag]
title = "Contatti"
url = "/contatti"
layout = "static"
is_hidden = 0
navigation_hidden = 0
==

View File

@ -0,0 +1,7 @@
[viewBag]
title = "Organi amministrativi"
url = "/organi-amministrativi"
layout = "static"
is_hidden = 0
navigation_hidden = 0
==

View File

@ -0,0 +1,24 @@
[viewBag]
title = "Pipp"
url = "/pipp"
layout = "static"
is_hidden = 0
navigation_hidden = 0
sections[0][text] = "Titolo
qui"
sections[0][image] = "/arbitrato-hero@2x-80.jpg"
sections[0][_group] = "title"
sections[1][title] = "titolo"
sections[1][text] = "<p>Bea qui odia quam ipsam rem qui dem unduntion reperor asseque deliqui berepuditae nullate pore volupta tectia dis eum si odi res mo qui volorernamus volupta tatem. Et hit quidus, idus ipsum ero beremqu oditatur si cuptaspid ut assequis que duscillo eruptae. Caectur alit eum aut estias ra nia pa que nobis explique dunt quia dem fuga. Et veri vendio inullor erumet abore planti aut lam, occus doluptatiur, sum hitiscia ea que imagniamet modione nonsed ut que verfero eos re exerers pelibust volorpossit, et, andi bla seque quas molor se que quo bea dionsequae est facerem quam et, officia adicidu ciatem ernam et hilles qui odic to vel iliquid maximinvel ipsapit fugia nem nis quo doluptate nonsequunt. Fersped maximin veliquistet dolupta tiatquae pelliquia et quatur aut fugia venda eos sunt.&nbsp;</p>
<h4><strong>GIT QUI DOLLORERSPIT ALICTAS&nbsp;</strong></h4>
<p>Uteces que di ommoditem fugiani cullenet faccum ra perro officab orecull aborae voluptatur aut eturit, cuptatur, cum audae. Is enihiciatus eatusandias ea dionseque desectaturio corrore molorem olorehentiis sed que pos atiis elitatia nos quis eturem volumet ligendae nis maioribeat ex explatenimus et ipiendanda cullaborit voloratiis eaque latiantiam ant eost am, ut atectur ionsequos ipsantio modisim illanditat aut eat ipiendus, in coritatium asin expla corum labore voluptias eum dolupicimos as maio eseque eium se volluptatem idit am faci dolorib ernatem et harum asime volorep eriorporeped et eiciendam, idi dit ut quo et, sint, quibeaq uissum num fuga. Itate exceaqui dolupid ernate cusandel ipsae. Nam re is reium rem alia cor accum reius. Adis ilia quis diae moluptat fugia volorrore venest, sed que vel molori te si nia prepele ndaepta tiunture est exceaquia velibus totatur sam qui rem quunt latemquo temquasitem. Nemolor itatur sediam qui quia volore sendis exerro evenis utatur, endaestora ant.&nbsp;</p>
<h4><strong>GIT QUI DOLLORERSPIT ALICTAS&nbsp;</strong></h4>
<p>Git qui dollorerspit alictas incid es sum essit quo et estor accum, et perspid mod quod quam quidebitiam nonsendi cus nullation cum id quodigendae nullaccum nitatiaAcepel modist aritemp elloren imporep editiorit qui cus. Riatur santio cus sim lia vitate dolorest vent ommo te qui utati ressundantur sit alit, volupicia volo opti dolore, sim velis vid quam nihiliquunt a aut harchil ipsapit, quibus sitisinum es am harchic ienturibus que vellenis et volupta perum essimenis dites nulpa conse porendae. Officia nobit, sam faccaep udaerspe sit, ipictorunt ommoluptis corem illabo. Consequos moleceriti omnis cument ipsantotam simaio opta doluptiis aruntibus. Um dolorum et dendi nimet harum quam elenda assusam, omnis es es il ist qui ni rest volupta temperi bernatius magnis poriatque explaborrore et fugit volest, occumquo cum soluptatus con prata est voloreperum nobisquistem et acearum volum cuptam volum idenis dero ersped ut aperro et untisciet fugias eum etur as ipsam, sam idebis doluptur accum quae dolupta ectoreped mint, corpore puditiusciae di omnimpo ratquidercia doluptiissum volorem volore, comniatus eatat evendit quis es eate mo quatur? Ciate ilis cum veles moloria conem quatio eos et acestrum qui rent et odis cus consequas enia quist, ipsuntio bearuptati audam, qui coneces doluptas dem</p>
<p><img src=\"/storage/app/media/image-bottom@2x-80.jpg\" class=\"fr-fic fr-dib\"></p>"
sections[1][_group] = "simple_text"
==

View File

@ -0,0 +1,23 @@
[viewBag]
title = "Regolamento"
url = "/regolamento"
layout = "static"
is_hidden = 0
navigation_hidden = 0
sections[0][text] = "Regolamento"
sections[0][image] = "/regolamento-hero@2x-80.jpg"
sections[0][_group] = "title"
sections[1][title] = "Procedimento"
sections[1][text] = "<p>Bea qui odia quam ipsam rem qui dem unduntion reperor asseque deliqui berepuditae nullate pore volupta tectia dis eum si odi res mo qui volorernamus volupta tatem. Et hit quidus, idus ipsum ero beremqu oditatur si cuptaspid ut assequis que duscillo eruptae. Caectur alit eum aut estias ra nia pa que nobis explique dunt quia dem fuga. Et veri vendio inullor erumet abore planti aut lam, occus doluptatiur, sum hitiscia ea que imagniamet modione nonsed ut que verfero eos re exerers pelibust volorpossit, et, andi bla seque quas molor se que quo bea dionsequae est facerem quam et, officia adicidu ciatem ernam et hilles qui odic to vel iliquid maximinvel ipsapit fugia nem nis quo doluptate nonsequunt. Fersped maximin veliquistet dolupta tiatquae pelliquia et quatur aut fugia venda eos sunt.&nbsp;</p>
<h4><strong>GIT QUI DOLLORERSPIT ALICTAS </strong></h4>
<p>Uteces que di ommoditem fugiani cullenet faccum ra perro officab orecull aborae voluptatur aut eturit, cuptatur, cum audae. Is enihiciatus eatusandias ea dionseque desectaturio corrore molorem olorehentiis sed que pos atiis elitatia nos quis eturem volumet ligendae nis maioribeat ex explatenimus et ipiendanda cullaborit voloratiis eaque latiantiam ant eost am, ut atectur ionsequos ipsantio modisim illanditat aut eat ipiendus, in coritatium asin expla corum labore voluptias eum dolupicimos as maio eseque eium se volluptatem idit am faci dolorib ernatem et harum asime volorep eriorporeped et eiciendam, idi dit ut quo et, sint, quibeaq uissum num fuga. Itate exceaqui dolupid ernate cusandel ipsae. Nam re is reium rem alia cor accum reius. Adis ilia quis diae moluptat fugia volorrore venest, sed que vel molori te si nia prepele ndaepta tiunture est exceaquia velibus totatur sam qui rem quunt latemquo temquasitem. Nemolor itatur sediam qui quia volore sendis exerro evenis utatur, endaestora ant.&nbsp;</p>
<h4><strong>GIT QUI DOLLORERSPIT ALICTAS </strong></h4>
<p>Git qui dollorerspit alictas incid es sum essit quo et estor accum, et perspid mod quod quam quidebitiam nonsendi cus nullation cum id quodigendae nullaccum nitatiaAcepel modist aritemp elloren imporep editiorit qui cus. Riatur santio cus sim lia vitate dolorest vent ommo te qui utati ressundantur sit alit, volupicia volo opti dolore, sim velis vid quam nihiliquunt a aut harchil ipsapit, quibus sitisinum es am harchic ienturibus que vellenis et volupta perum essimenis dites nulpa conse porendae. Officia nobit, sam faccaep udaerspe sit, ipictorunt ommoluptis corem illabo. Consequos moleceriti omnis cument ipsantotam simaio opta doluptiis aruntibus. Um dolorum et dendi nimet harum quam elenda assusam, omnis es es il ist qui ni rest volupta temperi bernatius magnis poriatque explaborrore et fugit volest, occumquo cum soluptatus con prata est voloreperum nobisquistem et acearum volum cuptam volum idenis dero ersped ut aperro et untisciet fugias eum etur as ipsam, sam idebis doluptur accum quae dolupta ectoreped mint, corpore puditiusciae di omnimpo ratquidercia doluptiissum volorem volore, comniatus eatat evendit quis es eate mo quatur? Ciate ilis cum veles moloria conem quatio eos et acestrum qui rent et odis cus consequas enia quist, ipsuntio bearuptati audam, qui coneces doluptas dem</p>
<p><img src=\"/storage/app/media/image-bottom%402x-80.jpg\" class=\"fr-fic fr-dib\"></p>"
sections[1][_group] = "simple_text"
==

View File

@ -0,0 +1,7 @@
[viewBag]
title = "Tariffe"
url = "/tariffe"
layout = "static"
is_hidden = 0
navigation_hidden = 0
==

11
layouts/base.htm Normal file
View File

@ -0,0 +1,11 @@
[headAssets]
==
<!doctype html>
<html lang="it">
{% partial 'shared/head' %}
<body class="font-sans dark">
{% partial 'shared/header' %}
{% page %}
{% partial 'shared/footer' %}
</body>
</html>

18
layouts/static.htm Normal file
View File

@ -0,0 +1,18 @@
[headAssets]
==
{variable name="sections" type="repeater" prompt="Add another section" tab="Contenuto Extra"
groups="$/mmes/cameraarbitrale/staticpages/repeater_fields.yaml"}{/variable}
<!doctype html>
<html lang="it">
{% partial 'shared/head' %}
<body class="font-sans bg-gray-100">
{% partial 'shared/header' %}
{% for section in sections %}
{% partial 'staticblocks/' ~ section._group section=section %}
{% endfor %}
{% partial 'shared/footer' %}
</body>
</html>

1825
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

30
package.json Normal file
View File

@ -0,0 +1,30 @@
{
"name": "vite-theme",
"version": "1.0.0",
"description": "Vite Theme",
"main": "index.js",
"directories": {
"test": "tests"
},
"scripts": {
"dev": "vite",
"production": "vite build"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"autoprefixer": "^10.4.0",
"postcss": "^8.4.4",
"postcss-import": "^14.0.2",
"tailwindcss": "latest",
"vite": "^2.7.1",
"vite-plugin-live-reload": "^2.1.0"
},
"dependencies": {
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.0",
"dotenv": "^10.0.0",
"tw-elements": "^1.1.0"
}
}

36
pages/homepage.htm Normal file
View File

@ -0,0 +1,36 @@
title = "Homepage"
url = "/"
layout = "base"
is_hidden = 0
[anfrage]
==
<div class="relative">
<img src="https://place-hold.it/1920x450" />
<div class="absolute top-0 w-full left-0 flex justify-center">
<div class="flex justify-center items-center mt-10 rounded-full border-2 border-gray-900 text-xl font-bold overflow-hidden">
<a class="bg-gray-400 text-gray-800 hover:text-gray-900 py-4 px-6 hover:bg-gray-500 transition duration-400" href="#ablauf">Ablauf</a>
<a class="bg-gray-400 text-gray-800 hover:text-gray-900 py-4 px-6 hover:bg-gray-500 transition duration-400" href="#buchen">Buchungsanfrage</a>
<a class="bg-gray-400 text-gray-800 hover:text-gray-900 py-4 px-6 hover:bg-gray-500 transition duration-400" href="#faq">FAQ</a>
</div>
</div>
<section class="py-10 comtainer mx-auto">
{% partial 'heading' title="Ablauf" %}
<div class="px-6">
{% partial 'listelement' title="Anfragen" number="1" content='Fülle das folgende <a href="#buchen">Formular</a> aus und sende uns so eine Buchungsanfrage.' %}
{% partial 'listelement' title="Rückmeldung" number="2" content='Wir melden uns innerhalb von einigen Tagen per E-Mail bei dir und senden dir ein Vertragsdokument als PDF zu.' %}
{% partial 'listelement' title="Bestätigung" number="3" content='Sende uns den Vertrag unterschrieben per Post zurück.' %}
{% partial 'listelement' title="Bezahlung" number="4" content='Überweise den fälligen Betrag (lt. Vertrag) an uns' %}
{% partial 'listelement' title="Übergabe" number="5" content='Ein Ansprechpartner wird sich 1-2 Wochen vor der Veranstaltung bei dir melden und einen Termin für die Schlüsselübergabe vereinbaren. Diese erfolgt i.d.R. 1-2 Tage vor der Veranstaltung. Bitte bringe hier die vereinbarte Kaution in Bar mit.' %}
{% partial 'listelement' title="Nach der Party: Abnahme durch den Ansprechpartner" number="6" content='Einen Tag nach der Party übergibst du die Schlüssel zurück an den Ansprechpartner und erhälst (sofern alles korrekt hinterlassen wurde) deine Kaution zurück.' %}
</div>
</section>
<section class="py-10 container mx-auto">
{% partial 'heading' title="Anfrage" %}
{% component 'anfrage' %}
</section>
</div>

View File

@ -0,0 +1,41 @@
<div
class="relative mb-3"
data-te-datepicker-init
data-te-format="dd, mmm, yyyy"
data-te-input-wrapper-init>
<input
type="text"
class="peer block min-h-[auto] w-full rounded border-0 bg-transparent px-3 py-[0.32rem] leading-[1.6] outline-none transition-all duration-200 ease-linear focus:placeholder:opacity-100 peer-focus:text-primary data-[te-input-state-active]:placeholder:opacity-100 motion-reduce:transition-none dark:text-neutral-200 dark:placeholder:text-neutral-200 dark:peer-focus:text-primary [&:not([data-te-input-placeholder-active])]:placeholder:opacity-0"
placeholder="Select a date" />
<label
for="floatingInput"
class="pointer-events-none absolute left-3 top-0 mb-0 max-w-[90%] origin-[0_0] truncate pt-[0.37rem] leading-[1.6] text-neutral-500 transition-all duration-200 ease-out peer-focus:-translate-y-[0.9rem] peer-focus:scale-[0.8] peer-focus:text-primary peer-data-[te-input-state-active]:-translate-y-[0.9rem] peer-data-[te-input-state-active]:scale-[0.8] motion-reduce:transition-none dark:text-neutral-200 dark:peer-focus:text-primary"
>Select a date</label
>
</div>
<form data-request="anfrage::onSubmit" data-request-flash class="grid grid-cols-[max-content_1fr] gap-x-6 gap-y-2">
<span>Vorname</span>
<input type="text" name="firstname" class="border-gray-700 border-2" />
<span>Nachname</span>
<input type="text" name="lastname" class="border-gray-700 border-2" />
<span>Telefonnummer</span>
<input type="text" name="phone" class="border-gray-700 border-2" />
<span>E-Mail-Adressse</span>
<input type="text" name="email" class="border-gray-700 border-2" />
<span>Grund für die Feier</span>
<input type="text" name="reason" class="border-gray-700 border-2" />
<span>Wie viele Gäste werden erwartet</span>
<input type="text" name="guests" class="border-gray-700 border-2" />
<span>Was du sonst noch loswerden willst</span>
<textarea name="misc" rows="5" class="border-gray-700 border-2"></textarea>
<span>Gewünschtes Datum</span>
<div class="flex justify-center col-span-full">
<button class="py-3 px-6 rounded bg-gray-600 text-xl font-bold text-gray-300" type="submit">Absenden</button>
</div>
</form>

1
partials/heading.htm Normal file
View File

@ -0,0 +1 @@
<h1 class="font-bold text-center text-3xl">{{title}}</h1>

9
partials/listelement.htm Normal file
View File

@ -0,0 +1,9 @@
<div class="mt-3">
<div class="flex items-center">
<div class="flex-none bg-gray-900 text-white w-12 h-12 flex items-center justify-center rounded-full text-2xl">{{number}}</div>
<div class="ml-5">
<div class="text-2xl">{{title}}</div>
<div class="text-xl"> {{ content | raw }} </div>
</div>
</div>
</div>

View File

@ -0,0 +1,9 @@
[viewBag]
==
{# Your footer goes here #}
{% scripts %}
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
{% framework extras %}

12
partials/shared/head.htm Normal file
View File

@ -0,0 +1,12 @@
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400&family=Lato:wght@300;400&display=swap" rel="stylesheet">
<title>Vite + TailwindCSS Theme</title>
{% styles %}
{% component 'headAssets' %}
</head>

View File

@ -0,0 +1 @@
{# Your header goes here #}

View File

@ -0,0 +1,22 @@
{% set imageLeft = section.image_position == 'left' %}
<div class="section-simple_text mt-10 md:mt-20">
<div class="container">
<div class="flex flex-wrap -mx-4 overflow-hidden">
<div class="w-full {{ imageLeft ? 'justify-end'}} flex">
<div class="w-full md:w-1/2 px-4">
<h2 class="text-5xl uppercase font-serif pb-5 border-b border-black leading-none">
{{ section.title }}
</h2>
</div>
</div>
<div class="w-full md:w-1/2 px-4 {{ imageLeft ? 'md:order-2' }}">
<div class="prose prose max-w-none mt-5">
{{ section.text|raw }}
</div>
</div>
<div class="w-full md:w-1/2 px-4 flex items-center mt-5 md:mt-0 {{ not imageLeft ? 'justify-end'}} {{ imageLeft ? 'md:order-1' }}">
<img class="w-full md:w-4/5" src="{{ section.image|media }}" alt="{{ section.title }}">
</div>
</div>
</div>
</div>

View File

@ -0,0 +1,12 @@
<div class="section-simple_text mt-10 md:mt-20">
<div class="container">
<div class="flex flex-col">
<h2 class="text-5xl uppercase font-serif pb-5 border-b border-black leading-none">
{{ section.title }}
</h2>
<div class="prose prose max-w-none mt-5">
{{ section.text|raw }}
</div>
</div>
</div>
</div>

View File

@ -0,0 +1,10 @@
<div class="section-title py-8 h-72 bg-gray-500 bg-blend-multiply text-white font-serif bg-cover bg-center"
style="background-image: url({{ section.image|media }})">
<div class="container h-full">
<div class="flex h-full items-end">
<div class="w-full md:w-1/2">
<h1 class="text-white text-7xl uppercase leading-none">{{ section.text|nl2br }}</h1>
</div>
</div>
</div>
</div>

View File

@ -0,0 +1,5 @@
{% if __SELF__.menuItems %}
<ul class="flex -mx-4">
{% partial __SELF__ ~ "::items" items=__SELF__.menuItems %}
</ul>
{% endif %}

View File

@ -0,0 +1,15 @@
{% for item in items if not item.viewBag.isHidden %}
<li role="presentation" class="{{ item.isActive ? 'active underline' : '' }} {{ item.isChildActive ? 'child-active underline' : '' }} {{ item.viewBag.cssClass }} text-lg hover:underline px-4">
{% if item.url %}
<a href="{{ item.url }}" {{ item.viewBag.isExternal ? 'target="_blank"' }}>
{{ item.title }}
</a>
{% else %}
<span>{{ item.title }}</span>
{% endif %}
{% if item.items %}
<ul>{% partial __SELF__ ~ "::items" items=item.items %}</ul>
{% endif %}
</li>
{% endfor %}

8
postcss.config.js Normal file
View File

@ -0,0 +1,8 @@
module.exports = {
plugins: [
require('postcss-import'),
require('tailwindcss/nesting'),
require('tailwindcss'),
require('autoprefixer'),
]
}

View File

View File

View File

View File

@ -0,0 +1 @@
@tailwind base;

View File

@ -0,0 +1 @@
@tailwind components;

View File

@ -0,0 +1 @@
@tailwind utilities;

8
resources/css/app.css Normal file
View File

@ -0,0 +1,8 @@
@import '_tailwind-base.css';
/*@import "_custom-base-styles.css";*/
@import '_tailwind-components.css';
/*@import '_custom-components.css';*/
@import '_tailwind-utilities.css';
/*@import "_custom-utilities.css";*/

4
resources/js/app.js Normal file
View File

@ -0,0 +1,4 @@
import "../css/app.css";
import { Datepicker, Input, initTE } from "tw-elements";
initTE({ Datepicker, Input }, true);

10
tailwind.config.js Normal file
View File

@ -0,0 +1,10 @@
module.exports = {
content: ["./**/*.htm", "./node_modules/tw-elements/dist/js/**/*.js"],
theme: {
extend: {},
},
plugins: [
require("@tailwindcss/forms"),
require("tw-elements/dist/plugin.cjs"),
],
};

5
theme.yaml Normal file
View File

@ -0,0 +1,5 @@
name: 'Vite Theme'
description: 'Blank theme for Vite based development'
author: 'Marco Messa'
homepage: ''
code: ''

BIN
vite-theme.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

33
vite.config.js Normal file
View File

@ -0,0 +1,33 @@
const Dotenv = require('dotenv')
import liveReload from 'vite-plugin-live-reload'
Dotenv.config();
const ASSET_URL = process.env.ASSET_URL || 'http://localhost:3000';
const VITE_INPUT = process.env.VITE_INPUT || 'resources/js/app.js';
export default ({command}) => {
return {
base: command === 'serve' ? '' : '/build/',
/*base: `${ASSET_URL}`,*/
publicDir: 'fake_dir_so_nothing_gets_copied',
build: {
manifest: true,
outDir: 'build',
rollupOptions: {
input: `${VITE_INPUT}`
},
},
server: {
strictPort: true,
port: 3000,
},
resolve: {
extensions: ['.js','.mjs']
},
plugins: [
liveReload('./**/*.htm'),
]
}
};