Skip to content

Commit 87c81c9

Browse files
committed
initial
0 parents  commit 87c81c9

File tree

27 files changed

+632
-0
lines changed

27 files changed

+632
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Build and Deploy with Toucan
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
- '[0-9]*'
8+
9+
jobs:
10+
deploy-page:
11+
uses: toucansites/github-workflows/.github/workflows/deploy.yml@main
12+
with:
13+
target: "live"
14+
permissions:
15+
contents: read
16+
pages: write
17+
id-token: write

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.DS_Store
2+
dist/

.vscode/settings.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"cSpell.words": [
3+
"associatedtype",
4+
"Bödecs",
5+
"deinit",
6+
"Deinitialization",
7+
"discardable",
8+
"Existentials",
9+
"failable",
10+
"fclose",
11+
"fileprivate",
12+
"fopen",
13+
"fputs",
14+
"initalizer",
15+
"initalizers",
16+
"inout",
17+
"Kitti",
18+
"memberwise",
19+
"Subrange",
20+
"Takács",
21+
"Tibi",
22+
"typealias",
23+
"variadics"
24+
],
25+
"mcp": {
26+
"inputs": [],
27+
"servers": {
28+
29+
}
30+
}
31+
}

Makefile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
SHELL=/bin/bash
2+
3+
# brew install optipng jpegoptim
4+
5+
dev:
6+
toucan generate
7+
8+
dist:
9+
toucan generate --target live
10+
11+
watch:
12+
toucan watch -s 3
13+
14+
serve:
15+
toucan serve -p 3000
16+
17+
png:
18+
find ./* -type f -name '*.png' -exec optipng -o7 {} \;
19+
20+
jpg:
21+
find ./* -type f -name '*.jpg' | xargs jpegoptim --all-progressive '*.jpg'

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Learn To Code Using Swift
2+
3+
[Learn To Code Using Swift](https://learntocodeusingswift.com/)

assets/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
learntocodeusingswift.com

blocks/column.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: column
2+
parameters:
3+
- label: class
4+
default: ""
5+
requiresParentDirective: grid
6+
7+
tag: div
8+
attributes:
9+
- name: class
10+
value: "column {{class}}"

blocks/grid.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: grid
2+
parameters:
3+
- label: desktop
4+
default: "2"
5+
- label: tablet
6+
default: "2"
7+
- label: mobile
8+
default: "1"
9+
- label: class
10+
default: ""
11+
#requiresParentDirective: faq
12+
#output: "<div>{{contents}} - {{desktop}}</div>"
13+
tag: div
14+
attributes:
15+
- name: class
16+
value: "grid grid-{{desktop}}{{tablet}}{{mobile}} {{class}}"

contents/404/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: "Not found"
3+
description: "Page not found"
4+
type: not-found
5+
---
6+
7+
# Not found
8+
9+
This page does not exists.
10+
11+
[Back to home](/)

contents/[home]/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
#title: ""
3+
description: ""
4+
views:
5+
html: pages.home
6+
---
7+
8+
# Learn To Code Using Swift

0 commit comments

Comments
 (0)