Skip to content

Commit

Permalink
Make some minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelsanchez2 committed Jun 5, 2024
1 parent 72278cb commit bf012f1
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 8 deletions.
20 changes: 17 additions & 3 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
{
"$schema": "https://json.schemastore.org/web-manifest-combined.json",
"name": "qwik-project-name",
"short_name": "Welcome to Qwik",
"name": "collabender",
"short_name": "Collabender",
"start_url": ".",
"display": "standalone",
"background_color": "#fff",
"description": "A Qwik project app."
"theme_color": "#fff",
"description": "A collaborative calendar app you cannot miss.",
"screenshots": [
{
"src": "/screenshot.png",
"type": "image/png",
"sizes": "862x568"
},
{
"src": "/screenshot.png",
"type": "image/png",
"sizes": "862x568",
"form_factor": "wide"
}
]
}
Binary file added public/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/appointment-modal/add-appointment-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const AddAppointmentModal = component$(
name="title"
id="title"
type="text"
class="w-full border border-grayBrandMedium rounded-md px-4 py-2"
class="w-full border border-grayBrandMedium rounded-md px-4 py-2 bg-white"
/>
</div>

Expand All @@ -175,7 +175,7 @@ export const AddAppointmentModal = component$(
name="date"
id="date"
type="date"
class="w-full border border-grayBrandMedium rounded-md px-4 py-2"
class="w-full border border-grayBrandMedium rounded-md px-4 py-2 bg-white"
defaultValue={defaultOptionForDate.value}
/>
<div class="pl-4 bg-white absolute right-2 top-1/2 -translate-y-1/2 pointer-events-none">
Expand Down
5 changes: 2 additions & 3 deletions src/components/appointment-modal/edit-appointment-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export const EditAppointmentModal = component$(
const startTimeValue =
document.querySelector<HTMLInputElement>('#time_start')?.value


const startTimeFromHoursToSeconds =
Number(startTimeValue?.split(':')[0]) * 60 +
Number(startTimeValue?.split(':')[1])
Expand Down Expand Up @@ -153,7 +152,7 @@ export const EditAppointmentModal = component$(
name="title"
id="title"
type="text"
class="w-full border border-grayBrandMedium rounded-md px-4 py-2"
class="w-full border border-grayBrandMedium rounded-md px-4 py-2 bg-white"
/>
</div>

Expand All @@ -171,7 +170,7 @@ export const EditAppointmentModal = component$(
name="date"
id="date"
type="date"
class="w-full border border-grayBrandMedium rounded-md px-4 py-2"
class="w-full border border-grayBrandMedium rounded-md px-4 py-2 bg-white"
value={editModalData.date}
/>
<div class="pl-4 bg-white absolute right-2 top-1/2 -translate-y-1/2 pointer-events-none">
Expand Down
28 changes: 28 additions & 0 deletions src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,5 +322,33 @@ export const head: DocumentHead = {
name: 'description',
content: 'Crea una app de calendario compartida con Qwik!',
},
{
name: 'keywords',
content: 'time management, shared time management app, calendar app',
},
{
name: 'author',
content: 'manuelsanchezweb',
},
{
name: 'og:image',
content: 'https://qwik-calendar.vercel.app/screenshot.png',
},
{
name: 'twitter:image',
content: 'https://qwik-calendar.vercel.app/screenshot.png',
},
{
name: 'twitter:card',
content: 'summary_large_image',
},
{
name: 'twitter:title',
content: 'Calendar App with Qwik',
},
{
name: 'twitter:description',
content: 'Collaborative calendar app with Qwik',
},
],
}

0 comments on commit bf012f1

Please sign in to comment.