Skip to content

Commit

Permalink
fix: fixed styling, added proper icon (from media submodule), remove …
Browse files Browse the repository at this point in the history
…unused src/index.html
  • Loading branch information
ErikBjare committed Dec 3, 2023
1 parent eb07bd2 commit f76280f
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 27 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Use Node.js
uses: actions/setup-node@v4
with:
Expand All @@ -29,6 +31,8 @@ jobs:
image: mcr.microsoft.com/playwright:v1.40.0-jammy
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Use Node.js
uses: actions/setup-node@v4
with:
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "public/media"]
path = public/media
url = https://github.com/ActivityWatch/media.git
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>ActivityWatch Subscription</title>
<link rel="icon" href="/media/logo/logo.ico">
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ActivityWatch</title>
</head>
<body>
<body class="dark:bg-gray-900 dark:text-gray-100">
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
Expand Down
Binary file removed public/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions public/media
Submodule media added at ae8d37
17 changes: 8 additions & 9 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ import MenuBar from './components/MenuBar.vue'
</script>

<template lang="pug">
div(class="dark:bg-gray-900 dark:text-gray-100")
div.max-w-5xl.mx-auto.h-screen.flex.flex-col
header
MenuBar
main.px-4
RouterView
div.flex-grow
footer.text-center.p-4.text-gray-400.pt-8.text-sm
p Website operated by #[a.link(href="https://superuserlabs.org") Superuser Labs]
div.max-w-5xl.mx-auto.flex.flex-col
header
MenuBar
main.px-4
RouterView
div.flex-grow
footer.text-center.p-4.text-gray-400.pt-8.text-sm
p Website operated by #[a.link(href="https://superuserlabs.org") Superuser Labs]
</template>
15 changes: 0 additions & 15 deletions src/index.html

This file was deleted.

0 comments on commit f76280f

Please sign in to comment.