I don't see anything illegal here & you did use company computer. You can be terminated at any time for any reason except for a reason prohibited by law (ie religion, race, gender......) or unless you have a binding employment contract to the contrary.
File for unemployment ins. (the state...