/**
 * This function takes a graphic designer's name and a list of projects as parameters, and returns a list of websites
 * developed by the graphic designer.
 *
 * @param name The name of the graphic designer.
 * @param projects A list of maps containing project details.
 * @return A list of websites developed by the graphic designer.
 */
fun getDesignerWebsite(name: String, projects: List<Map<String, String>>): List<String> {

    // Use filter and map to extract the website field from projects where the graphic designer's name matches
    return projects.filter { it["graphic_designer"] == name }.mapNotNull { it["website"] }
}
/**
 * This function takes a graphic designer's name and a list of projects as parameters, and returns a list of websites
 * developed by the graphic designer.
 *
 * @param name The name of the graphic designer.
 * @param projects A list of maps containing project details.
 * @return A list of websites developed by the graphic designer.
 */
fun getDesignerWebsite(name: String, projects: List<Map<String, String>>): List<String> {
/**
 * This function takes a graphic designer's name and a list of projects as parameters, and returns a list of websites
 * developed by the graphic designer.
 *
 * @param name The name of the graphic designer.
 * @param projects A list of maps containing project details.
 * @return A list of websites developed by the graphic designer.
 */
fun getDesignerWebsite(name: String, projects: List<Map<String, String>>): List<String> {

    // Use filter and map to extract the website field from projects where the graphic designer's name matches
    return projects.filter { it["graphic_designer"] == name }.mapNotNull { it["website"] }
}