I know that your can connect to adjectives with the て form, for example,
僕の彼女は美しくて優しいです。 My girfriend is beautiful and kind
but can you follow that て with a continuation of the sentence, for example,
僕の彼女は美しくて僕が醜いなのに、僕が好きです。 My girlfriend is beautiful, and despite my being ugly, she likes me.
~のこと
to mark the nominative object of好き
. It serves as a grammatical marker of objecthood. – snailplane♦ Jun 29 '17 at 5:17