Skip to content

Commit 72cb989

Browse files
committed
feat: added readme screenshots
1 parent 34e5687 commit 72cb989

File tree

11 files changed

+30
-3
lines changed

11 files changed

+30
-3
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"@tailwindcss/typography": "^0.5.9",
1414
"@tsconfig/svelte": "^4.0.1",
1515
"@types/node": "^18.15.11",
16+
"@types/ziggy-js": "^1.3.2",
1617
"@typescript-eslint/eslint-plugin": "^5.57.0",
1718
"@typescript-eslint/parser": "^5.57.0",
1819
"autoprefixer": "^10.4.14",

pnpm-lock.yaml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/img/laravelte-dashboard.jpg

-255 KB
Binary file not shown.

public/img/laravelte-dashboard.png

114 KB
Loading

public/img/laravelte-screenshot-1.jpg

-232 KB
Loading

public/img/laravelte-screenshot-7.png

179 KB
Loading

resources/ts/Components/Hero.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
<div class="relative pl-4 -mr-40 sm:mx-auto sm:max-w-3xl sm:px-0 lg:max-w-none lg:h-full lg:pl-12">
121121
<img
122122
class="w-full rounded-md shadow-xl ring-1 ring-black ring-opacity-5 lg:h-full lg:w-auto lg:max-w-none"
123-
src="/img/laravelte-dashboard.jpg"
123+
src="/img/laravelte-dashboard.png"
124124
alt="dashboard"
125125
/>
126126
</div>

resources/ts/Components/Sweet.svelte

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<div class="max-w-4xl mx-auto mt-12">
2+
<h4 class="text-center text-4xl font-extrabold tracking-tight text-gray-200 sm:text-5xl lg:text-6xl">
3+
Typescript + Actions = Sanity
4+
</h4>
5+
<p class="text-center font-semibold mt-5 mb-8">It's the duo we've all been waiting for</p>
6+
<img src="/img/laravelte-screenshot-7.png" alt="laravelte-screenshot-6" class="w-full h-auto" />
7+
</div>

resources/ts/Pages/About.svelte

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import { fly } from 'svelte/transition'
55
import { quintOut } from 'svelte/easing'
66
import { onMount } from 'svelte'
7+
import Sweet from '@/Components/Sweet.svelte'
78
89
let ready = false
910
onMount(() => (ready = true))
@@ -97,4 +98,6 @@
9798
</p>
9899
</div>
99100
</div>
101+
102+
<Sweet />
100103
</div>

resources/ts/Pages/Admin/Components/AdminSidebar.svelte

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@
22
import { Icon, ThemeSwitcher } from '@/Components'
33
import { inertia, page, useForm } from '@inertiajs/svelte'
44
import { createEventDispatcher } from 'svelte'
5+
import type { User } from '@/types'
56
67
const dispatch = createEventDispatcher()
78
89
function handleClick() {
910
dispatch('click')
1011
}
1112
12-
$: auth = $page.props.auth?.user
13+
$: auth = $page.props.auth?.user as User
1314
1415
let form = useForm()
1516
16-
function handleLogout(e) {
17+
function handleLogout(e: MouseEvent) {
1718
e.preventDefault()
1819
1920
$form.post(route('logout'))

0 commit comments

Comments
 (0)