diff --git a/.gitignore b/.gitignore index 6e5293c..1d7efbc 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,9 @@ Icon # --------------- .lock +#Remove the next two line for real project repositories +composer.lock +package-lock.json # Editors # (sensitive workspace files) @@ -49,3 +52,18 @@ Icon /site/config/.license +# Vendor +# --------------- + +/vendor +/node_modules + +# Content +# --------------- + +/content + +# Compiled files +# --------------- + +/public/css \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..2c73ae4 --- /dev/null +++ b/package.json @@ -0,0 +1,18 @@ +{ + "name": "kirby-moin", + "version": "1.0.0", + "description": "Watch and build tailwindcss", + "scripts": { + "watch": "npx @tailwindcss/cli -i ./src/css/tailwind.css -o ./public/css/app.css --content './site/**/*.php' -w", + "build": "npx @tailwindcss/cli -i ./src/css/tailwind.css -o ./public/css/app.css --content './site/**/*.php' -m" + }, + "repository": { + "type": "git", + "url": "ssh://git@deichrakete.space/deichrakete/kirby-moin.git" + }, + "author": "Stephan Plöhn", + "license": "ISC", + "dependencies": { + "tailwindcss": "^4.1.12" + } +} diff --git a/site/snippets/layouts/main.php b/site/snippets/layouts/main.php new file mode 100644 index 0000000..b643d2f --- /dev/null +++ b/site/snippets/layouts/main.php @@ -0,0 +1,44 @@ + + + + +
+ +