Skip to content

Commit

Permalink
Fixed css
Browse files Browse the repository at this point in the history
  • Loading branch information
vishr committed Jul 9, 2023
1 parent a5d7ad3 commit de9a0e9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
7 changes: 6 additions & 1 deletion website/src/components/HomepageSponsors/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ const SponsorList = [
name: 'DoiT',
logo: require('@site/static/img/doit-logo.png').default,
link: 'https://doit.com'
},
{
name: 'Become a sponsor!',
logo: require('@site/static/img/donation.png').default,
link: 'https://github.com/sponsors/labstack'
}
];

Expand All @@ -25,7 +30,7 @@ function Sponsor({name, logo, link}) {
<div className={clsx('col col--2')}>
<div className="text--left padding-horiz--md">
<h4>{name}</h4>
<a href="https://shiguredo.jp" target="_blank">
<a href={link} target="_blank">
<img className={styles.sponsorLogo} src={logo} alt={name} />
</a>
</div>
Expand Down
3 changes: 2 additions & 1 deletion website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ function HomepageHeader() {
<div className="container">
<h1 className="hero__title">{siteConfig.title}</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<img
<img
className={styles.heroTerminal}
src={require('../../static/img/terminal.png').default}
alt="Terminal"
/>
Expand Down
5 changes: 5 additions & 0 deletions website/src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@
align-items: center;
justify-content: center;
}

.heroTerminal {
width: 50%;
height: auto;
}
Binary file added website/static/img/donation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit de9a0e9

Please sign in to comment.