Skip to content

Commit

Permalink
fix: base url
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Sep 25, 2024
1 parent 7123459 commit 8540596
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
env:
NODE_ENV: production
BASE_PATH: ${{ github.event.repository.name }}
BASE_URL: arthur.run
BASE_URL: https://arthur.run

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
Expand Down
10 changes: 7 additions & 3 deletions src/components/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,20 @@ export default function Page() {

{!pwa.canInstall && !pwa.isInstalled && pwa.userChoice !== UserChoice.DISMISSED && (
<div className='absolute top-0 left-1/2 transform -translate-x-1/2 -translate-y-0 p-2 text-red-800 text-md items-center'>
<button type='button' className='flex gap-1 hover:underline hover:cursor-pointer' onClick={pwa.installPrompt}>
Click here to download and play <span className='font-semibold'>offline</span>!
<button
type='button'
className='flex gap-1 hover:underline hover:cursor-pointer'
onClick={pwa.installPrompt}>
Click here to download and play <span className='font-semibold'>offline</span>
!
</button>
</div>
)}

<div className='absolute bottom-0 left-1/2 transform -translate-x-1/2 -translate-y-0 p-2 text-yellow-800'>
<div className='font-semibold '>
Made with ❤️ by{' '}
<a href='https://arthur.place?' className='hover:underline hover:cursor-pointer' >
<a href='https://arthur.place' className='hover:underline hover:cursor-pointer'>
Arthur Fiorette
</a>
</div>
Expand Down

0 comments on commit 8540596

Please sign in to comment.