Skip to content

Commit

Permalink
chore: update version
Browse files Browse the repository at this point in the history
  • Loading branch information
ademilter committed Mar 25, 2023
1 parent 700d23e commit 368a34e
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 20 deletions.
2 changes: 1 addition & 1 deletion components/box.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function BoxBodyRadio({
)}
>
{showBorder && (
<div className="pointer-events-none absolute left-4 -bottom-[2px] right-4 h-px bg-zinc-300 dark:bg-opacity-5" />
<div className="pointer-events-none absolute left-4 -bottom-[2px] right-4 h-px bg-zinc-100 dark:bg-opacity-5" />
)}

<span className="grow">{children}</span>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "namaz-vakti",
"version": "1.2.1",
"version": "1.3.0",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
2 changes: 1 addition & 1 deletion pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default function Document({ locale }: { locale: string }) {
return (
<Html lang={locale}>
<Head />
<body className="scroll-smooth bg-zinc-200 text-zinc-800 antialiased accent-current dark:bg-zinc-900 dark:text-zinc-200">
<body className="scroll-smooth bg-zinc-200 text-zinc-800 antialiased dark:bg-zinc-900 dark:text-zinc-200">
<Main />
<NextScript />
</body>
Expand Down
33 changes: 18 additions & 15 deletions pages/settings/adjust.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ export default function Adjust() {
<div
key={`time${i}`}
className={cx(
"flex items-center bg-zinc-100 px-4 py-3",
"flex items-center px-4 py-4",
"first:rounded-t-xl last:rounded-b-xl",
"dark:bg-zinc-800",
isActive && "bg-zinc-200 dark:bg-zinc-700 dark:bg-opacity-60"
"bg-white dark:bg-zinc-800",
isActive && "bg-blue-50 dark:bg-zinc-700 dark:bg-opacity-60"
)}
>
<span className="grid grow">
Expand All @@ -81,7 +81,7 @@ export default function Adjust() {
{isActive && (
<button
type="button"
className="flex h-8 w-8 items-center justify-center"
className="flex h-10 w-10 items-center justify-center"
onClick={() => onChangeAdjustment(0, i)}
>
{adjustments[i]}
Expand All @@ -90,7 +90,7 @@ export default function Adjust() {

<span className="flex items-center gap-px">
<button
className="flex h-10 w-10 items-center justify-center rounded-l-lg bg-white dark:bg-zinc-700"
className="flex h-10 w-10 items-center justify-center rounded-l-lg bg-zinc-200 dark:bg-zinc-700"
type="button"
onClick={() => onChangeAdjustment(adjustments[i] - 1, i)}
>
Expand All @@ -108,7 +108,7 @@ export default function Adjust() {
</svg>
</button>
<button
className="flex h-10 w-10 items-center justify-center rounded-r-lg bg-white dark:bg-zinc-700"
className="flex h-10 w-10 items-center justify-center rounded-r-lg bg-zinc-200 dark:bg-zinc-700"
type="button"
onClick={() => onChangeAdjustment(adjustments[i] + 1, i)}
>
Expand All @@ -134,19 +134,22 @@ export default function Adjust() {

return (
<SubPage>
<Container className="grid gap-8 pt-8 pb-40">
<Container className="grid gap-8 pt-8">
<p>{t("settingsCustomAdjustmentsDetails")}</p>

<div className="grid gap-px">{Times}</div>

<button
className="mt-auto flex h-12 w-full items-center justify-center rounded-xl bg-current px-4"
onClick={() => onSaveAdjustments()}
>
<span className="text-white dark:text-black">
{t("settingsSave")}
</span>
</button>
<div className="sticky bottom-0 z-20 mt-60 pb-10">
<span className="pointer-events-none absolute inset-x-0 bottom-0 -top-24 -z-10 bg-gradient-to-t from-zinc-200 via-zinc-200 to-transparent dark:from-zinc-900 dark:via-zinc-900 dark:to-transparent" />
<button
className="mt-auto flex h-12 w-full items-center justify-center rounded-xl bg-current px-4"
onClick={() => onSaveAdjustments()}
>
<span className="text-white dark:text-black">
{t("settingsSave")}
</span>
</button>
</div>
</Container>
</SubPage>
);
Expand Down
6 changes: 4 additions & 2 deletions pages/settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function Settings() {

return (
<SubPage>
<Container className="grid pt-8">
<Container className="grid py-8">
<div className="grid gap-6">
<Box>
<Box.Title>{t("settingsCurrentLocation")}</Box.Title>
Expand Down Expand Up @@ -145,6 +145,7 @@ export default function Settings() {

<Box.Body className="rounded-b-none">
<Box.BodyLink
className="py-4"
href="https://github.com/ademilter/vakitler"
target="_blank"
icon={
Expand Down Expand Up @@ -172,6 +173,7 @@ export default function Settings() {
<Box>
<Box.Body className="rounded-t-none">
<Box.BodyLink
className="py-4"
href="https://www.buymeacoffee.com/ademilter"
target="_blank"
icon={
Expand Down Expand Up @@ -206,7 +208,7 @@ export default function Settings() {
<span className="pointer-events-none absolute inset-x-0 bottom-0 -top-24 -z-10 bg-gradient-to-t from-zinc-200 via-zinc-200 to-transparent dark:from-zinc-900 dark:via-zinc-900 dark:to-transparent" />
<Link
href="/"
className=" mt-auto flex h-12 w-full items-center justify-center rounded-xl bg-current px-4"
className="mt-auto flex h-12 w-full items-center justify-center rounded-xl bg-current px-4"
>
<span className="text-white dark:text-black">
{t("settingsSave")}
Expand Down

1 comment on commit 368a34e

@vercel
Copy link

@vercel vercel bot commented on 368a34e Mar 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vakitler – ./

vakitler-git-main-ademilter.vercel.app
vakitler-ademilter.vercel.app
vakitler.vercel.app
vakitler.app

Please sign in to comment.