init with kirby, vue and pagedjs interactive
This commit is contained in:
commit
dc0ae26464
968 changed files with 211706 additions and 0 deletions
0
public/site/accounts/index.html
Normal file
0
public/site/accounts/index.html
Normal file
21
public/site/blueprints/pages/default.yml
Normal file
21
public/site/blueprints/pages/default.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
title: Default Page
|
||||
|
||||
columns:
|
||||
main:
|
||||
width: 2/3
|
||||
sections:
|
||||
fields:
|
||||
type: fields
|
||||
fields:
|
||||
text:
|
||||
type: textarea
|
||||
size: huge
|
||||
sidebar:
|
||||
width: 1/3
|
||||
sections:
|
||||
pages:
|
||||
type: pages
|
||||
template: default
|
||||
files:
|
||||
type: files
|
||||
|
||||
5
public/site/blueprints/site.yml
Normal file
5
public/site/blueprints/site.yml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
title: Site
|
||||
|
||||
sections:
|
||||
pages:
|
||||
type: pages
|
||||
0
public/site/cache/index.html
vendored
Normal file
0
public/site/cache/index.html
vendored
Normal file
0
public/site/sessions/index.html
Normal file
0
public/site/sessions/index.html
Normal file
5
public/site/snippets/footer.php
Normal file
5
public/site/snippets/footer.php
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
</div> <!-- #app -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
29
public/site/snippets/header.php
Normal file
29
public/site/snippets/header.php
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>
|
||||
<?= e($page->isHomePage() != true, $page->title() . ' - ') . $site->title() ?>
|
||||
</title>
|
||||
|
||||
<link rel="stylesheet" href="<?= url('assets/style.css') ?>">
|
||||
|
||||
<!-- À SUPPRIMER EN PRODUCTION -->
|
||||
<meta name="robots" content="noindex, nofollow, noarchive">
|
||||
|
||||
<!-- APP -->
|
||||
<?php if (Dir::exists('assets/dist')): ?>
|
||||
<script type="module"
|
||||
src="<?= url('assets/dist/index.js') ?>" defer></script>
|
||||
<link rel="stylesheet"
|
||||
href="<?= url('assets/dist/index.css') ?>">
|
||||
<?php else: ?>
|
||||
<script type="module" src="http://localhost:5173/@vite/client" defer></script>
|
||||
<script type="module" src="http://localhost:5173/src/main.js" defer></script>
|
||||
<?php endif ?>
|
||||
</head>
|
||||
|
||||
<body data-template="<?= $page->template() ?>">
|
||||
<div id="app">
|
||||
0
public/site/snippets/index.html
Normal file
0
public/site/snippets/index.html
Normal file
1
public/site/templates/default.php
Normal file
1
public/site/templates/default.php
Normal file
|
|
@ -0,0 +1 @@
|
|||
<h1><?= $page->title() ?></h1>
|
||||
2
public/site/templates/home.php
Normal file
2
public/site/templates/home.php
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<?php snippet('header') ?>
|
||||
<?php snippet('footer') ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue