Skip to content

Commit 17ecf8d

Browse files
committed
fix(demo): slack confirm email template's social icons
1 parent cdff581 commit 17ecf8d

File tree

1 file changed

+29
-40
lines changed

1 file changed

+29
-40
lines changed

apps/demo/emails/magic-links/slack-confirm.tsx

Lines changed: 29 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -62,44 +62,34 @@ export const SlackConfirmEmail = ({
6262
alt="Slack"
6363
/>
6464
</Column>
65-
<Column>
66-
<Section>
67-
<Row>
68-
<Column>
69-
<Link href="/">
70-
<Img
71-
src={`${baseUrl}/static/slack-twitter.png`}
72-
width="32"
73-
height="32"
74-
alt="Slack"
75-
style={socialMediaIcon}
76-
/>
77-
</Link>
78-
</Column>
79-
<Column>
80-
<Link href="/">
81-
<Img
82-
src={`${baseUrl}/static/slack-facebook.png`}
83-
width="32"
84-
height="32"
85-
alt="Slack"
86-
style={socialMediaIcon}
87-
/>
88-
</Link>
89-
</Column>
90-
<Column>
91-
<Link href="/">
92-
<Img
93-
src={`${baseUrl}/static/slack-linkedin.png`}
94-
width="32"
95-
height="32"
96-
alt="Slack"
97-
style={socialMediaIcon}
98-
/>
99-
</Link>
100-
</Column>
101-
</Row>
102-
</Section>
65+
<Column align="right">
66+
<Link href="/">
67+
<Img
68+
src={`${baseUrl}/static/slack-twitter.png`}
69+
width="32"
70+
height="32"
71+
alt="Slack"
72+
style={socialMediaIcon}
73+
/>
74+
</Link>
75+
<Link href="/">
76+
<Img
77+
src={`${baseUrl}/static/slack-facebook.png`}
78+
width="32"
79+
height="32"
80+
alt="Slack"
81+
style={socialMediaIcon}
82+
/>
83+
</Link>
84+
<Link href="/">
85+
<Img
86+
src={`${baseUrl}/static/slack-linkedin.png`}
87+
width="32"
88+
height="32"
89+
alt="Slack"
90+
style={socialMediaIcon}
91+
/>
92+
</Link>
10393
</Column>
10494
</Row>
10595
</Section>
@@ -177,12 +167,11 @@ const footerLogos = {
177167
marginBottom: '32px',
178168
paddingLeft: '8px',
179169
paddingRight: '8px',
180-
display: 'block',
181170
};
182171

183172
const socialMediaIcon = {
184173
display: 'inline',
185-
marginLeft: '32px',
174+
marginLeft: '8px',
186175
};
187176

188177
const main = {

0 commit comments

Comments
 (0)