Skip to content

Commit

Permalink
Merge pull request #353 from deltaDAO/feat/add-logo
Browse files Browse the repository at this point in the history
feat: add logo
  • Loading branch information
moritzkirstein authored May 8, 2023
2 parents 07eadc6 + 458c1d1 commit eec7b23
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 0 deletions.
82 changes: 82 additions & 0 deletions src/@images/deltaDAO_Logo_small_RGB_positiv.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions src/components/@shared/Page/PageHeader.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@
hyphens: auto;
}

.homeTitleContainer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.homeTitleContainer h1 {
margin-bottom: calc(var(--spacer) / 2);
}

.homeTitleContainer h1 span {
display: block;
}
Expand All @@ -38,6 +49,11 @@
margin-bottom: 0;
}

.homeTitleContainer svg {
width: 15rem;
height: 5rem;
}

.center,
.search {
margin-left: auto;
Expand Down
8 changes: 8 additions & 0 deletions src/components/@shared/Page/PageHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import classNames from 'classnames/bind'
import styles from './PageHeader.module.css'
import Markdown from '@shared/Markdown'
import SearchBar from '@components/Header/SearchBar'
import DeltaDAOLogo from '@images/deltaDAO_Logo_small_RGB_positiv.svg'

const cx = classNames.bind(styles)

Expand Down Expand Up @@ -35,6 +36,13 @@ export default function PageHeader({
</span>
))}
</h1>
<a
href="https://delta-dao.com/"
target="_blank"
rel="noreferrer noopener"
>
<DeltaDAOLogo />
</a>
</div>
) : (
<h1 className={styles.title}>{title}</h1>
Expand Down

0 comments on commit eec7b23

Please sign in to comment.