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 Github logo #7

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
10 changes: 9 additions & 1 deletion ui/src/components/social/Github.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@ import styles from './social.module.css';

const Github = () => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" className={styles.github}>
<path id="path4" d="m8 0c-4.42 0-8 3.58-8 8 0 3.5 2.29 6.5 5.47 7.6 0.4 0.1 0.55-0.2 0.55-0.4s-0.01-0.8-0.01-1.5c-2.01 0.4-2.53-0.5-2.69-0.9-0.09-0.2-0.48-1-0.82-1.2-0.28-0.1-0.68-0.5-0.01-0.5 0.63 0 1.08 0.6 1.23 0.8 0.72 1.3 1.87 0.9 2.33 0.7 0.07-0.5 0.28-0.9 0.51-1.1-1.78-0.2-3.64-0.9-3.64-3.92 0-0.87 0.31-1.59 0.82-2.15-0.08-0.2-0.36-1.02 0.08-2.12 0 0 0.67-0.21 2.2 0.82 0.64-0.18 1.32-0.27 2-0.27s1.36 0.09 1.98 0.27c1.6-1.04 2.2-0.82 2.2-0.82 0.5 1.1 0.2 1.92 0.1 2.12 0.5 0.56 0.8 1.27 0.8 2.15 0 3.02-1.9 3.72-3.63 3.92 0.29 0.3 0.53 0.8 0.53 1.5v2.2c0 0.2 0.2 0.5 0.6 0.4 3.1-1.1 5.4-4.1 5.4-7.6 0-4.42-3.6-8-8-8z" fill-rule="evenodd" transform="scale(64)" clip-rule="evenodd" fill="#1B1F23"/>
<defs >
<linearGradient id="ghGradient" x2="0.6667" y1="0.2667" x1="0.4167" y2="0.75">
<stop stopColor="#ff00cc" offset="0"/>
<stop stopColor="#00ccff" offset="1"/>
</linearGradient>
</defs>
<g fill="url(#ghGradient)" id="Footer,-Hover" >
<path id="path4" d="m8 0c-4.42 0-8 3.58-8 8 0 3.5 2.29 6.5 5.47 7.6 0.4 0.1 0.55-0.2 0.55-0.4s-0.01-0.8-0.01-1.5c-2.01 0.4-2.53-0.5-2.69-0.9-0.09-0.2-0.48-1-0.82-1.2-0.28-0.1-0.68-0.5-0.01-0.5 0.63 0 1.08 0.6 1.23 0.8 0.72 1.3 1.87 0.9 2.33 0.7 0.07-0.5 0.28-0.9 0.51-1.1-1.78-0.2-3.64-0.9-3.64-3.92 0-0.87 0.31-1.59 0.82-2.15-0.08-0.2-0.36-1.02 0.08-2.12 0 0 0.67-0.21 2.2 0.82 0.64-0.18 1.32-0.27 2-0.27s1.36 0.09 1.98 0.27c1.6-1.04 2.2-0.82 2.2-0.82 0.5 1.1 0.2 1.92 0.1 2.12 0.5 0.56 0.8 1.27 0.8 2.15 0 3.02-1.9 3.72-3.63 3.92 0.29 0.3 0.53 0.8 0.53 1.5v2.2c0 0.2 0.2 0.5 0.6 0.4 3.1-1.1 5.4-4.1 5.4-7.6 0-4.42-3.6-8-8-8z" transform="scale(64)"/>
</g>
</svg>
);

Expand Down
7 changes: 3 additions & 4 deletions ui/src/components/social/social.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,19 @@

.email {}

.facebook stop:first-child, .facebook stop:last-child {
.facebook stop:first-child, .github stop:last-child, .github stop:first-child, .facebook stop:last-child {
stop-color: #fff;
transition: all 0.5s ease-in-out;
}
.facebook:hover stop:first-child{
.facebook:hover stop:first-child, .github:hover stop:first-child{
stop-color: pink;
transition: all 0.5s ease-in-out;
}
.facebook:hover stop:last-child{
.facebook:hover stop:last-child, .github:hover stop:last-child{
stop-color: blue;
transition: all 0.5s ease-in-out;
}

.github {}
/*
.instagram path:first-child, .instagram path:nth-child(2) {
fill: #fff;
Expand Down
2 changes: 2 additions & 0 deletions ui/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { graphql } from 'gatsby';
import Layout from '../layouts/Layout';
import Instagram from '../components/social/Instagram';
import Facebook from '../components/social/Facebook';
import Github from '../components/social/Github';
import Discourse from '../components/social/Discourse';
import Logo from '../../static/media/biopunkkitchen-noBg-centered.svg';
import Hero from '../components/Hero';
Expand Down Expand Up @@ -45,6 +46,7 @@ export default ({ data }) => {
<a href="https://www.instagram.com/biopunx" target="_blank"><Instagram/></a>
<a href="https://www.facebook.com/biopunx" target="_blank"><Facebook/></a>
<a href="https://forum.wilap.de/c/kitchen" target="_blank"><Discourse/></a>
<a href="https://github.com/bioPunkKitchen" target="_blank"><Github/></a>
</div>
<Sticky/>
</section>
Expand Down