Skip to content

Commit

Permalink
GitHub link
Browse files Browse the repository at this point in the history
  • Loading branch information
bioshazard committed Oct 21, 2023
1 parent c8ae6ad commit d038d69
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
17 changes: 17 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"namesgenerator": "^0.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-github-btn": "^1.4.0",
"react-markdown": "^8.0.7",
"react-modal": "^3.16.1",
"react-router-dom": "^6.16.0",
Expand Down
10 changes: 8 additions & 2 deletions src/components/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { Link, useNavigate } from "react-router-dom";
import { supabase } from "../hooks/useSupabase";
import { Store } from "../hooks/useStore";
import { v4 as uuidv4 } from 'uuid';
import GitHubButton from "react-github-btn";


export default function Home(props) {
const navigate = useNavigate()
Expand Down Expand Up @@ -64,8 +66,12 @@ export default function Home(props) {
return (

<>
<h1 className='text-2xl flex p-2'>
<Link to="/">☕ Coffee</Link>
<h1 className='text-2xl p-2'>
<div className="float-right">
{/* <GitHubButton href="https://github.com/bioshazard/coffee" data-show-count="true" data-size="large" aria-label="Star bioshazard/coffee on GitHub">Star</GitHubButton> */}
<GitHubButton href="https://github.com/bioshazard/coffee/issues" data-size="large" data-show-count="true" aria-label="Issue bioshazard/coffee on GitHub">Feedback & Ideas</GitHubButton>
</div>
<Link to="/">☕ Clean Coffee</Link>
</h1>
<div className="flex flex-1 overflow-auto flex-row">
<div className="px-4 border-r">
Expand Down

0 comments on commit d038d69

Please sign in to comment.