Skip to content

Commit 8359aa3

Browse files
committed
add favicon
1 parent 6a6d01d commit 8359aa3

File tree

6 files changed

+183
-2
lines changed

6 files changed

+183
-2
lines changed

.github/workflows/ci.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Build and verify
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
9+
jobs:
10+
frontend:
11+
name: Frontend build
12+
runs-on: ubuntu-latest
13+
env:
14+
CI: true
15+
defaults:
16+
run:
17+
working-directory: frontend
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v4
21+
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: 20
26+
cache: npm
27+
cache-dependency-path: frontend/package-lock.json
28+
29+
- name: Install dependencies
30+
run: npm ci
31+
32+
- name: Build SvelteKit app
33+
run: npm run build
34+
35+
- name: Upload build artifacts
36+
if: always()
37+
uses: actions/upload-artifact@v4
38+
with:
39+
name: frontend-build
40+
path: frontend/.svelte-kit/cloudflare
41+
42+
backend:
43+
name: Backend check
44+
runs-on: ubuntu-latest
45+
defaults:
46+
run:
47+
working-directory: rustytime
48+
steps:
49+
- name: Checkout repository
50+
uses: actions/checkout@v4
51+
52+
- name: Setup Rust toolchain
53+
uses: dtolnay/rust-toolchain@stable
54+
55+
- name: Cache cargo directories
56+
uses: Swatinem/rust-cache@v2
57+
58+
- name: Cargo check
59+
run: cargo check --all-targets

frontend/src/lib/assets/favicon.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 119 additions & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

frontend/src/routes/+layout.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import '../app.css';
3-
import favicon from '$lib/assets/favicon.svg';
3+
import favicon from '$lib/assets/rustytime.svg';
44
import { page } from '$app/state';
55
import AuthErrorWarning from '$lib/components/AuthErrorWarning.svelte';
66
import SideBar from '$lib/components/SideBar.svelte';

frontend/wrangler.jsonc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
},
99
"compatibility_date": "2025-09-01",
1010
"compatibility_flags": ["nodejs_compat"],
11+
"placement": {
12+
"mode": "smart"
13+
},
1114
"workers_dev": false,
1215
"routes": [
1316
{

0 commit comments

Comments
 (0)