File tree Expand file tree Collapse file tree
email-templates/emails/_lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 Heading ,
77 Hr ,
88 Html ,
9+ Img ,
910 Link ,
1011 Preview ,
1112 Section ,
@@ -43,7 +44,12 @@ export function Layout({
4344function Header ( ) {
4445 return (
4546 < Section style = { styles . header } >
46- < Text style = { styles . brand } > OpenShock</ Text >
47+ < Img
48+ src = "https://wiki.openshock.org/branding/Logo128.png"
49+ height = "32"
50+ alt = "OpenShock"
51+ style = { styles . brandLogo }
52+ />
4753 </ Section >
4854 ) ;
4955}
Original file line number Diff line number Diff line change @@ -42,12 +42,16 @@ export const styles = {
4242 backgroundColor : colors . accent ,
4343 color : colors . accentText ,
4444 } ,
45- brand : {
46- margin : '0' ,
47- fontSize : '18px' ,
45+ brandLogo : {
46+ display : 'block' ,
47+ margin : '0 auto' ,
48+ // Styles below apply to the `alt` text when the image is blocked,
49+ // so the OpenShock wordmark still looks like a header in that case.
50+ fontSize : '20px' ,
4851 fontWeight : '700' ,
4952 letterSpacing : '0.5px' ,
5053 color : colors . accentText ,
54+ textDecoration : 'none' ,
5155 } ,
5256 content : {
5357 padding : '28px 32px 8px' ,
You can’t perform that action at this time.
0 commit comments