chore: Format files.

This commit is contained in:
Elisiário Couto
2025-09-18 23:43:08 +01:00
parent 25747d7d37
commit 848eccb35b
7 changed files with 11 additions and 11 deletions

View File

@@ -143,19 +143,19 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Install git-cliff - name: Install git-cliff
run: | run: |
wget -qO- https://github.com/orhun/git-cliff/releases/latest/download/git-cliff-2.10.0-x86_64-unknown-linux-gnu.tar.gz | tar xz wget -qO- https://github.com/orhun/git-cliff/releases/latest/download/git-cliff-2.10.0-x86_64-unknown-linux-gnu.tar.gz | tar xz
sudo mv git-cliff-*/git-cliff /usr/local/bin/ sudo mv git-cliff-*/git-cliff /usr/local/bin/
- name: Generate release notes - name: Generate release notes
id: release_notes id: release_notes
run: | run: |
echo "notes<<EOF" >> $GITHUB_OUTPUT echo "notes<<EOF" >> $GITHUB_OUTPUT
git-cliff --current >> $GITHUB_OUTPUT git-cliff --current >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT
- name: Create Release - name: Create Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:

View File

@@ -6,4 +6,4 @@
<TileColor>#3B82F6</TileColor> <TileColor>#3B82F6</TileColor>
</tile> </tile>
</msapplication> </msapplication>
</browserconfig> </browserconfig>

View File

@@ -1,4 +1,4 @@
User-agent: * User-agent: *
Allow: / Allow: /
Sitemap: /sitemap.xml Sitemap: /sitemap.xml

View File

@@ -1,4 +1,4 @@
{ {
"preset": "minimal-2023", "preset": "minimal-2023",
"images": ["public/favicon.svg"] "images": ["public/favicon.svg"]
} }

View File

@@ -33,11 +33,11 @@ export function PWAInstallPrompt({ onInstall }: PWAPromptProps) {
try { try {
await deferredPrompt.prompt(); await deferredPrompt.prompt();
const { outcome } = await deferredPrompt.userChoice; const { outcome } = await deferredPrompt.userChoice;
if (outcome === "accepted") { if (outcome === "accepted") {
onInstall?.(); onInstall?.();
} }
setDeferredPrompt(null); setDeferredPrompt(null);
setShowPrompt(false); setShowPrompt(false);
} catch (error) { } catch (error) {
@@ -153,4 +153,4 @@ export function PWAUpdatePrompt({ updateAvailable, onUpdate }: PWAUpdatePromptPr
</div> </div>
</div> </div>
); );
} }

View File

@@ -34,4 +34,4 @@ export function usePWA(): PWAUpdate {
updateAvailable, updateAvailable,
updateSW, updateSW,
}; };
} }

View File

@@ -29,7 +29,7 @@
--chart-4: 43 74% 66%; --chart-4: 43 74% 66%;
--chart-5: 27 87% 67%; --chart-5: 27 87% 67%;
--radius: 0.5rem; --radius: 0.5rem;
/* iOS Safe Area Support for PWA */ /* iOS Safe Area Support for PWA */
--safe-area-inset-top: env(safe-area-inset-top, 0px); --safe-area-inset-top: env(safe-area-inset-top, 0px);
--safe-area-inset-right: env(safe-area-inset-right, 0px); --safe-area-inset-right: env(safe-area-inset-right, 0px);