Merge demo/main
1
building-static-websites-sculpin/demo/.envrc
Normal file
|
@ -0,0 +1 @@
|
|||
use flake
|
18
building-static-websites-sculpin/demo/.gitignore
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/.phpunit.result.cache
|
||||
/output_*/
|
||||
/vendor/
|
||||
|
||||
/.direnv/
|
||||
|
||||
/source/build/*
|
||||
!/source/build/.keep
|
||||
|
||||
# Devenv
|
||||
.devenv*
|
||||
devenv.local.nix
|
||||
|
||||
# direnv
|
||||
.direnv
|
||||
|
||||
# pre-commit
|
||||
.pre-commit-config.yaml
|
12
building-static-websites-sculpin/demo/.tmux-sessionizer
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
export PATH="${PATH}:./vendor"
|
||||
|
||||
tmux new-window -dn shell
|
||||
tmux new-window -dn server
|
||||
|
||||
tmux send-keys -t server "sculpin generate --server --watch" Enter
|
||||
|
||||
xdg-open http://localhost:8000
|
||||
|
||||
nvim
|
|
@ -0,0 +1,7 @@
|
|||
sculpin_content_types:
|
||||
# speakers:
|
||||
# permalink: /speakers/:basename/
|
||||
# talks:
|
||||
# permalink: /talks/:basename/
|
||||
posts:
|
||||
enabled: false
|
|
@ -0,0 +1,2 @@
|
|||
name: 'My New Sculpin Site'
|
||||
locale: en
|
|
@ -0,0 +1,2 @@
|
|||
imports:
|
||||
- sculpin_site.yml
|
10
building-static-websites-sculpin/demo/composer.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"require": {
|
||||
"sculpin/sculpin": "^3.0"
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
"sculpin/sculpin-theme-composer-plugin": true
|
||||
}
|
||||
}
|
||||
}
|
3607
building-static-websites-sculpin/demo/composer.lock
generated
Normal file
27
building-static-websites-sculpin/demo/flake.lock
generated
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1740828860,
|
||||
"narHash": "sha256-cjbHI+zUzK5CPsQZqMhE3npTyYFt9tJ3+ohcfaOF/WM=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "303bd8071377433a2d8f76e684ec773d70c5b642",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
22
building-static-websites-sculpin/demo/flake.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
devShells.${system}.default =
|
||||
with pkgs;
|
||||
mkShell {
|
||||
buildInputs = [
|
||||
php83
|
||||
php83Packages.composer
|
||||
];
|
||||
};
|
||||
|
||||
formatters.${system} = pkgs.nixfmt-rfc-style;
|
||||
};
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ site.locale|default('en') }}">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ site.name|default('Sculpin Skeleton') }}</title>
|
||||
<link rel="stylesheet" href="/css/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
{% block content_wrapper %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,5 @@
|
|||
{% extends 'base' %}
|
||||
|
||||
{% block content_wrapper %}
|
||||
<h1>{{ page.name }}</h1>
|
||||
{% endblock %}
|
|
@ -0,0 +1,5 @@
|
|||
{% extends 'base' %}
|
||||
|
||||
{% block content_wrapper %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
{% endblock %}
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
name: Ciaran McNulty
|
||||
imageUrl: /images/ciaran.jpg
|
||||
---
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
name: Dan Leech
|
||||
imageUrl: /images/highres_257208698.jpeg
|
||||
---
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
name: Dave Liddament
|
||||
imageUrl: /images/highres_203797572.jpeg
|
||||
---
|
||||
|
||||
Director and Developer at Lamp Bristol. PHP, Java and Python software developer.
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
name: Derick Rethans
|
||||
imageUrl: /images/highres_276685584.jpeg
|
||||
---
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
name: James Titcumb
|
||||
imageUrl: /images/highres_134740252.jpeg
|
||||
---
|
||||
|
||||
James is the founder of the UK based PHP Hampshire user group, a Zend Certified Engineer and Development Manager at Protected.co.uk.
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
name: Mike Karthauser
|
||||
imageUrl: /images/highres_80709042.jpeg
|
||||
---
|
||||
|
||||
Dev since '98. PHP since '03.
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
name: Naomi Gotts
|
||||
imageUrl: /images/highres_311941362.jpeg
|
||||
---
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
name: Nigel Dunn
|
||||
imageUrl: /images/highres_131268052.jpeg
|
||||
---
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
name: Oliver Davies
|
||||
imageUrl: /images/highres_317091329.jpeg
|
||||
---
|
||||
|
||||
Full Stack Software Consultant. Drupal and PHP expert.
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
name: Rob Allen
|
||||
imageUrl: /images/highres_312615346.jpeg
|
||||
---
|
||||
|
||||
PHP developer from Worcester.
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
name: Robin Hodson
|
||||
imageUrl: /images/highres_243972257.jpeg
|
||||
---
|
||||
|
||||
Ready to look for coding/hardware work post-lockdown, now largely recovered from stressful experiences. Accepted work from the government in September/October; currently realigning goals plus getting things I've been working on a bit more tangible.
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
name: Ryan Lee
|
||||
imageUrl: /images/highres_273691940.jpeg
|
||||
---
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Behaviour Driven Development (BDD) in Practice
|
||||
date: 2022-09-14
|
||||
speakers:
|
||||
- Ciaran McNulty
|
||||
---
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Building "Build Configs"
|
||||
date: 2023-11-08
|
||||
speakers:
|
||||
- Oliver Davies
|
||||
---
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Introducing Domain Driven Design
|
||||
date: 2024-01-10
|
||||
speakers:
|
||||
- Rob Allen
|
||||
---
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: 'FPGA^2: An open-source FPGA'
|
||||
date: 2024-02-14
|
||||
speakers:
|
||||
- Robin Hodson
|
||||
---
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Go for PHP
|
||||
date: 2023-02-08
|
||||
speakers:
|
||||
- Dan Leech
|
||||
---
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: What's new in PHP 8.*
|
||||
date: 2023-02-11
|
||||
speakers:
|
||||
- Derick Rethans
|
||||
---
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Building Static Websites with PHP and Sculpin
|
||||
date: 2024-02-14
|
||||
speakers:
|
||||
- Oliver Davies
|
||||
---
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: What is TDD and why should I care?
|
||||
date: 2023-07-12
|
||||
speakers:
|
||||
- Naomi Gotts
|
||||
---
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Terraform from a dev’s perspective
|
||||
date: 2023-10-11
|
||||
speakers:
|
||||
- Nigel Dunn
|
||||
---
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Testing Legacy
|
||||
date: 2023-11-08
|
||||
speakers:
|
||||
- Mike Karthauser
|
||||
---
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Building Better TUIs (with PHP)
|
||||
date: 2023-11-08
|
||||
speakers:
|
||||
- Dan Leech
|
||||
---
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Thoughts on Ubiquitous Language
|
||||
date: 2023-11-08
|
||||
speakers:
|
||||
- Rob Allen
|
||||
---
|
|
@ -0,0 +1,5 @@
|
|||
.container {
|
||||
margin: 0 auto;
|
||||
max-width: 768px;
|
||||
padding: 0 1rem;
|
||||
}
|
BIN
building-static-websites-sculpin/demo/source/images/ciaran.jpg
Normal file
After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 9.5 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 1.7 MiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 758 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 154 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 794 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 7.2 KiB |
4
building-static-websites-sculpin/demo/source/index.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
layout: base
|
||||
title: Hello, World!
|
||||
---
|