Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Repository Link to Github Icon. #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions frontend/src/components/MainView/MainViewHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { ThemePreference } from "../Context/ThemeContext";
export const KOMODOR_COM = "https://komodor.com/";
export const TWITTER_URL = "https://twitter.com/Komodor_com";
export const LINKEDIN_URL = "https://www.linkedin.com/company/komodor-ltd/";
export const GITHUB_URL = "https://github.com/komodorio/validkube";

const Container = styled.div`
padding: 1% 1.5%;
Expand Down Expand Up @@ -109,9 +110,11 @@ const MainViewHeader: React.FC = () => {
<TwitterIcon onClick={() => window.open(TWITTER_URL)} />
</SocialButtonContainer>
<GitContainer>
<GitIcon />
<SocialButtonContainer>
<GitIcon onClick={() => window.open(GITHUB_URL)}></GitIcon>
</SocialButtonContainer>
<GitHubButton
href="https://github.com/komodorio/validkube"
href={GITHUB_URL}
data-color-scheme="no-preference: light; light: light; dark: light;"
data-icon="octicon-star"
data-size="medium"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/MainView/assets/GitIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.