Preheat oven to 400F. Place bacon on a parchment lined baking sheet and bake for 15-20 minutes or until desired crispiness is reached. Chop, set aside. Preheat oven to 325 degrees. Lightly grease a small casserole dish or round pie dish. Boil spinach for 2-3 minutes until soft, drain and run under cold water until cool enough to handle. Squeeze out excess liquid. Mix together spinach, cream cheese, garlic, sour cream, mayo, and salt and pepper. Stir in 2/3 of the bacon and the chopped artichoke hearts. Spread in prepared baking dish. Sprinkle with parmesan cheese and top with remaining bacon.