Skip to content

Commit

Permalink
render the version
Browse files Browse the repository at this point in the history
  • Loading branch information
ubermanu committed Sep 24, 2023
1 parent 394c52e commit 409c4d6
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 21 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
},
"license": "MIT",
"author": "Emmanuel Vodor <[email protected]>",
"exports": {
"./package.json": "./package.json"
},
"files": [
"dist"
],
Expand Down
28 changes: 11 additions & 17 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sites/roller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"preview": "vite preview"
},
"devDependencies": {
"@fontsource/suez-one": "^5.0.12",
"@sveltejs/adapter-static": "^2.0.3",
"@sveltejs/kit": "^1.20.4",
"@tailwindcss/typography": "^0.5.10",
"@ubermanu/roller": "workspace:*",
"autoprefixer": "^10.4.16",
"postcss": "^8.4.21",
"prettier-plugin-tailwindcss": "^0.5.4",
Expand Down
15 changes: 12 additions & 3 deletions sites/roller/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import firefoxIcon from '$lib/images/firefox.svg'
import rollerIcon from '$lib/images/roller.svg'
import svelteIcon from '$lib/images/svelte.svg'
import pkg from '@ubermanu/roller/package.json'
const downloads = [
{
Expand Down Expand Up @@ -33,12 +34,20 @@
<div class="my-auto">
<img
src={rollerIcon}
class="logo mx-auto max-w-[100px] drop-shadow sm:mb-12 sm:max-w-[120px]"
class="logo mx-auto mb-12 max-w-[100px] drop-shadow sm:max-w-[120px]"
alt=""
/>

<div class="prose mx-auto my-10 max-w-xl text-neutral-900">
<h1 class="sr-only">Roller</h1>
<h1 class="my-6 inline-flex items-center gap-2">
<span class="text-5xl font-black">Roller</span>
<span
class="flex rounded bg-blue-300 px-1 py-0.5 text-xs text-neutral-900"
>
v{pkg.version}
</span>
</h1>

<div class="prose mx-auto max-w-xl text-neutral-900">
<p>
<b>Roller</b> is a browser extension that allow auto scrolling of web pages
(on Linux), by pressing the mouse wheel button, and moving the mouse up
Expand Down

0 comments on commit 409c4d6

Please sign in to comment.