Skip to content

Commit

Permalink
Add link for ask question button
Browse files Browse the repository at this point in the history
  • Loading branch information
samchuk-vlad committed Mar 13, 2024
1 parent c903d75 commit f24d1c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/components/energy/Energy.module.sass
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,11 @@

margin-bottom: $space_normal

button
a
width: fit-content
display: flex
align-items: center
justify-content: center

.QuestionTitle
font-size: $font_large
Expand Down
2 changes: 1 addition & 1 deletion src/components/energy/QuestionSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const QuestionSection = () => {
<div className={styles.QuestionWrapper}>
<div className={styles.QuestionTitle}>Still have questions?</div>

<Button type='primary' size='large' shape='round' ghost>
<Button type='primary' size='large' href='/c/ask' target='__blank' shape='round' ghost>
Ask in chat
</Button>
</div>
Expand Down

0 comments on commit f24d1c5

Please sign in to comment.