Skip to content

Commit

Permalink
Merge branch 'release/1.0.0' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieu2607 committed Oct 4, 2023
2 parents 40d6a28 + cf33bf8 commit 44c759b
Show file tree
Hide file tree
Showing 17 changed files with 4,754 additions and 4 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Kirby Customizable Layout code review

on:
push:
branches: ["main", "develop"]
pull_request:
branches: ["main", "develop"]

jobs:
review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
with:
extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite, mysql, zip

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --no-interaction --no-progress

- name: Check for vulnerabilities
uses: symfonycorp/security-checker-action@v4

- name: Run Easy Coding Standard
run: vendor/bin/ecs check
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

## IDE and system
.DS_Store
.idea
.project
.settings
config.codekit

## libs
/bower_components/
/node_modules/

## kirby
/website/panel/
/website/kirby/
/website/site/cache/
/website/thumbs/
/kirby/

/vendor/
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Kirby Button plugin

![GitHub release (with filter)](https://img.shields.io/github/v/release/Pixel-Open/kirby-customizable-layout?style=for-the-badge)
[![Dependency](https://img.shields.io/badge/kirby-4.x-cca000.svg?style=for-the-badge)](https://getkirby.com/)

A plugin for [Kirby CMS](http://getkirby.com) to add a customizable layout fields

## Commercial Usage
Expand All @@ -10,20 +13,20 @@ This plugin is free

### Download

[Download the files](hhttps://github.com/Pixel-Open/customizable-layout/releases) and place them inside `site/plugins/customizable-layout`.
[Download the files](hhttps://github.com/Pixel-Open/kirby-customizable-layout/releases) and place them inside `site/plugins/customizable-layout`.

### Composer

```
composer require pixelopen/customizable-layout
composer require pixelopen/kirby-customizable-layout
```

### Git Submodule

You can add the plugin as a Git submodule.

$ cd your/project/root
$ git submodule add https://github.com/Pixel-Open/customizable-layout.git site/plugins/customizable-layout
$ git submodule add https://github.com/Pixel-Open/kirby-customizable-layout.git site/plugins/customizable-layout
$ git submodule update --init --recursive
$ git commit -am "Add Kirby Customizable Layout plugin"

Expand Down Expand Up @@ -97,4 +100,4 @@ Moreover, you need to adjust the color panel in `tailwind.config.js` according t
## Precisions

The plugin is still in construction, you may experience errors or graphic problems in your frontend
For now, the plugin is intended to work in a container of 1280px for wide screen.
For now, the plugin is intended to work in a container of 1280px for wide screen.

0 comments on commit 44c759b

Please sign in to comment.