@sp-days-framework/create-sp-days 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +318 -0
- package/bin/index.js +86 -0
- package/lib/index.d.ts +20 -0
- package/lib/index.js +454 -0
- package/package.json +41 -0
- package/sp-days-framework-create-sp-days-1.0.0.tgz +0 -0
- package/templates/addon-resources/resources/frontpage-collection/components/Columns.mdx +191 -0
- package/templates/addon-resources/resources/frontpage-collection/components/ContentBlock.mdx +126 -0
- package/templates/addon-resources/resources/frontpage-collection/components/CourseFeature.mdx +147 -0
- package/templates/addon-resources/resources/frontpage-collection/components/FancyHeader.mdx +76 -0
- package/templates/addon-resources/resources/frontpage-collection/components/GetStarted.mdx +222 -0
- package/templates/addon-resources/resources/frontpage-collection/components/HeroBanner.mdx +205 -0
- package/templates/addon-resources/resources/frontpage-collection/components/IconContainer.mdx +249 -0
- package/templates/addon-resources/resources/frontpage-collection/components/Iconify.mdx +228 -0
- package/templates/addon-resources/resources/frontpage-collection/components/_category_.yml +2 -0
- package/templates/addon-resources/resources/frontpage-collection/index.mdx +85 -0
- package/templates/addon-resources/resources/frontpage-collection/setup/index.mdx +185 -0
- package/templates/addon-resources/resources/index.mdx +35 -0
- package/templates/addon-resources/resources/interactive-tasks/creating-tasks.mdx +292 -0
- package/templates/addon-resources/resources/interactive-tasks/examples/_category_.yml +3 -0
- package/templates/addon-resources/resources/interactive-tasks/examples/advanced-usage.mdx +304 -0
- package/templates/addon-resources/resources/interactive-tasks/examples/basic-usage.mdx +128 -0
- package/templates/addon-resources/resources/interactive-tasks/index.mdx +93 -0
- package/templates/addon-resources/resources/interactive-tasks/setup/advanced-configuration.mdx +150 -0
- package/templates/addon-resources/resources/interactive-tasks/setup/index.mdx +174 -0
- package/templates/addon-resources/resources/interactive-tasks/task-progression.mdx +140 -0
- package/templates/addon-resources/resources/slidev-integration/index.mdx +106 -0
- package/templates/addon-resources/resources/slidev-integration/setup/advanced-configuration.mdx +144 -0
- package/templates/addon-resources/resources/slidev-integration/setup/index.mdx +200 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/index.mdx +105 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/_category_.yml +2 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/content/_category_.yml +2 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/content/center.mdx +33 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/content/default.mdx +59 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/content/full.mdx +49 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/image/_category_.yml +2 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/image/image-left.mdx +37 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/image/image-right.mdx +37 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/image/image.mdx +56 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/multi-column/_category_.yml +2 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/multi-column/three-cols-header.mdx +49 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/multi-column/three-cols.mdx +47 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/multi-column/two-cols-header.mdx +43 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/multi-column/two-cols.mdx +38 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/section/_category_.yml +2 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/section/cover.mdx +43 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/section/end.mdx +33 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/section/intro.mdx +49 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/section/section.mdx +41 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/special/_category_.yml +2 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/special/about-me.mdx +92 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/special/fact.mdx +47 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/special/quote.mdx +27 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/layouts/special/statement.mdx +28 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/setup/advanced-configuration.mdx +79 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/setup/index.mdx +104 -0
- package/templates/addon-resources/resources/sykehuspartner-theme/syntax-and-icons.mdx +89 -0
- package/templates/addon-slidev/package.json +54 -0
- package/templates/addon-slidev/slidev/creating-your-first-slidev.md +301 -0
- package/templates/addon-slidev/slidev/slidev-theme-sykehuspartner.md +403 -0
- package/templates/page-course/README.md +152 -0
- package/templates/page-course/course/index.mdx +7 -0
- package/templates/page-course/course/placeholder-advanced-usage.mdx +304 -0
- package/templates/page-course/course/placeholder-basic-usage.mdx +128 -0
- package/templates/page-course/docusaurus.config.ts +171 -0
- package/templates/page-course/example-github-pages.yml +66 -0
- package/templates/page-course/gitignore +20 -0
- package/templates/page-course/package.json +51 -0
- package/templates/page-course/src/css/sp-days-theme.scss +297 -0
- package/templates/page-course/src/pages/index.mdx +165 -0
- package/templates/page-course/static/.nojekyll +0 -0
- package/templates/page-course/static/img/favicon-navbar/github.svg +3 -0
- package/templates/page-course/static/img/favicon-navbar/sorost-logo-dark.svg +24 -0
- package/templates/page-course/static/img/favicon-navbar/sorost-logo-light.svg +24 -0
- package/templates/page-course/static/img/footer/sykehuspartner-dark.svg +37 -0
- package/templates/page-course/static/img/footer/sykehuspartner-light.svg +37 -0
- package/templates/page-course/static/img/sidebar/docusaurus.svg +17 -0
- package/templates/page-course/static/img/sidebar/slidev.svg +22 -0
- package/templates/page-course/static/img/sp-days-logo-color-dark.svg +70 -0
- package/templates/page-course/static/img/sp-days-logo-color-light.svg +70 -0
- package/templates/page-course/static/img/sp-days-logo-filled-invert.svg +11 -0
- package/templates/page-course/static/img/sp-days-logo-filled.svg +11 -0
- package/templates/page-course/static/img/sp-days-logo-outline.svg +19 -0
- package/templates/page-course/static/img/sp-days-plugin-color-dark.svg +57 -0
- package/templates/page-course/static/img/sp-days-plugin-color-light.svg +53 -0
- package/templates/page-course/tsconfig.json +8 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Two Cols Header
|
|
3
|
+
description: Two columns with spanning header
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Two Cols Header Layout
|
|
7
|
+
|
|
8
|
+
Two equal columns with a header that spans both columns.
|
|
9
|
+
|
|
10
|
+
## Parameters
|
|
11
|
+
|
|
12
|
+
| Parameter | Type | Default | Description |
|
|
13
|
+
|-----------|------|---------|-------------|
|
|
14
|
+
| `logo` | boolean | `true` | Show/hide logo |
|
|
15
|
+
| `textAlignment` | string | `'center'` | Content vertical alignment |
|
|
16
|
+
|
|
17
|
+
## Basic Example
|
|
18
|
+
|
|
19
|
+
```markdown
|
|
20
|
+
---
|
|
21
|
+
layout: two-cols-header
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
# Deployment Comparison
|
|
25
|
+
|
|
26
|
+
::left::
|
|
27
|
+
|
|
28
|
+
## Manual Process
|
|
29
|
+
- SSH into servers
|
|
30
|
+
- Copy files manually
|
|
31
|
+
- Restart services
|
|
32
|
+
- Hope for the best
|
|
33
|
+
- Rollback is hard
|
|
34
|
+
|
|
35
|
+
::right::
|
|
36
|
+
|
|
37
|
+
## Automated CI/CD
|
|
38
|
+
- Git push triggers pipeline
|
|
39
|
+
- Automated tests
|
|
40
|
+
- Container builds
|
|
41
|
+
- Zero-downtime deploy
|
|
42
|
+
- Easy rollback
|
|
43
|
+
```
|
package/templates/addon-resources/resources/sykehuspartner-theme/layouts/multi-column/two-cols.mdx
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Two Cols
|
|
3
|
+
description: Two equal-width columns
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Two Cols Layout
|
|
7
|
+
|
|
8
|
+
Split content into two equal columns for comparisons, lists, or parallel information.
|
|
9
|
+
|
|
10
|
+
## Parameters
|
|
11
|
+
|
|
12
|
+
| Parameter | Type | Default | Description |
|
|
13
|
+
|-----------|------|---------|-------------|
|
|
14
|
+
| `logo` | boolean | `false` | Show/hide logo |
|
|
15
|
+
|
|
16
|
+
## Basic Example
|
|
17
|
+
|
|
18
|
+
```markdown
|
|
19
|
+
---
|
|
20
|
+
layout: two-cols
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# Traditional VMs
|
|
24
|
+
|
|
25
|
+
- Heavy resource usage
|
|
26
|
+
- Slow boot times
|
|
27
|
+
- OS overhead
|
|
28
|
+
- Complex management
|
|
29
|
+
|
|
30
|
+
::right::
|
|
31
|
+
|
|
32
|
+
# Containers
|
|
33
|
+
|
|
34
|
+
- Lightweight
|
|
35
|
+
- Fast startup
|
|
36
|
+
- Shared OS kernel
|
|
37
|
+
- Simple orchestration
|
|
38
|
+
```
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Cover
|
|
3
|
+
description: Title slide layout with banner for starting presentations
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Cover Layout
|
|
7
|
+
|
|
8
|
+
The `cover` layout is designed for the title slide of your presentation. It features centered content with the Sykehuspartner banner at the bottom.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
- First slide of your presentation
|
|
13
|
+
- Major presentation milestones
|
|
14
|
+
- Conference or workshop title slides
|
|
15
|
+
|
|
16
|
+
## Parameters
|
|
17
|
+
|
|
18
|
+
| Parameter | Type | Default | Description |
|
|
19
|
+
|-----------|------|---------|-------------|
|
|
20
|
+
| `logo` | boolean | `true` | Show/hide the banner at the bottom |
|
|
21
|
+
|
|
22
|
+
## Basic Example
|
|
23
|
+
|
|
24
|
+
```markdown
|
|
25
|
+
---
|
|
26
|
+
layout: cover
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
# Docker Fundamentals
|
|
30
|
+
## A Hands-on Workshop
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## With Banner Hidden
|
|
34
|
+
|
|
35
|
+
```markdown
|
|
36
|
+
---
|
|
37
|
+
layout: cover
|
|
38
|
+
logo: false
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
# Minimalist Title
|
|
42
|
+
## No banner version
|
|
43
|
+
```
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: End
|
|
3
|
+
description: Closing slide layout with centered banner
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# End Layout
|
|
7
|
+
|
|
8
|
+
The `end` layout is designed for the final slide of your presentation. It features centered content with the Sykehuspartner banner positioned in the center.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
- Final slide of presentation
|
|
13
|
+
- Thank you slides
|
|
14
|
+
- Q&A slides
|
|
15
|
+
- Closing remarks
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
|
|
19
|
+
| Parameter | Type | Default | Description |
|
|
20
|
+
|-----------|------|---------|-------------|
|
|
21
|
+
| `logo` | boolean | `true` | Show/hide the banner |
|
|
22
|
+
|
|
23
|
+
## Basic Example
|
|
24
|
+
|
|
25
|
+
```markdown
|
|
26
|
+
---
|
|
27
|
+
layout: end
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# Thank You!
|
|
31
|
+
|
|
32
|
+
## Questions?
|
|
33
|
+
```
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Intro
|
|
3
|
+
description: Introduction slide with optional side image
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Intro Layout
|
|
7
|
+
|
|
8
|
+
The `intro` layout is designed for introduction slides with an optional side image and banner at the bottom.
|
|
9
|
+
|
|
10
|
+
## Parameters
|
|
11
|
+
|
|
12
|
+
| Parameter | Type | Default | Description |
|
|
13
|
+
|-----------|------|---------|-------------|
|
|
14
|
+
| `imageSrc` | string | - | Image URL or path |
|
|
15
|
+
| `imagePosition` | string | `'right'` | Position: `'left'` or `'right'` |
|
|
16
|
+
| `imageRatio` | string | `'40%'` | Image width percentage |
|
|
17
|
+
| `imageSize` | string | `'80%'` | Image scale |
|
|
18
|
+
| `enableLogo` | boolean | `true` | Show/hide banner |
|
|
19
|
+
|
|
20
|
+
## Basic Example
|
|
21
|
+
|
|
22
|
+
```markdown
|
|
23
|
+
---
|
|
24
|
+
layout: intro
|
|
25
|
+
imageSrc: /logo.png
|
|
26
|
+
imagePosition: right
|
|
27
|
+
imageRatio: 40%
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# Module Introduction
|
|
31
|
+
|
|
32
|
+
## What You'll Learn
|
|
33
|
+
|
|
34
|
+
An overview of this section
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Without Image
|
|
38
|
+
|
|
39
|
+
```markdown
|
|
40
|
+
---
|
|
41
|
+
layout: intro
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
# Welcome
|
|
45
|
+
|
|
46
|
+
## Getting Started with Containers
|
|
47
|
+
|
|
48
|
+
Your journey begins here
|
|
49
|
+
```
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Section
|
|
3
|
+
description: Section divider with logo and optional image
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Section Layout
|
|
7
|
+
|
|
8
|
+
The `section` layout is used to divide your presentation into distinct sections, similar to chapter breaks.
|
|
9
|
+
|
|
10
|
+
## Parameters
|
|
11
|
+
|
|
12
|
+
| Parameter | Type | Default | Description |
|
|
13
|
+
|-----------|------|---------|-------------|
|
|
14
|
+
| `image` | string | - | Optional background/side image |
|
|
15
|
+
| `logo` | boolean | `true` | Show/hide logo |
|
|
16
|
+
| `titleLine` | boolean | `true` | Show/hide decorative underline |
|
|
17
|
+
|
|
18
|
+
## Basic Example
|
|
19
|
+
|
|
20
|
+
```markdown
|
|
21
|
+
---
|
|
22
|
+
layout: section
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
# Module 2
|
|
26
|
+
## Advanced Docker Concepts
|
|
27
|
+
|
|
28
|
+
Networking, volumes, and multi-stage builds
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## With Image
|
|
32
|
+
|
|
33
|
+
```markdown
|
|
34
|
+
---
|
|
35
|
+
layout: section
|
|
36
|
+
image: /docker-logo.png
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
# Container Orchestration
|
|
40
|
+
## Scaling Your Applications
|
|
41
|
+
```
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: About Me
|
|
3
|
+
description: Personal introduction and profile layout
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# About Me Layout
|
|
7
|
+
|
|
8
|
+
The `about-me` layout is designed for introducing speakers, instructors, or team members. It supports profile images and detailed information in a professional format.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
- Speaker introductions
|
|
13
|
+
- Instructor profiles
|
|
14
|
+
- Team member presentations
|
|
15
|
+
- Personal bio slides
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
|
|
19
|
+
| Parameter | Type | Default | Description |
|
|
20
|
+
|-----------|------|---------|-------------|
|
|
21
|
+
| `name` | string | - | Person's full name |
|
|
22
|
+
| `jobTitle` | string | - | Job title or role |
|
|
23
|
+
| `department` | string | - | Department or team (optional) |
|
|
24
|
+
| `description` | string | - | Brief bio or description |
|
|
25
|
+
| `email` | string | - | Email address (optional) |
|
|
26
|
+
| `linkedin` | string | - | LinkedIn username (optional) |
|
|
27
|
+
| `imageSrc` | string | - | Profile photo URL |
|
|
28
|
+
| `imageShape` | string | `'rectangle'` | Shape: `'circle'` or `'rectangle'` |
|
|
29
|
+
| `imageSize` | string | `'100%'` | Image size percentage |
|
|
30
|
+
| `imagePosition` | string | `'right'` | Position: `'left'` or `'right'` |
|
|
31
|
+
| `logo` | boolean | `false` | Show/hide logo |
|
|
32
|
+
|
|
33
|
+
## Basic Example (Image Right)
|
|
34
|
+
|
|
35
|
+
```markdown
|
|
36
|
+
---
|
|
37
|
+
layout: about-me
|
|
38
|
+
name: Jane Developer
|
|
39
|
+
jobTitle: "Senior DevOps Engineer"
|
|
40
|
+
department: "Cloud Platform Team"
|
|
41
|
+
description: "Specialist in container technologies with 10 years of experience in cloud-native solutions"
|
|
42
|
+
email: "jane.developer@example.com"
|
|
43
|
+
linkedin: "janedev"
|
|
44
|
+
imageSrc: /jane-profile.jpg
|
|
45
|
+
imageShape: circle
|
|
46
|
+
imagePosition: right
|
|
47
|
+
---
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Image on Left
|
|
51
|
+
|
|
52
|
+
```markdown
|
|
53
|
+
---
|
|
54
|
+
layout: about-me
|
|
55
|
+
name: John Smith
|
|
56
|
+
jobTitle: "Docker Expert"
|
|
57
|
+
department: "Infrastructure Team"
|
|
58
|
+
description: "Passionate about automation and infrastructure as code"
|
|
59
|
+
email: "john.smith@example.com"
|
|
60
|
+
imageSrc: /john-profile.jpg
|
|
61
|
+
imageShape: circle
|
|
62
|
+
imagePosition: left
|
|
63
|
+
---
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Without Image
|
|
67
|
+
|
|
68
|
+
```markdown
|
|
69
|
+
---
|
|
70
|
+
layout: about-me
|
|
71
|
+
name: Alex Johnson
|
|
72
|
+
jobTitle: "Kubernetes Architect"
|
|
73
|
+
description: "Cloud native enthusiast and open source contributor"
|
|
74
|
+
email: "alex@example.com"
|
|
75
|
+
linkedin: "alexj"
|
|
76
|
+
---
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Rectangle Image
|
|
80
|
+
|
|
81
|
+
```markdown
|
|
82
|
+
---
|
|
83
|
+
layout: about-me
|
|
84
|
+
name: Maria Garcia
|
|
85
|
+
jobTitle: "DevOps Lead"
|
|
86
|
+
description: "Leading teams to adopt containerization and modern deployment practices"
|
|
87
|
+
imageSrc: /maria.jpg
|
|
88
|
+
imageShape: rectangle
|
|
89
|
+
imageSize: 85%
|
|
90
|
+
imagePosition: left
|
|
91
|
+
---
|
|
92
|
+
```
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Fact
|
|
3
|
+
description: Emphasize key statistics and facts
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Fact Layout
|
|
7
|
+
|
|
8
|
+
The `fact` layout is designed to emphasize important statistics, numbers, or key facts. Content is vertically centered for maximum impact.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
- Highlighting statistics
|
|
13
|
+
- Emphasizing key numbers
|
|
14
|
+
- Important facts or findings
|
|
15
|
+
- Data-driven points
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
|
|
19
|
+
| Parameter | Type | Default | Description |
|
|
20
|
+
|-----------|------|---------|-------------|
|
|
21
|
+
| `logo` | boolean | `true` | Show/hide the logo |
|
|
22
|
+
|
|
23
|
+
## Basic Example
|
|
24
|
+
|
|
25
|
+
```markdown
|
|
26
|
+
---
|
|
27
|
+
layout: fact
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# 95%
|
|
31
|
+
|
|
32
|
+
## of Fortune 500 companies use containers
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## With Context
|
|
36
|
+
|
|
37
|
+
```markdown
|
|
38
|
+
---
|
|
39
|
+
layout: fact
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
# 10x Faster
|
|
43
|
+
|
|
44
|
+
## Deployment speed with Docker
|
|
45
|
+
|
|
46
|
+
Source: DevOps Survey 2024
|
|
47
|
+
```
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Quote
|
|
3
|
+
description: Display quotes with attribution
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Quote Layout
|
|
7
|
+
|
|
8
|
+
The `quote` layout is designed for displaying quotes with proper attribution.
|
|
9
|
+
|
|
10
|
+
## Parameters
|
|
11
|
+
|
|
12
|
+
| Parameter | Type | Default | Description |
|
|
13
|
+
|-----------|------|---------|-------------|
|
|
14
|
+
| `logo` | boolean | `false` | Show/hide logo |
|
|
15
|
+
|
|
16
|
+
## Basic Example
|
|
17
|
+
|
|
18
|
+
```markdown
|
|
19
|
+
---
|
|
20
|
+
layout: quote
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# "The best way to predict the future is to create it."
|
|
24
|
+
|
|
25
|
+
## Alan Kay
|
|
26
|
+
### Computer Scientist
|
|
27
|
+
```
|
package/templates/addon-resources/resources/sykehuspartner-theme/layouts/special/statement.mdx
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Statement
|
|
3
|
+
description: Bold statement slide for impact
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Statement Layout
|
|
7
|
+
|
|
8
|
+
The `statement` layout emphasizes bold statements or key messages with centered text.
|
|
9
|
+
|
|
10
|
+
## Parameters
|
|
11
|
+
|
|
12
|
+
| Parameter | Type | Default | Description |
|
|
13
|
+
|-----------|------|---------|-------------|
|
|
14
|
+
| `logo` | boolean | `true` | Show/hide logo |
|
|
15
|
+
|
|
16
|
+
## Basic Example
|
|
17
|
+
|
|
18
|
+
```markdown
|
|
19
|
+
---
|
|
20
|
+
layout: statement
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# "Infrastructure as Code"
|
|
24
|
+
|
|
25
|
+
## The Future of Operations
|
|
26
|
+
|
|
27
|
+
Treating infrastructure like software
|
|
28
|
+
```
|
package/templates/addon-resources/resources/sykehuspartner-theme/setup/advanced-configuration.mdx
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Advanced
|
|
3
|
+
sidebar_position: 2
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
import Tabs from "@theme/Tabs";
|
|
7
|
+
import TabItem from "@theme/TabItem";
|
|
8
|
+
|
|
9
|
+
# Advanced Configuration
|
|
10
|
+
|
|
11
|
+
## Common Layout Parameters
|
|
12
|
+
|
|
13
|
+
Most layouts support these common parameters:
|
|
14
|
+
|
|
15
|
+
| Parameter | Type | Default | Description |
|
|
16
|
+
|-----------|------|---------|-------------|
|
|
17
|
+
| `logo` | boolean | varies | Show/hide the logo |
|
|
18
|
+
| `textAlignment` | string | `'center'` | Vertical alignment: `'top'`, `'center'`, `'bottom'` |
|
|
19
|
+
|
|
20
|
+
## Image Configuration Parameters
|
|
21
|
+
|
|
22
|
+
Layouts with images support:
|
|
23
|
+
|
|
24
|
+
| Parameter | Type | Default | Description |
|
|
25
|
+
|-----------|------|---------|-------------|
|
|
26
|
+
| `imageSrc` | string | - | Image URL or path |
|
|
27
|
+
| `imageRatio` | string | `'50%'` | Image width percentage |
|
|
28
|
+
| `imageScale` | string | `'100%'` | Image size within container |
|
|
29
|
+
| `imageAlign` | string | `'center'` | Image alignment |
|
|
30
|
+
| `imagePosition` | string | varies | Position: `'left'` or `'right'` |
|
|
31
|
+
| `imageBackgroundMode` | boolean | varies | Background vs foreground mode |
|
|
32
|
+
|
|
33
|
+
## Global Theme Configuration
|
|
34
|
+
|
|
35
|
+
Configure theme-wide settings in your presentation frontmatter:
|
|
36
|
+
|
|
37
|
+
```markdown title="slidev/presentation.md"
|
|
38
|
+
---
|
|
39
|
+
theme: "@sp-days-framework/slidev-theme-sykehuspartner"
|
|
40
|
+
title: My Presentation
|
|
41
|
+
highlighter: shiki
|
|
42
|
+
lineNumbers: true
|
|
43
|
+
drawings:
|
|
44
|
+
persist: false
|
|
45
|
+
transition: slide-left
|
|
46
|
+
---
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Available Global Options
|
|
50
|
+
|
|
51
|
+
| Option | Type | Default | Description |
|
|
52
|
+
|--------|------|---------|-------------|
|
|
53
|
+
| `highlighter` | string | `'shiki'` | Code highlighter: `'shiki'` or `'prism'` |
|
|
54
|
+
| `lineNumbers` | boolean | `false` | Show line numbers in code blocks |
|
|
55
|
+
| `drawings` | object | - | Drawing/annotation settings |
|
|
56
|
+
| `transition` | string | `'fade'` | Slide transition effect |
|
|
57
|
+
| `colorSchema` | string | `'auto'` | Color scheme: `'auto'`, `'dark'`, `'light'` |
|
|
58
|
+
|
|
59
|
+
See [Slidev configuration](https://sli.dev/custom/#frontmatter-configures) for all options.
|
|
60
|
+
|
|
61
|
+
## Custom Styling
|
|
62
|
+
|
|
63
|
+
Override theme styles with custom CSS:
|
|
64
|
+
|
|
65
|
+
```markdown title="slidev/presentation.md"
|
|
66
|
+
---
|
|
67
|
+
theme: "@sp-days-framework/slidev-theme-sykehuspartner"
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
<style>
|
|
71
|
+
.slidev-layout.cover {
|
|
72
|
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
h1 {
|
|
76
|
+
font-size: 3rem !important;
|
|
77
|
+
}
|
|
78
|
+
</style>
|
|
79
|
+
```
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 1
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
import Tabs from "@theme/Tabs";
|
|
6
|
+
import TabItem from "@theme/TabItem";
|
|
7
|
+
|
|
8
|
+
# Setup
|
|
9
|
+
|
|
10
|
+
:::tip[Already Included]
|
|
11
|
+
If you're using `@sp-days-framework/create-sp-days`, the Sykehuspartner Slidev Theme is already installed and configured. You can start creating presentations right away!
|
|
12
|
+
:::
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
Install the theme using your preferred package manager:
|
|
17
|
+
|
|
18
|
+
<Tabs>
|
|
19
|
+
<TabItem value="npm" label="npm" default>
|
|
20
|
+
```bash
|
|
21
|
+
npm install @sp-days-framework/slidev-theme-sykehuspartner
|
|
22
|
+
```
|
|
23
|
+
</TabItem>
|
|
24
|
+
<TabItem value="yarn" label="Yarn">
|
|
25
|
+
```bash
|
|
26
|
+
yarn add @sp-days-framework/slidev-theme-sykehuspartner
|
|
27
|
+
```
|
|
28
|
+
</TabItem>
|
|
29
|
+
</Tabs>
|
|
30
|
+
|
|
31
|
+
Configure the theme in your presentation's frontmatter:
|
|
32
|
+
|
|
33
|
+
```markdown title="slidev/presentation.md"
|
|
34
|
+
---
|
|
35
|
+
theme: "@sp-days-framework/slidev-theme-sykehuspartner"
|
|
36
|
+
title: My Presentation
|
|
37
|
+
layout: cover
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
# My Presentation Title
|
|
41
|
+
## Subtitle Goes Here
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
# First Content Slide
|
|
46
|
+
Your content here...
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
The theme is now active and all 18 layouts are available.
|
|
50
|
+
|
|
51
|
+
## Configuration
|
|
52
|
+
|
|
53
|
+
### Basic Theme Setup
|
|
54
|
+
|
|
55
|
+
Configure the theme in your presentation's frontmatter:
|
|
56
|
+
|
|
57
|
+
```markdown title="slidev/presentation.md"
|
|
58
|
+
---
|
|
59
|
+
theme: "@sp-days-framework/slidev-theme-sykehuspartner"
|
|
60
|
+
title: My Presentation
|
|
61
|
+
layout: cover
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
# My Presentation
|
|
65
|
+
## Subtitle
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Using with Docusaurus Plugin
|
|
69
|
+
|
|
70
|
+
When using with `@sp-days-framework/docusaurus-plugin-slidev`, set the theme globally or per-presentation:
|
|
71
|
+
|
|
72
|
+
**Global Theme:**
|
|
73
|
+
|
|
74
|
+
```js title="docusaurus.config.js"
|
|
75
|
+
module.exports = {
|
|
76
|
+
plugins: [
|
|
77
|
+
[
|
|
78
|
+
"@sp-days-framework/docusaurus-plugin-slidev",
|
|
79
|
+
{
|
|
80
|
+
theme: "@sp-days-framework/slidev-theme-sykehuspartner",
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
],
|
|
84
|
+
};
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Per-Presentation Override:**
|
|
88
|
+
|
|
89
|
+
```markdown title="slidev/my-presentation.md"
|
|
90
|
+
---
|
|
91
|
+
theme: "@sp-days-framework/slidev-theme-sykehuspartner"
|
|
92
|
+
title: My Presentation
|
|
93
|
+
---
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
See [Slidev Integration](../../slidev-integration/index.mdx) for plugin documentation.
|
|
97
|
+
|
|
98
|
+
### Running Development Server
|
|
99
|
+
|
|
100
|
+
Run Slidev to preview your presentation with hot-reload:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
npm run slidev ./slidev/presentation.md
|
|
104
|
+
```
|