. . . from another guy.
In which case, you are definitely out of the picture with her. This girl and her “accidental” would-be husband are probably planning their civil wedding. There’s a chance that you might get to be with her—literally—in the wedding pictures. If you make it, you might also be one of her child’s godfathers. That’s the closest that you probably can get. Afterwards, kaput! She’s out of your life forever.
Why feel glum? She’s your friend, right? She’s off with a happy family (maybe). Shouldn’t you be happy for her?