Skip to content

feat: Add GitHub button to title bar #2560

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

Open
wants to merge 6 commits into
base: main
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ storybook-static/

# End of https://www.toptal.com/developers/gitignore/api/vscode,nuxtjs,node

# webstorm
.idea/*

# Automatically generated files
apollo/gql.ts
apollo/graphql.ts
Expand Down
5 changes: 3 additions & 2 deletions components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
>
<jabref-logo class="w-10 flex-none" />
<span
class="ml-3 flex-1 text-gray-900 text-2xl font-semibold lg:inline-block hidden"
class="ml-3 flex-1 text-gray-900 text-2xl font-semibold xl:inline-block hidden"
>
JabRef</span
>
Expand Down Expand Up @@ -110,6 +110,7 @@
</div>
</div>
</slot>

</div>

<!-- User profile -->
Expand Down Expand Up @@ -197,7 +198,7 @@ import { useUiStore } from '~/store'
const isHamburgerShown = ref(false)
const hamburgerMenu = ref<typeof NPopover | null>(null)

const isSmallDisplay = useBreakpoints(breakpointsTailwind).smallerOrEqual('md')
const isSmallDisplay = useBreakpoints(breakpointsTailwind).smallerOrEqual('lg')

defineProps({
showLogo: {
Expand Down
4 changes: 4 additions & 0 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ const links = [
title: 'Support',
href: '#support',
},
{
title: 'GitHub',
href: 'https://github.com/JabRef/jabref',
},
{
title: 'News',
href: 'https://blog.jabref.org/',
Expand Down