File Name : fig. s1.tif Caption : fig. s1 photographs showing the rapid gelation of (a) ttp-a and (b) tca-a. File Name : fig. s2.tif Caption : fig. s2 compressive stress–strain curves of aerogels. File Name : fig. s3.tif Caption : fig. s3 xps spectra of ttp-a: (a) survey, (b) n 1s. File Name : fig. s4.tif Caption : fig. s4 xps spectra of tca-a: (a) survey, (b) c 1s, (c) n 1s, (d) o 1s. File Name : fig. s5.tif Caption : fig. s5 water contact angles of (a) ttp-a, (b) ttp-p and (c) tca-a. File Name : fig. s6.tif Caption : fig. s6 tga curves of ttp-a, ttp-p and tca-a. File Name : fig. s7.tif Caption : fig. s7 corresponding rate constants (k) of cr photodegradation on ttp-a, ttp-p, and tca-a. File Name : fig. s8.tif Caption : fig. s8 (a) adsorption and photocatalytic degradation efficiencies of cr under different ph conditions on ttp-a; (b) corresponding rate constants (k) of cr photodegradation at different ph values on ttp-a. File Name : fig. s9.tif Caption : fig. s9 (a) ft-ir spectra, (b) xrd patterns of ttp-a before and after five cycles; (c) sem image of ttp-a after five cycles. File Name : fig. s10.tif Caption : fig. s10 contribution of different active species to cr degradation on ttp-a. File Name : fig. s11.tif Caption : fig. s11 epr spectra of dmpo-•o2- by ttp-a. File Name : fig. s12.tif Caption : fig. s12 pl spectra of ttp-a, ttp-p and tca-a. File Name : fig. s13.tif Caption : fig. s13 mott-schottky plot of ttp-a, ttp-p and tca-a. File Name : tab. s1.tif Caption : tab. s1 correlated parameters of the equilibrium data for the adsorption of cr on the samples according to the langmuir and freundlich model. File Name : tab. s2.tif Caption : tab. s2 fitted kinetic parameters for cr adsorption on ttp-a, ttp-p, and tca-a based on the pseudo-first-order and pseudo-second-order models. File Name : tab. s3.tif Caption : tab. s3 intraparticle diffusion model parameters for cr adsorption on ttp-a and ttp-p. File Name : tab. s4.tif Caption : tab. s4 comparison of adsorption capacity and degradation performance of cr over different materials.