Organiza tu Contenido con Colecciones Anidadas — Introduciendo datos
Introduciendo datos
Vamos ahora a introducir datos:
- Queremos crear un curso de introducción a Astro y otro de intro a Nextjs.
Vamos a crear los cursos:
Título: Introduction to Astro
Slug: introduction-to-astro
Overview: Introductory course on Astro, a framework for building fast and modern websites.
Lecciones: de momento lo dejamos vacio.
Título: Introduction to Nextjs
Slug: introduction-to-nextjs
Overview: Introductory course on Next.js, a framework for building web applications with React.
Lecciones: de momento lo dejamos vacio.
Vamos a crear las lecciones, voy a crear dos en este video, el resto le doy a la pausa para no aburrirte con operaciones repetitivas.
Astro
Name: [Astro] 1. Creating the project in Content Island
Title: 1. Creating the project in Content Island
Slug: astro-1-creating-the-project-in-content-island
Content: In this lesson, we will create the project in Content Island and set up the necessary collections.
Name: [Astro] 2. Defining the data model
Title: 2. Defining the data model
Slug: astro-2-defining-the-data-model
Content: In this lesson, we will define the data model for our Astro project in Content Island.
Name: [Astro] 3. Adding Data
Title: 3 Adding Data
Slug: astro-3-adding-data
Content: In this lesson, we will add data to our Astro project in Content Island.
Name: [Astro] 4. Creating the Astro project.
Title: 4 Creating the Astro project
Slug: astro-4-creating-the-astro-project
Content: In this lesson, we will create the Astro project and set up the necessary files
Nextjs
Name: [Nextjs] 1. Creating the project in Content Island
Title: 1 Creating the project in Content Island
Slug: nextjs-1-creating-the-project-in-content-island
Content: In this lesson, we will create the project in Content Island.
Name: [Nextjs] 2. Defining the data model
Title: 2 Defining the data model
Slug: nextjs-2-defining-the-data-model
Content: In this lesson, we will define the data model for our Nextjs project in Content Island.
Name: [Nextjs] 3. Adding Data
Title: 3 Adding Data
Slug: nextjs-3-adding-data
Content: In this lesson, we will add data to our Nextjs project in Content Island
Name: [Nextjs] 4 Creating the Nextjs project.
Title: 4 Creating the Nextjs project
Slug: nextjs-4-creating-the-nextjs-project
Content: In this lesson, we will create the Nextjs project and set up the necessary files.
Como ha quedado:
Tenemos estos dos cursos (podemos pinchar en filter y seleccionar que se muestren sólo los cursos).

Y en cuanto a lecciones,tenemos:
Las de Astro ("[Astro]") filter.

Las de Next js ("[Nextjs]") filter.

Volvemos ahora a los cursos y vamos a añadir las lecciones que hemos creado.
En el de Astro.

En el de Nextjs.

Hora de pasar a código y crear nuestro proyecto.