The markup defines a form with the inputs for numbers, operation and buttons. Note the data-request and data-request-update attributes on the FORM tag. Those two attributes tell the AJAX framework which PHP function must handle the request and what page element must be updated when the result comes back from the server.
-
-
-
{% content "ajax/form.txt" %}
-
Expand
-
-
-
The calcresult partial
-
-
The partial is referred in the form's data-request-update attribute together with the ID of the element that must be updated with the AJAX request. The partial is also rendered when the page first loads to display the default value.
-
-
-
{% content "ajax/calcresult.txt" %}
-
-
-
The onTest PHP function
-
-
That PHP function is referred in the form's data-request attribute and acts as the AJAX handler. It loads the submitted values, performs the requested operation, and assigns the calculated value to the result page variable, which is then used in the calcresult partial. The function is defined right in the page file, in the PHP section.
Wait, only one line is needed? Yes! CMS components are simple building blocks that can be used with a small amount of code. Components encapsulate PHP code and partials and can be included in a page, layout or partial with a single line of code. By sharing plugins between multiple projects, you can reuse CMS components and be more productive. The demoTodo component used here is provided by the plugin called October\Demo, you can find it in the plugins/october/demo folder.
- {% for date in archiveDates %}
- {% if date.published_at_year %}
- {% set dateParsed = date('1-'~date.published_at_month~'-'~date.published_at_year) %}
-
This is some additional paragraph placeholder content. It has been written to fill the available space and show how a longer snippet of text affects the surrounding content. We'll repeat it often to keep the demonstration flowing, so be on the lookout for this exact same string of text.
This is some additional paragraph placeholder content. It has been written to fill the available space and show how a longer snippet of text affects the surrounding content. We'll repeat it often to keep the demonstration flowing, so be on the lookout for this exact same string of text.
diff --git a/themes/demo/seeds/blueprints/blog/author.yaml b/themes/demo/seeds/blueprints/blog/author.yaml
deleted file mode 100644
index c76eff1..0000000
--- a/themes/demo/seeds/blueprints/blog/author.yaml
+++ /dev/null
@@ -1,30 +0,0 @@
-uuid: 6947ff28-b660-47d7-9240-24ca6d58aeae
-handle: Blog\Author
-type: entry
-name: Author
-drafts: false
-
-navigation:
- parent: Blog\Post
- icon: octo-icon-user
- order: 200
-
-fields:
- avatar:
- label: Avatar
- type: mediafinder
- mode: image
-
- role:
- label: Role
- type: text
-
- about:
- label: About
- type: textarea
-
- _social_links:
- type: mixin
- label: Social Links
- source: Fields\SocialLinks
- tab: Social
diff --git a/themes/demo/seeds/blueprints/blog/category.yaml b/themes/demo/seeds/blueprints/blog/category.yaml
deleted file mode 100644
index 528c246..0000000
--- a/themes/demo/seeds/blueprints/blog/category.yaml
+++ /dev/null
@@ -1,17 +0,0 @@
-uuid: b022a74b-15e6-4c6b-9eb9-17efc5103543
-type: structure
-handle: Blog\Category
-name: Category
-drafts: false
-
-structure:
- maxDepth: 1
-
-navigation:
- parent: Blog\Post
- icon: octo-icon-list-ul
- order: 150
-
-fields:
- description:
- label: Description
diff --git a/themes/demo/seeds/blueprints/blog/config.yaml b/themes/demo/seeds/blueprints/blog/config.yaml
deleted file mode 100644
index b1fdf6e..0000000
--- a/themes/demo/seeds/blueprints/blog/config.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-uuid: 3328c303-7989-462e-b866-27e7037ba275
-handle: Blog\Config
-type: global
-name: Blog Settings
-
-navigation:
- parent: Blog\Post
- icon: octo-icon-cog
- order: 200
-
-fields:
- blog_name:
- label: Blog Name
- tab: General
- placeholder: Latest News
-
- about_this_blog:
- label: About This Blog
- comment: Customize this section to tell your visitors a little bit about your publication, writers, content, or something else entirely. Totally up to you.
- type: textarea
- size: small
- tab: General
-
- _section1:
- label: Social Links
- type: section
- tab: General
-
- _social_links:
- type: mixin
- source: Fields\SocialLinks
- tab: General
diff --git a/themes/demo/seeds/blueprints/blog/post-content.yaml b/themes/demo/seeds/blueprints/blog/post-content.yaml
deleted file mode 100644
index dfa7d7c..0000000
--- a/themes/demo/seeds/blueprints/blog/post-content.yaml
+++ /dev/null
@@ -1,47 +0,0 @@
-uuid: 4d7fd1e4-85f2-48f5-947e-92819fc8664b
-handle: Blog\PostContent
-type: mixin
-name: Blog Post Content
-
-fields:
- banner:
- tab: Manage
- label: Banner
- type: fileupload
- mode: image
- maxFiles: 1
-
- author:
- tab: Manage
- label: Author
- commentAbove: 'Select the author for this blog post'
- type: entries
- maxItems: 1
- source: Blog\Author
-
- categories:
- tab: Manage
- label: Categories
- commentAbove: 'Select categories the blog post belongs to'
- type: entries
- source: Blog\Category
-
- featured_text:
- tab: Featured
- label: Featured Text
- type: textarea
- size: small
-
- gallery:
- label: Gallery
- type: fileupload
- mode: image
- span: adaptive
- tab: Gallery
-
- gallery_media:
- label: Media
- type: mediafinder
- mode: image
- span: adaptive
- tab: Media
diff --git a/themes/demo/seeds/blueprints/blog/post.yaml b/themes/demo/seeds/blueprints/blog/post.yaml
deleted file mode 100644
index fb881b8..0000000
--- a/themes/demo/seeds/blueprints/blog/post.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-uuid: edcd102e-0525-4e4d-b07e-633ae6c18db6
-handle: Blog\Post
-type: stream
-name: Post
-drafts: true
-
-primaryNavigation:
- label: Blog
- icon: octo-icon-file
- iconSvg: modules/tailor/assets/images/blog-icon.svg
- order: 95
-
-navigation:
- icon: octo-icon-pencil
- order: 100
-
-groups:
- regular_post:
- name: Regular Post
- fields:
- content:
- tab: Edit
- label: Content
- type: richeditor
- span: adaptive
-
- _blog_post_content:
- type: mixin
- source: Blog\PostContent
-
- markdown_post:
- name: Markdown Post
- fields:
- content:
- tab: Edit
- label: Content
- type: markdown
- span: adaptive
-
- _blog_post_content:
- type: mixin
- source: Blog\PostContent
diff --git a/themes/demo/seeds/blueprints/fields/social-links.yaml b/themes/demo/seeds/blueprints/fields/social-links.yaml
deleted file mode 100644
index fa766d3..0000000
--- a/themes/demo/seeds/blueprints/fields/social-links.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-uuid: ae2d2c25-3a0e-4765-8b36-d1666fc0e31f
-name: Social Links
-type: mixin
-handle: Fields\SocialLinks
-
-fields:
- social_links:
- type: repeater
- prompt: Add Link
- form:
- fields:
- platform:
- span: auto
- label: Platform
- type: dropdown
- options:
- facebook: Facebook
- linkedin: LinkedIn
- dribbble: Dribbble
- twitter: Twitter
- youtube: YouTube
-
- url:
- span: auto
- label: Social Link
- type: text
- placeholder: "https://..."
diff --git a/themes/demo/seeds/blueprints/landing/block-builder.yaml b/themes/demo/seeds/blueprints/landing/block-builder.yaml
deleted file mode 100644
index 46c58dc..0000000
--- a/themes/demo/seeds/blueprints/landing/block-builder.yaml
+++ /dev/null
@@ -1,57 +0,0 @@
-uuid: 7b193500-ac0b-481f-a79c-2a362646364d
-handle: BlockBuilder
-type: mixin
-name: Block Builder
-
-fields:
- blocks:
- label: Blocks
- type: repeater
- displayMode: builder
- span: adaptive
- tab: Blocks
- groups:
- image_slice:
- name: Image Slice
- description: A large image with an angled slice.
- icon: octo-icon-picture
- fields:
- _mixin:
- type: mixin
- source: Blocks\ImageSlice
-
- paragraph_block:
- name: Paragraph Block
- description: Simple paragraph with image
- icon: octo-icon-text-h1
- fields:
- _mixin:
- type: mixin
- source: Blocks\ParagraphBlock
-
- detailed_block:
- name: Detailed Block
- description: Detailed paragraph with image and list
- icon: octo-icon-diamond
- fields:
- _mixin:
- type: mixin
- source: Blocks\DetailedBlock
-
- scoreboard_metrics:
- name: Scoreboard Metrics
- description: Show some impressive metrics about the business.
- icon: icon-quote-right
- fields:
- _mixin:
- type: mixin
- source: Blocks\ScoreboardMetrics
-
- team_leaders:
- name: Team Leaders
- description: Display the team members.
- icon: octo-icon-comment
- fields:
- _mixin:
- type: mixin
- source: Blocks\TeamLeaders
diff --git a/themes/demo/seeds/blueprints/landing/blocks/detailed-block.yaml b/themes/demo/seeds/blueprints/landing/blocks/detailed-block.yaml
deleted file mode 100644
index c486018..0000000
--- a/themes/demo/seeds/blueprints/landing/blocks/detailed-block.yaml
+++ /dev/null
@@ -1,39 +0,0 @@
-uuid: da034c4f-0e24-4906-94b9-66b26c0549c9
-name: Detailed Block
-type: mixin
-handle: Blocks\DetailedBlock
-
-fields:
- title:
- label: Title
- type: text
-
- content:
- label: Description
- type: richeditor
- size: small
-
- list_items:
- label: List Items
- type: datatable
- btnAddRowLabel: Add Item
- btnDeleteRowLabel: Delete Item
- columns:
- text:
- type: string
- title: Text
-
- button_text:
- label: Button Text
- span: auto
- placeholder: Main call to action
-
- button_url:
- label: Button URL
- span: auto
-
- image:
- label: Image
- type: mediafinder
- mode: image
- maxItems: 1
diff --git a/themes/demo/seeds/blueprints/landing/blocks/image-slice.yaml b/themes/demo/seeds/blueprints/landing/blocks/image-slice.yaml
deleted file mode 100644
index 7d0beed..0000000
--- a/themes/demo/seeds/blueprints/landing/blocks/image-slice.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-uuid: 21aad99b-d3c6-4f5e-b271-15471c81e11b
-name: Image Slice
-type: mixin
-handle: Blocks\ImageSlice
-
-fields:
- image:
- label: Image
- type: mediafinder
- mode: image
- maxItems: 1
diff --git a/themes/demo/seeds/blueprints/landing/blocks/paragraph-block.yaml b/themes/demo/seeds/blueprints/landing/blocks/paragraph-block.yaml
deleted file mode 100644
index 87ab650..0000000
--- a/themes/demo/seeds/blueprints/landing/blocks/paragraph-block.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-uuid: 015fde4b-23d8-4ba3-8e78-9c6ebfb5fcf7
-name: Paragraph Block
-type: mixin
-handle: Blocks\ParagraphBlock
-
-fields:
- title:
- label: Title
- type: text
-
- content:
- label: Description
- type: richeditor
- size: small
-
- image:
- label: Image
- type: mediafinder
- mode: image
- maxItems: 1
diff --git a/themes/demo/seeds/blueprints/landing/blocks/scoreboard-metrics.yaml b/themes/demo/seeds/blueprints/landing/blocks/scoreboard-metrics.yaml
deleted file mode 100644
index 00163b6..0000000
--- a/themes/demo/seeds/blueprints/landing/blocks/scoreboard-metrics.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-uuid: 55615b16-120f-4be9-9429-6ae6dabc523c
-name: Scoreboard Metrics
-type: mixin
-handle: Blocks\ScoreboardMetrics
-
-fields:
- metrics:
- label: Metrics
- type: repeater
- form:
- fields:
- number:
- label: Number
- type: number
- span: row
- spanClass: col-md-3
-
- description:
- label: Description
- type: text
- span: row
- spanClass: col-md-9
-
- icon:
- label: Icon
- type: radio
- cssClass: inline-options
- options:
- notepad: Notepad
- shield: Shield
- basket: Basket
- briefcase: Briefcase
diff --git a/themes/demo/seeds/blueprints/landing/blocks/team-leaders.yaml b/themes/demo/seeds/blueprints/landing/blocks/team-leaders.yaml
deleted file mode 100644
index 5d27c42..0000000
--- a/themes/demo/seeds/blueprints/landing/blocks/team-leaders.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
-uuid: 8c4041cf-f16d-46f8-86be-9372a266ae6d
-name: Team Leaders
-type: mixin
-handle: Blocks\TeamLeaders
-
-fields:
- members:
- label: Members
- type: repeater
- itemsExpanded: false
- form:
- fields:
- title:
- label: Title
- span: left
-
- role:
- label: Role
- span: right
-
- description:
- label: Description
- type: textarea
- size: tiny
-
- avatar:
- label: Image
- type: mediafinder
- mode: image
- maxItems: 1
-
- _social_links:
- label: Social Links
- type: mixin
- source: Fields\SocialLinks
diff --git a/themes/demo/seeds/blueprints/landing/landing-page.yaml b/themes/demo/seeds/blueprints/landing/landing-page.yaml
deleted file mode 100644
index 715beb8..0000000
--- a/themes/demo/seeds/blueprints/landing/landing-page.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-uuid: a63fabaf-7c0b-4c74-b36f-7abf1a3ad1c1
-handle: LandingPage
-type: single
-name: Landing Page
-drafts: true
-
-navigation:
- icon: icon-rocket
-
-fields:
- block_builder:
- type: mixin
- source: BlockBuilder
diff --git a/themes/demo/seeds/blueprints/site/sitemap.yaml b/themes/demo/seeds/blueprints/site/sitemap.yaml
deleted file mode 100644
index 1357ae0..0000000
--- a/themes/demo/seeds/blueprints/site/sitemap.yaml
+++ /dev/null
@@ -1,68 +0,0 @@
-uuid: 6743a1c3-3e57-4cfa-a886-e0c0a277fd71
-handle: Site\Sitemap
-type: structure
-name: Sitemap
-drafts: false
-pagefinder: false
-
-structure:
- maxDepth: 1
-
-navigation:
- parent: settings
- icon: icon-sitemap
- description: Specify pages to appear in the sitemap for your website.
- category: CATEGORY_CMS
-
-fields:
- reference:
- label: Reference
- type: pagefinder
-
- priority:
- label: Priority
- commentAbove: The priority of this URL relative to other URLs on your site.
- type: radio
- inlineOptions: true
- options:
- '0.1': '0.1'
- '0.2': '0.2'
- '0.3': '0.3'
- '0.4': '0.4'
- '0.5': '0.5'
- '0.6': '0.6'
- '0.7': '0.7'
- '0.8': '0.8'
- '0.9': '0.9'
- '1.0': '1.0'
-
- changefreq:
- commentAbove: How frequently the page is likely to change.
- label: Change Frequency
- type: radio
- inlineOptions: true
- options:
- always: Always
- hourly: Hourly
- daily: Daily
- weekly: Weekly
- monthly: Monthly
- yearly: Yearly
- never: Never
-
- nesting:
- label: Include nested items
- shortLabel: Nesting
- comment: Nested items could be generated dynamically by supported page references.
- type: checkbox
-
- replace:
- label: Replace this item with its generated children
- comment: Use this checkbox to push generated menu items to the same level with this item. This item itself will be hidden.
- type: checkbox
- column: false
- scope: false
- trigger:
- action: disable|empty
- field: nesting
- condition: unchecked
diff --git a/themes/demo/seeds/blueprints/wiki/article.yaml b/themes/demo/seeds/blueprints/wiki/article.yaml
deleted file mode 100644
index 72ed774..0000000
--- a/themes/demo/seeds/blueprints/wiki/article.yaml
+++ /dev/null
@@ -1,53 +0,0 @@
-uuid: 339b11b7-69ad-43c4-9be1-6953e7738827
-handle: Wiki\Article
-type: structure
-name: Article
-drafts: true
-
-structure:
- maxDepth: 3
-
-navigation:
- icon: icon-wikipedia-w
-
-fields:
- content:
- label: Content
- tab: Edit
- type: richeditor
- span: adaptive
-
- banner:
- label: Banner
- type: fileupload
- mode: image
- maxFiles: 1
-
- show_in_toc:
- label: Show in TOC
- comment: Include this article in the table of contents
- type: checkbox
-
- summary_text:
- label: Summary Text
- type: textarea
- size: small
-
- gallery:
- label: Gallery
- type: fileupload
- mode: image
-
- external_links:
- label: External Links
- tab: Links
- type: repeater
- form:
- fields:
- link_text:
- label: Link Text
- span: auto
-
- link_url:
- label: Link URL
- span: auto
diff --git a/themes/demo/seeds/data.yaml b/themes/demo/seeds/data.yaml
deleted file mode 100644
index b909975..0000000
--- a/themes/demo/seeds/data.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
--
- name: Blog Category Data
- class: Tailor\Models\EntryRecordImport
- file: seeds/data/blog/category.json
- attributes:
- file_format: json
- blueprint_uuid: b022a74b-15e6-4c6b-9eb9-17efc5103543
--
- name: Blog Author Data
- class: Tailor\Models\EntryRecordImport
- file: seeds/data/blog/author.json
- attributes:
- file_format: json
- blueprint_uuid: 6947ff28-b660-47d7-9240-24ca6d58aeae
--
- name: Blog Post Data
- class: Tailor\Models\EntryRecordImport
- file: seeds/data/blog/post.json
- attributes:
- file_format: json
- blueprint_uuid: edcd102e-0525-4e4d-b07e-633ae6c18db6
--
- name: Wiki Data
- class: Tailor\Models\EntryRecordImport
- file: seeds/data/wiki/article.json
- attributes:
- file_format: json
- blueprint_uuid: 339b11b7-69ad-43c4-9be1-6953e7738827
--
- name: About Page Data
- class: Tailor\Models\EntryRecordImport
- file: seeds/data/landing/landing-page.json
- attributes:
- file_format: json
- blueprint_uuid: a63fabaf-7c0b-4c74-b36f-7abf1a3ad1c1
diff --git a/themes/demo/seeds/data/blog/author.json b/themes/demo/seeds/data/blog/author.json
deleted file mode 100644
index 248ab42..0000000
--- a/themes/demo/seeds/data/blog/author.json
+++ /dev/null
@@ -1,32 +0,0 @@
-[
- {
- "id": 1,
- "title": "John Smith",
- "slug": "john-smith",
- "is_enabled": 1,
- "role": "Manager",
- "about": "Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
- "social_links": [
- {
- "platform": "twitter",
- "url": "https:\/\/twitter.com\/octobercms",
- "sort_order": 1
- },
- {
- "platform": "youtube",
- "url": "https:\/\/www.youtube.com\/c\/OctoberCMSOfficial",
- "sort_order": 2
- },
- {
- "platform": "facebook",
- "url": "https:\/\/facebook.com\/octobercms",
- "sort_order": 3
- },
- {
- "platform": "linkedin",
- "url": "https:\/\/www.linkedin.com\/company\/october-cms\/",
- "sort_order": 4
- }
- ]
- }
-]
diff --git a/themes/demo/seeds/data/blog/category.json b/themes/demo/seeds/data/blog/category.json
deleted file mode 100644
index 267a49c..0000000
--- a/themes/demo/seeds/data/blog/category.json
+++ /dev/null
@@ -1,37 +0,0 @@
-[
- {
- "id": 1,
- "title": "Announcements",
- "slug": "announcements",
- "is_enabled": 1,
- "description": "At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt molliti"
- },
- {
- "id": 2,
- "title": "News",
- "slug": "news",
- "is_enabled": 1,
- "description": "Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt."
- },
- {
- "id": 3,
- "title": "Startup Ideas",
- "slug": "startup-ideas",
- "is_enabled": 1,
- "description": "Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proide"
- },
- {
- "id": 4,
- "title": "Updates",
- "slug": "updates",
- "is_enabled": 1,
- "description": "At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt molliti"
- },
- {
- "id": 5,
- "title": "Automation",
- "slug": "automation",
- "is_enabled": 1,
- "description": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo."
- }
-]
diff --git a/themes/demo/seeds/data/blog/post.json b/themes/demo/seeds/data/blog/post.json
deleted file mode 100644
index 76a5d4b..0000000
--- a/themes/demo/seeds/data/blog/post.json
+++ /dev/null
@@ -1,28 +0,0 @@
-[
- {
- "id": 1,
- "title": "Consectetur adipiscing elit",
- "slug": "consectetur-adipiscing-elit",
- "is_enabled": 1,
- "content_group": "regular_post",
- "content": "
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<\/p>
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?<\/p>",
- "author": 1,
- "categories": [
- 1
- ],
- "featured_text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo."
- },
- {
- "id": 2,
- "title": "Nemo enim ipsam",
- "slug": "nemo-enim-ipsam",
- "is_enabled": 1,
- "content_group": "regular_post",
- "content": "
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<\/p>
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?<\/p>",
- "author": 1,
- "categories": [
- 2
- ],
- "featured_text": "At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga."
- }
-]
diff --git a/themes/demo/seeds/data/landing/landing-page.json b/themes/demo/seeds/data/landing/landing-page.json
deleted file mode 100644
index 40b12ed..0000000
--- a/themes/demo/seeds/data/landing/landing-page.json
+++ /dev/null
@@ -1,218 +0,0 @@
-[
- {
- "id": 1,
- "title": "About Us",
- "slug": "about-us",
- "is_enabled": 1,
- "content_group": null,
- "blocks": [
- {
- "image": "",
- "content_group": "image_slice",
- "sort_order": 1
- },
- {
- "title": "Outstanding performance",
- "content": "
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.<\/p>",
- "image": "",
- "content_group": "paragraph_block",
- "sort_order": 2
- },
- {
- "title": "Why work with us",
- "content": "
The term location generally implies a higher degree of certainty than place, the latter often indicating an entity with an ambiguous boundary, relying more on human or social attributes of place identity and sense of place than on geometry. An absolute location can be designated using a specific pairing of latitude and longitude in a Cartesian coordinate grid (for example, a spherical coordinate system or an ellipsoid-based system such as the World Geodetic System) or similar methods. For instance, the position of Lake Maracaibo in Venezuela can be expressed using the coordinate system as the location 9.80\u00b0N (latitude), 71.56\u00b0W (longitude).<\/p>",
- "slug": "our-locations",
- "is_enabled": 1,
- "content_group": null,
- "parent_id": null,
- "banner": null,
- "show_in_toc": 1,
- "summary_text": "In geography, location or place are used to denote a region (point, line, or area) on Earth's surface or elsewhere.",
- "external_links": []
- },
- {
- "id": 2,
- "title": "Canberra",
- "content": "
Unusual among Australian cities, it is an entirely planned city. The city is located at the northern end of the Australian Capital Territory[11] at the northern tip of the Australian Alps, the country's highest mountain range. As of June 2020, Canberra's estimated population was 431,380.[12]<\/p>
The area chosen for the capital had been inhabited by Indigenous Australians for up to 21,000 years,[13] with the principal group being the Ngunnawal people. European settlement commenced in the first half of the 19th century, as evidenced by surviving landmarks such as St John's Anglican Church and Blundells Cottage. On 1 January 1901, federation of the colonies of Australia was achieved. Following a long dispute over whether Sydney or Melbourne should be the national capital,[14] a compromise was reached: the new capital would be built in New South Wales, so long as it was at least 100 miles (160 km) from Sydney. The capital city was founded and formally named as Canberra in 1913. A blueprint by American architects Walter Burley Griffin and Marion Mahony Griffin was selected after an international design contest, and construction commenced in 1913.[15] The Griffins' plan featured geometric motifs and was centred on axes aligned with significant topographical landmarks such as Black Mountain, Mount Ainslie, Capital Hill and City Hill. Canberra's mountainous location makes it the only mainland Australian city where snow-capped mountains can be seen in winter; although snow in the city itself is rare.<\/p>
As the seat of the Government of Australia, Canberra is home to many important institutions of the federal government, national monuments and museums. This includes Parliament House, Government House, the High Court and the headquarters of numerous government agencies. It is the location of many social and cultural institutions of national significance such as the Australian War Memorial, the Australian National University, the Royal Australian Mint, the Australian Institute of Sport, the National Gallery, the National Museum and the National Library. The city is home to many important institutions of the Australian Defence Force including the Royal Military College Duntroon and the Australian Defence Force Academy. It hosts all foreign embassies in Australia as well as regional headquarters of many international organisations, not-for-profit groups, lobbying groups and professional associations.<\/p>",
- "slug": "canberra",
- "is_enabled": 1,
- "content_group": null,
- "parent_id": 1,
- "banner": null,
- "show_in_toc": 1,
- "summary_text": "Canberra (\/\u02c8k\u00e6nb\u0259r\u0259\/ KAN-b\u0259-r\u0259) is the capital city of Australia. Founded following the federation of the colonies of Australia as the seat of government for the new nation, it is Australia's largest inland city and the eighth-largest city overall.",
- "external_links": [
- {
- "link_text": "Canberra travel guide from Wikivoyage",
- "link_url": "https:\/\/en.wikivoyage.org\/wiki\/Canberra",
- "content_group": null,
- "sort_order": 1
- },
- {
- "link_text": "Official Tourism Website",
- "link_url": "https:\/\/visitcanberra.com.au\/",
- "content_group": null,
- "sort_order": 2
- },
- {
- "link_text": "Canberra 100 \u2013 Celebrating Canberra's 100th anniversary",
- "link_url": "https:\/\/www.canberra100.com.au\/",
- "content_group": null,
- "sort_order": 3
- }
- ]
- },
- {
- "id": 3,
- "title": "Sydney",
- "content": "
Located on Australia's east coast, the metropolis surrounds Port Jackson and extends about 70 km (43.5 mi) on its periphery towards the Blue Mountains to the west, Hawkesbury to the north, the Royal National Park to the south and Macarthur to the south-west. Sydney is made up of 658 suburbs, spread across 33 local government areas. Residents of the city are known as \"Sydneysiders\". As of June 2020, Sydney's estimated metropolitan population was 5,361,466, meaning the city is home to approximately 66% of the state's population. Nicknames of the city include the 'Emerald City' and the 'Harbour City'.<\/p>
Indigenous Australians have inhabited the Sydney area for at least 30,000 years, and thousands of Aboriginal engravings remain throughout the region. During his first Pacific voyage in 1770, Lieutenant James Cook and his crew became the first Europeans to chart the eastern coast of Australia, making landfall at Botany Bay. In 1788, the First Fleet of convicts, led by Arthur Phillip, founded Sydney as a British penal colony, the first European settlement in Australia. After World War II, it experienced mass migration and became one of the most multicultural cities in the world. Furthermore, 45.4% of the population reported having been born overseas, and the city has the third-largest foreign-born population of any city in the world after London and New York City.<\/p>
Despite being one of the most expensive cities in the world, Sydney frequently ranks in the top ten most liveable cities in the world. It is classified as an Alpha global city by the Globalization and World Cities Research Network, indicating its influence in the region and throughout the world. Ranked eleventh in the world for economic opportunity, Sydney has an advanced market economy with strengths in finance, manufacturing and tourism. Established in 1850, the University of Sydney was Australia's first university and is regarded as one of the world's leading universities.<\/p>",
- "slug": "sydney",
- "is_enabled": 1,
- "content_group": null,
- "parent_id": 1,
- "banner": null,
- "show_in_toc": 1,
- "summary_text": "Sydney is the capital city of the state of New South Wales, and the most populous city in Australia and Oceania.",
- "external_links": []
- },
- {
- "id": 4,
- "title": "Vancouver",
- "content": "
As the most populous city in the province, the 2021 census recorded 662,248 people in the city, up from 631,486 in 2016. The Greater Vancouver area had a population of 2,642,825 in 2021, making it the third-largest metropolitan area in Canada. Vancouver has the highest population density in Canada, with over 5,400 people per square kilometre. Vancouver is one of the most ethnically and linguistically diverse cities in Canada: 52 percent of its residents are not native English speakers, 48.9 percent are native speakers of neither English nor French, and 50.6 percent of residents belong to visible minority groups.<\/p>
Vancouver is one of the most livable cities in Canada and in the world. In terms of housing affordability, Vancouver is also one of the most expensive cities in Canada and in the world. Vancouver plans to become the greenest city in the world. Vancouverism is the city's urban planning design philosophy.<\/p>
Indigenous settlement of Vancouver began more than 10,000 years ago, and the city is on the traditional and unceded territories of the Squamish, Musqueam, and Tsleil-Waututh (Burrard) peoples. The beginnings of the modern city, which was originally named Gastown, grew around the site of a makeshift tavern on the western edges of Hastings Mill that was built on July 1, 1867, and owned by proprietor Gassy Jack. The original site is marked by the Gastown steam clock. Gastown then formally registered as a townsite dubbed Granville, Burrard Inlet. The city was renamed \"Vancouver\" in 1886, through a deal with the Canadian Pacific Railway (CPR). The Canadian Pacific transcontinental railway was extended to the city by 1887. The city's large natural seaport on the Pacific Ocean became a vital link in the trade between Asia-Pacific, East Asia, Europe, and Eastern Canada.<\/p>",
- "slug": "vancouver",
- "is_enabled": 1,
- "content_group": null,
- "parent_id": 1,
- "banner": null,
- "show_in_toc": 1,
- "summary_text": "Vancouver is a major city in western Canada, located in the Lower Mainland region of British Columbia.",
- "external_links": []
- },
- {
- "id": 5,
- "title": "Knowledge Base",
- "content": "
Knowledge Base<\/p>",
- "slug": "knowledge-base",
- "is_enabled": 1,
- "content_group": null,
- "parent_id": null,
- "banner": null,
- "show_in_toc": 1,
- "summary_text": "",
- "external_links": []
- }
-]
\ No newline at end of file
diff --git a/themes/demo/webpack.config.js b/themes/demo/webpack.config.js
deleted file mode 100644
index 76b3c20..0000000
--- a/themes/demo/webpack.config.js
+++ /dev/null
@@ -1,17 +0,0 @@
-const webpack = require('webpack');
-
-module.exports = {
- devtool: 'inline-source-map',
- plugins: [
- new webpack.ProvidePlugin({
- $: 'jquery',
- jQuery: 'jquery',
- 'window.jQuery': 'jquery',
- 'window.$': 'jquery',
- }),
- ],
- externals: {
- // Use external version of jQuery
- jquery: 'jQuery'
- },
-};
diff --git a/themes/demo/webpack.mix.js b/themes/demo/webpack.mix.js
deleted file mode 100644
index d7bb00d..0000000
--- a/themes/demo/webpack.mix.js
+++ /dev/null
@@ -1,29 +0,0 @@
-const mix = require('laravel-mix');
-const webpackConfig = require('./webpack.config');
-
-/*
- |--------------------------------------------------------------------------
- | Mix Asset Management
- |--------------------------------------------------------------------------
- |
- | Mix provides a clean, fluent API for defining some Webpack build steps
- | for your theme assets. By default, we are compiling the CSS
- | file for the application as well as bundling up all the JS files.
- |
- */
-
-mix.webpackConfig(webpackConfig)
- .options({ processCssUrls: false })
- .copy('node_modules/jquery/dist/jquery.min.js', 'assets/vendor/jquery.min.js')
- .js('assets/vendor/codeblocks/codeblocks.js', 'assets/vendor/codeblocks/codeblocks.min.js')
- .js('assets/vendor/bootstrap/bootstrap.js', 'assets/vendor/bootstrap/bootstrap.min.js')
- .sass('assets/vendor/bootstrap/bootstrap.scss', 'assets/vendor/bootstrap/bootstrap.css')
- .sass('assets/vendor/bootstrap-icons/bootstrap-icons.scss', 'assets/vendor/bootstrap-icons/bootstrap-icons.css')
- .copy('node_modules/bootstrap-icons/font/fonts/', 'assets/vendor/bootstrap-icons/fonts/')
- .copy('node_modules/slick-carousel/slick', 'assets/vendor/slick-carousel/')
- .copy('node_modules/photoswipe/dist/photoswipe.css', 'assets/vendor/photoswipe/photoswipe.css')
- .copy('node_modules/photoswipe/dist/photoswipe-lightbox.esm.min.js', 'assets/vendor/photoswipe/photoswipe-lightbox.esm.min.js')
- .copy('node_modules/photoswipe/dist/photoswipe.esm.min.js', 'assets/vendor/photoswipe/photoswipe.esm.min.js')
- .copy('node_modules/photoswipe-dynamic-caption-plugin/photoswipe-dynamic-caption-plugin.esm.js', 'assets/vendor/photoswipe-dynamic-caption-plugin/photoswipe-dynamic-caption-plugin.esm.js')
- .copy('node_modules/photoswipe-dynamic-caption-plugin/photoswipe-dynamic-caption-plugin.css', 'assets/vendor/photoswipe-dynamic-caption-plugin/photoswipe-dynamic-caption-plugin.css')
-;
2 comments
- -