import translation from 'src/i18n'
import { langToLocale } from 'src/utils/languageUtils'
export default (lang) => {
return `
<tr style="background-color: #46003A;">
<td>
<table>
<tr>
<td align="center" width="900">
<p style="font-size: 50px;color: #ffffff; text-align: center;">${translation[langToLocale(lang)].footerElement.credit}</p>
</td>
</tr>
<tr>
<td width="900" align="center" style="font-size: 0; vertical-align: middle;">
<a target="_blank"><img
src="https://www.qe.uni-kiel.de/de/downloads/logo-lehrentwicklung"
alt="LOGO CAU Referat Lehrentwicklung"
width="500"
title="LOGO CAU Referat Lehrentwicklung"
style="margin-top: 20px; margin-bottom: 20px;"></a>
</td>
</tr>
<tr><td style="height: 50px; min-height: 50px;"></td></tr>
<tr>
<td width="900" align="center">
<a style="font-size: 30px;color: #ffffff;" href="https://www.lists.uni-kiel.de/sympa/signoff/lehrentwicklung.aktuell">${translation[langToLocale(lang)].footerElement.unsubscribe}</a>
</td>
</tr>
<tr><td style="height: 50px; min-height: 50px;"></td></tr>
</table>
</td>
</tr>
`
}