1⁄2 cup extra-virgin olive oil6 cloves garlic, thinly sliced2 bay leaves2 small white onions, quartered and thinly slicedKosher salt and freshly ground black pepper2 oz. salt cod, flaked2 large Yukon gold potatoes (about 1 lb.), peeled and sliced into 1⁄16-inch-thick rounds1⁄2 cup 1⁄2 cup pitted kalamata olives, thinly sliced, plus more to garnish2 hard-boiled eggs, peeled and sliced crosswise1⁄4 cup finely chopped flat-leaf parsley