diff options
author | 2021-01-03 18:18:52 +0000 | |
---|---|---|
committer | 2021-01-03 18:18:52 +0000 | |
commit | 2e674d14ca1cd8037f8bbd33cdf415a2e4970ae1 (patch) | |
tree | 93d2f7186a31cf6502810170d94fc77634c89f4d /src/components/HeaderBar | |
parent | Typo fix in GHA (diff) | |
parent | Adds Pre-commit Hook (diff) |
Merge pull request #72 from python-discord/dev-workflow
Update Developer Workflow
Diffstat (limited to 'src/components/HeaderBar')
-rw-r--r-- | src/components/HeaderBar/index.tsx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/components/HeaderBar/index.tsx b/src/components/HeaderBar/index.tsx index b789ddb..dfe3957 100644 --- a/src/components/HeaderBar/index.tsx +++ b/src/components/HeaderBar/index.tsx @@ -16,17 +16,17 @@ width: 100%; transition: height 1s; `; -function HeaderBar({ title }: HeaderBarProps) { - if (!title) { - title = "Python Discord Forms"; - }; +function HeaderBar({ title }: HeaderBarProps): JSX.Element { + if (!title) { + title = "Python Discord Forms"; + } - return <div> - <div> - <Header1 css={headerImageStyles}/> - <Header2 css={headerImageStyles}/> - </div> - <h1 css={css` + return <div> + <div> + <Header1 css={headerImageStyles}/> + <Header2 css={headerImageStyles}/> + </div> + <h1 css={css` font-size: 4vw; margin: 0; margin-top: 30px; @@ -51,9 +51,9 @@ function HeaderBar({ title }: HeaderBarProps) { margin-left: 0; } `}> - {title} - </h1> - </div> + {title} + </h1> + </div>; } export default HeaderBar; |