Genesis 28 foreshadows Jesus as the promised offspring of Jacob in whom all nations will be blessed, Jesus as the temple in whom the full presence of God dwells bodily (Colossians 1:9), and Jesus as the gate of heaven (John 10:9). This link is made clear in John 1:51.
Genesis 28:  And he dreamed, and behold, there was a ladder set up on the earth, and the top of it reached to heaven. And behold, the angels of God were ascending and descending on it!  And behold, the Lord stood above it and said, “I am the Lord, the God of Abraham your father and the God of Isaac. The land on which you lie I will give to you and to your offspring.  Your offspring shall be like the dust of the earth, and you shall spread abroad to the west and to the east and to the north and to the south, and in you and your offspring shall all the families of the earth be blessed.  Behold, I am with you and will keep you wherever you go, and will bring you back to this land. For I will not leave you until I have done what I have promised you.”  Then Jacob awoke from his sleep and said, “Surely the Lord is in this place, and I did not know it.”  And he was afraid and said, “How awesome is this place! This is none other than the house of God, and this is the gate of heaven.”
John 1:  And he said to him, “Truly, truly, I say to you, you will see heaven opened, and the angels of God ascending and descending on the Son of Man.”