Skip to content

Commit

Permalink
Update collections schema
Browse files Browse the repository at this point in the history
- Add hasCourseInstance property
- Add offers property
- Remove position property
  • Loading branch information
jgagne committed Aug 22, 2024
1 parent 1b20df5 commit bd7cd14
Show file tree
Hide file tree
Showing 4 changed files with 307 additions and 77 deletions.
56 changes: 56 additions & 0 deletions hub-pages/accessibility/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,62 @@ <h3 class="all-caps">Advocating for Accessibility with Aaron Gustafson</h3>

<section class="section" id="courses">
<div class="section-content">
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "ItemList",
"itemListElement": [
{
"@type": "Course",
"name": "Designing Accessible and Responsive Websites",
"description": "Learn accessible and responsive design best practices to help make a more user-friendly web for everyone.",
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": [
"MOOC",
"online"
],
"offers": {
"@type": "Offer",
"offeredBy": "Gymnasium",
"price": "free"
}
},
"image": "https://thegymnasium.com/img/og/courses/gym-016.png",
"url": "https://thegymnasium.com/courses/designing-accessible-and-responsive-websites/",
"provider": {
"@type": "School",
"name": "Gymnasium",
"sameAs": "https://thegymnasium.com"
}
},
{
"@type": "Course",
"name": "Structuring and Organizing HTML5 Forms",
"description": "Learn some of the latest standards and thinking around coding HTML forms using the new HTML5 tags and attributes.",
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": [
"MOOC",
"online"
],
"offers": {
"@type": "Offer",
"offeredBy": "Gymnasium",
"price": "free"
}
},
"image": "https://thegymnasium.com/img/og/courses/gym-007.png",
"url": "https://thegymnasium.com/courses/structuring-and-organizing-html5-forms/",
"provider": {
"@type": "School",
"name": "Gymnasium",
"sameAs": "https://thegymnasium.com"
}
}
]
}
</script>
<header>
<h2 class="all-caps">Accessibility Courses</h2>
</header>
Expand Down
49 changes: 29 additions & 20 deletions hub-pages/prototyping/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,29 +96,27 @@ <h3 class="all-caps">AI Mockup Magic: Prototyping Landing Pages with LLMs</h3>
<div class="section-content">
<script type="application/ld+json">
{
"@context":"http://schema.org",
"@context": "http://schema.org",
"@type": "ItemList",
"itemListElement": [
{
"@type": "Course",
"name": "UX Fundamentals",
"description": "Learn how to apply user-centered design principles to improve your website and mobile app design. A must-take course for anyone working in design and development.",
"image": "{{ site.url }}/img/social/courses/gym-103-social.png",
"url": "https://thegymnasium.com/courses/course-v1:GYM+103+0/about",
"position": 1,
"provider": {
"@type": "School",
"name": "Gymnasium",
"sameAs": "https://thegymnasium.com"
}
},
{
"@type": "Course",
"name": "Working with Atomic Design and Pattern Lab",
"description": "Learn how to use Atomic Design methodology within Pattern Lab in order to create reusable user interface components.",
"image": "{{ site.url }}/img/social/courses/gym-014-social.png",
"url": "https://thegymnasium.com/courses/course-v1:GYM+014+0/about",
"position": 2,
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": [
"MOOC",
"online"
],
"offers": {
"@type": "Offer",
"offeredBy": "Gymnasium",
"price": "free"
}
},
"image": "https://thegymnasium.com/img/og/courses/gym-103.png",
"url": "https://thegymnasium.com/courses/ux-fundamentals/",
"provider": {
"@type": "School",
"name": "Gymnasium",
Expand All @@ -129,9 +127,20 @@ <h3 class="all-caps">AI Mockup Magic: Prototyping Landing Pages with LLMs</h3>
"@type": "Course",
"name": "Prototyping for Digital Products and Websites",
"description": "Learn how to use prototypes as a communication and collaboration device for building digital products and websites.",
"image": "{{ site.url }}/img/social/courses/gym-015-social.png",
"url": "https://thegymnasium.com/courses/course-v1:GYM+015+0/about",
"position": 3,
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": [
"MOOC",
"online"
],
"offers": {
"@type": "Offer",
"offeredBy": "Gymnasium",
"price": "free"
}
},
"image": "https://thegymnasium.com/img/og/courses/gym-015.png",
"url": "https://thegymnasium.com/courses/prototyping-for-digital-products-and-websites/",
"provider": {
"@type": "School",
"name": "Gymnasium",
Expand Down
55 changes: 44 additions & 11 deletions hub-pages/ux-design/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,27 @@ <h3 class="all-caps">From Filler to Matter: Wireframes and Prototypes in <span c
<div class="section-content">
<script type="application/ld+json">
{
"@context":"http://schema.org",
"@context": "http://schema.org",
"@type": "ItemList",
"itemListElement": [
{
"@type": "Course",
"name": "UX Fundamentals",
"description": "Learn how to apply user-centered design principles to improve your website and mobile app design. A must-take course for anyone working in design and development.",
"image": "{{ site.url }}/img/social/courses/gym-103-social.png",
"url": "https://thegymnasium.com/courses/course-v1:GYM+103+0/about",
"position": 1,
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": [
"MOOC",
"online"
],
"offers": {
"@type": "Offer",
"offeredBy": "Gymnasium",
"price": "free"
}
},
"image": "https://thegymnasium.com/img/og/courses/gym-103.png",
"url": "https://thegymnasium.com/courses/ux-fundamentals/",
"provider": {
"@type": "School",
"name": "Gymnasium",
Expand All @@ -135,10 +146,21 @@ <h3 class="all-caps">From Filler to Matter: Wireframes and Prototypes in <span c
{
"@type": "Course",
"name": "Working with Atomic Design and Pattern Lab",
"description": "Learn how to use Atomic Design methodology within Pattern Lab in order to create reusable user interface components.",
"image": "{{ site.url }}/img/social/courses/gym-014-social.png",
"url": "https://thegymnasium.com/courses/course-v1:GYM+014+0/about",
"position": 2,
"description": "Learn how to use Atomic Design methodology within Pattern Lab to create reusable user interface components.",
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": [
"MOOC",
"online"
],
"offers": {
"@type": "Offer",
"offeredBy": "Gymnasium",
"price": "free"
}
},
"image": "https://thegymnasium.com/img/og/courses/gym-014.png",
"url": "https://thegymnasium.com/courses/working-with-atomic-design-and-pattern-lab/",
"provider": {
"@type": "School",
"name": "Gymnasium",
Expand All @@ -149,9 +171,20 @@ <h3 class="all-caps">From Filler to Matter: Wireframes and Prototypes in <span c
"@type": "Course",
"name": "Prototyping for Digital Products and Websites",
"description": "Learn how to use prototypes as a communication and collaboration device for building digital products and websites.",
"image": "{{ site.url }}/img/social/courses/gym-015-social.png",
"url": "https://thegymnasium.com/courses/course-v1:GYM+015+0/about",
"position": 3,
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": [
"MOOC",
"online"
],
"offers": {
"@type": "Offer",
"offeredBy": "Gymnasium",
"price": "free"
}
},
"image": "https://thegymnasium.com/img/og/courses/gym-015.png",
"url": "https://thegymnasium.com/courses/prototyping-for-digital-products-and-websites/",
"provider": {
"@type": "School",
"name": "Gymnasium",
Expand Down
Loading

0 comments on commit bd7cd14

Please sign in to comment.