In a small saucepan, heat 1 tbsp of olive oil on medium heat. Add the chopped onion and garlic, sauté 3 minutes until the onion becomes transparent. Add oregano and dried thyme and mix. Finally, pour in the crushed tomatoes, chopped basil, salt and pepper. Mix and let it cook on low heat for 15 minutes. Remove from the heat.
Preheat the oven to 350ºF. During this time, cut the eggplant, zucchini, yellow summer squash and tomatoes to make thin slices.
Pour the tomato sauce into a pie dish and place all the slices of vegetables one after the other in the dish. Add a drizzle of olive oil on top, salt and pepper. Place in the oven for 40 minutes. Take out of the oven and garnish with a few basil leaves on top.