Skip to content

Commit

Permalink
Added logos to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
macterra committed Dec 9, 2023
1 parent f4a32b2 commit dc991a1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const config = {
notarize_max_fee: process.env.NOTARIZE_MAX_FEE ? parseInt(process.env.NOTARIZE_MAX_FEE, 10) : 10,
notarize_rbf_rate: process.env.NOTARIZE_RBF_RATE ? parseInt(process.env.NOTARIZE_RBF_RATE, 10) : 1,
discordLink: process.env.DISCORD_LINK || 'https://discord.gg/kVEhkywupg',
followLink: process.env.FOLLOW_LINK || 'https://twitter.com/artxmarket',
issuesLink: process.env.ISSUES_LINK || 'https://github.com/macterra/artx-market/issues',
helpLink: process.env.HELP_LINK || 'https://github.com/macterra/artx-market/wiki/Getting-Started',
};
Expand Down
Binary file added frontend/public/discord-mark-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/github-mark-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/xcom-mark-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions frontend/src/AppFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,18 @@ function AppFooter() {
fetchData();
}, []);

const logoStyle = { marginLeft: '10px', height: '32px' };

return (
<footer className="footer">
<Button color="inherit" onClick={() => openTab(config.discordLink)}>
Join our discord
Join our discord <img src="/discord-mark-white.png" alt="Discord" style={logoStyle} />
</Button>
<Button color="inherit" onClick={() => openTab(config.issuesLink)}>
Report an issue
Report an issue <img src="/github-mark-white.png" alt="Github" style={logoStyle} />
</Button>
<Button color="inherit" onClick={() => openTab(config.helpLink)}>
Getting started
<Button color="inherit" onClick={() => openTab(config.followLink)}>
Follow us <img src="/xcom-mark-white.png" alt="X.com" style={logoStyle} />
</Button>
</footer>
);
Expand Down
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ app.get('/api/v1/licenses', async (req, res) => {
app.get('/api/v1/config', async (req, res) => {
res.json({
discordLink: config.discordLink,
followLink: config.followLink,
issuesLink: config.issuesLink,
helpLink: config.helpLink,
});
Expand Down

0 comments on commit dc991a1

Please sign in to comment.