Skip to content

Commit f6ca2d0

Browse files
committed
chore: floating dock ui update & dvh update
1 parent 674b93f commit f6ca2d0

File tree

5 files changed

+38
-139
lines changed

5 files changed

+38
-139
lines changed

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,18 @@
1111
"dependencies": {
1212
"@splinetool/react-spline": "^4.1.0",
1313
"@splinetool/runtime": "^1.10.39",
14-
"@supabase/supabase-js": "^2.43.1",
1514
"@tabler/icons-react": "^3.34.1",
1615
"@uiw/react-md-editor": "^3.20.5",
1716
"class-variance-authority": "^0.7.1",
1817
"clsx": "^2.1.1",
1918
"eslint": "^9.32.0",
2019
"eslint-config-next": "^15.4.5",
21-
"framer-motion": "^12.0.0-alpha.0",
2220
"intlayer": "^5.7.5",
2321
"lodash": "^4.17.21",
2422
"lucide-react": "^0.536.0",
2523
"motion": "^12.23.12",
2624
"next": "^15.4.5",
2725
"next-intlayer": "^5.7.5",
28-
"next-view-transitions": "^0.3.4",
2926
"react": "^19.1.0",
3027
"react-dom": "^19.1.0",
3128
"react-markdown": "^9.0.1",

src/app/[locale]/_components/main-container.tsx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,22 @@ const MainContainer = () => {
2626
{
2727
title: content.posts.title,
2828
href: 'https://velog.io/@henrynoowah/posts',
29-
icon: <IconBlockquote />,
29+
icon: <IconBlockquote className="size-full" />,
3030
},
3131
{
3232
title: content.about.title,
3333
href: '/about',
34-
icon: <IconUserBitcoin />,
34+
icon: <IconUserBitcoin className="size-full" />,
3535
},
3636
{
3737
title: content.github.title,
3838
href: 'https://www.github.com/henrynoowah',
39-
icon: <IconBrandGithub />,
39+
icon: <IconBrandGithub className="size-full" />,
4040
},
4141
{
4242
href: `#chat`,
4343
title: content.chat.title,
44-
icon: <IconMessageCircle />,
44+
icon: <IconMessageCircle className="size-full" />,
4545
},
4646
];
4747

@@ -65,11 +65,14 @@ const MainContainer = () => {
6565
};
6666

6767
return (
68-
<BackgroundGradientAnimation className="pointer-events-auto">
68+
<BackgroundGradientAnimation
69+
className="pointer-events-auto"
70+
containerClassName="h-dvh"
71+
>
6972
<div
7073
className="absolute w-full h-full
7174
flex justify-center items-center z-30 pointer-events-none"
72-
style={{ filter: 'grayscale(1) contrast(1.75)' }}
75+
style={{ filter: 'grayscale(1) contrast(2)' }}
7376
>
7477
<Spline scene={scene} onLoad={onLoad} />
7578
</div>
@@ -88,7 +91,7 @@ const MainContainer = () => {
8891
<ChatBox isOpen={isBotChatOpened} />
8992
</div>
9093

91-
<div className="absolute bottom-4 left-1/2 transform -translate-x-1/2 z-50">
94+
<div className="absolute bottom-4 right-4 md:right-1/2 transform md:translate-x-1/2 z-50">
9295
<FloatingDock items={navList} />
9396
</div>
9497
</BackgroundGradientAnimation>

src/app/[locale]/layout.tsx

Lines changed: 24 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { getHTMLTextDir } from 'intlayer';
22
import { Metadata } from 'next';
33
import type { NextLayoutIntlayer } from 'next-intlayer';
4-
import { ViewTransitions } from 'next-view-transitions';
54

65
const title = 'NoowaH Blog';
76
const description = "Welcome to NoowaH's blog";
@@ -40,32 +39,30 @@ const LocaleLayout: NextLayoutIntlayer = async ({ children, params }) => {
4039
const { locale } = await params;
4140

4241
return (
43-
<ViewTransitions>
44-
<html lang={locale} dir={getHTMLTextDir(locale)}>
45-
<head>
46-
<link
47-
rel="apple-touch-icon"
48-
sizes="180x180"
49-
href="/apple-touch-icon.png"
50-
/>
51-
<link
52-
rel="icon"
53-
type="image/png"
54-
sizes="32x32"
55-
href="/favicon-32x32.png"
56-
/>
57-
<link
58-
rel="icon"
59-
type="image/png"
60-
sizes="16x16"
61-
href="/favicon-16x16.png"
62-
/>
63-
<link rel="shortcut icon" href="#" />
64-
<link rel="manifest" href="/site.webmanifest" />
65-
</head>
66-
<body suppressHydrationWarning={true}>{children}</body>
67-
</html>
68-
</ViewTransitions>
42+
<html lang={locale} dir={getHTMLTextDir(locale)}>
43+
<head>
44+
<link
45+
rel="apple-touch-icon"
46+
sizes="180x180"
47+
href="/apple-touch-icon.png"
48+
/>
49+
<link
50+
rel="icon"
51+
type="image/png"
52+
sizes="32x32"
53+
href="/favicon-32x32.png"
54+
/>
55+
<link
56+
rel="icon"
57+
type="image/png"
58+
sizes="16x16"
59+
href="/favicon-16x16.png"
60+
/>
61+
<link rel="shortcut icon" href="#" />
62+
<link rel="manifest" href="/site.webmanifest" />
63+
</head>
64+
<body suppressHydrationWarning={true}>{children}</body>
65+
</html>
6966
);
7067
};
7168

src/components/common/chats/ChatBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { motion } from 'framer-motion';
1+
import { motion } from 'motion/react';
22

33
interface Params {
44
isOpen: boolean;

yarn.lock

Lines changed: 3 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -780,71 +780,6 @@
780780
on-change "^4.0.0"
781781
semver-compare "^1.0.0"
782782

783-
"@supabase/auth-js@2.71.1":
784-
version "2.71.1"
785-
resolved "https://registry.yarnpkg.com/@supabase/auth-js/-/auth-js-2.71.1.tgz#349802c3b8275d62437e755ba73bd0cd8c26cd93"
786-
integrity sha512-mMIQHBRc+SKpZFRB2qtupuzulaUhFYupNyxqDj5Jp/LyPvcWvjaJzZzObv6URtL/O6lPxkanASnotGtNpS3H2Q==
787-
dependencies:
788-
"@supabase/node-fetch" "^2.6.14"
789-
790-
"@supabase/functions-js@2.4.5":
791-
version "2.4.5"
792-
resolved "https://registry.yarnpkg.com/@supabase/functions-js/-/functions-js-2.4.5.tgz#0a87d1a296bb32a1474c9322c932d9bbd4993d74"
793-
integrity sha512-v5GSqb9zbosquTo6gBwIiq7W9eQ7rE5QazsK/ezNiQXdCbY+bH8D9qEaBIkhVvX4ZRW5rP03gEfw5yw9tiq4EQ==
794-
dependencies:
795-
"@supabase/node-fetch" "^2.6.14"
796-
797-
"@supabase/node-fetch@2.6.15", "@supabase/node-fetch@^2.6.14":
798-
version "2.6.15"
799-
resolved "https://registry.yarnpkg.com/@supabase/node-fetch/-/node-fetch-2.6.15.tgz#731271430e276983191930816303c44159e7226c"
800-
integrity sha512-1ibVeYUacxWYi9i0cf5efil6adJ9WRyZBLivgjs+AUpewx1F3xPi7gLgaASI2SmIQxPoCEjAsLAzKPgMJVgOUQ==
801-
dependencies:
802-
whatwg-url "^5.0.0"
803-
804-
"@supabase/node-fetch@^2.6.13":
805-
version "2.6.13"
806-
resolved "https://registry.yarnpkg.com/@supabase/node-fetch/-/node-fetch-2.6.13.tgz#0d36219a9e2134049a7317591e1d4fbf73a42ec4"
807-
integrity sha512-rEHQaDVzxLZMCK3p+JW2nzEsK4AJpOQhetppaqAzrFum0Ub8wcnoM/8f1dWRZSulY5fRDP6rJaWT/8X3VleCzg==
808-
dependencies:
809-
whatwg-url "^5.0.0"
810-
811-
"@supabase/postgrest-js@1.19.4":
812-
version "1.19.4"
813-
resolved "https://registry.yarnpkg.com/@supabase/postgrest-js/-/postgrest-js-1.19.4.tgz#41de1e4310ce8ddba87becd7e0878f4ad7a659a2"
814-
integrity sha512-O4soKqKtZIW3olqmbXXbKugUtByD2jPa8kL2m2c1oozAO11uCcGrRhkZL0kVxjBLrXHE0mdSkFsMj7jDSfyNpw==
815-
dependencies:
816-
"@supabase/node-fetch" "^2.6.14"
817-
818-
"@supabase/realtime-js@2.11.15":
819-
version "2.11.15"
820-
resolved "https://registry.yarnpkg.com/@supabase/realtime-js/-/realtime-js-2.11.15.tgz#74e520eee0dda51fdc83902abaaefacad6f3f0a9"
821-
integrity sha512-HQKRnwAqdVqJW/P9TjKVK+/ETpW4yQ8tyDPPtRMKOH4Uh3vQD74vmj353CYs8+YwVBKubeUOOEpI9CT8mT4obw==
822-
dependencies:
823-
"@supabase/node-fetch" "^2.6.13"
824-
"@types/phoenix" "^1.6.6"
825-
"@types/ws" "^8.18.1"
826-
isows "^1.0.7"
827-
ws "^8.18.2"
828-
829-
"@supabase/storage-js@^2.10.4":
830-
version "2.10.4"
831-
resolved "https://registry.yarnpkg.com/@supabase/storage-js/-/storage-js-2.10.4.tgz#b7188adef265df8ce52fc54d289c36de85dac936"
832-
integrity sha512-cvL02GarJVFcNoWe36VBybQqTVRq6wQSOCvTS64C+eyuxOruFIm1utZAY0xi2qKtHJO3EjKaj8iWJKySusDmAQ==
833-
dependencies:
834-
"@supabase/node-fetch" "^2.6.14"
835-
836-
"@supabase/supabase-js@^2.43.1":
837-
version "2.53.0"
838-
resolved "https://registry.yarnpkg.com/@supabase/supabase-js/-/supabase-js-2.53.0.tgz#ccf1d97e66b47ae4d7e0c7982a5b02b45afb94df"
839-
integrity sha512-Vg9sl0oFn55cCPaEOsDsRDbxOVccxRrK/cikjL1XbywHEOfyA5SOOEypidMvQLwgoAfnC2S4D9BQwJDcZs7/TQ==
840-
dependencies:
841-
"@supabase/auth-js" "2.71.1"
842-
"@supabase/functions-js" "2.4.5"
843-
"@supabase/node-fetch" "2.6.15"
844-
"@supabase/postgrest-js" "1.19.4"
845-
"@supabase/realtime-js" "2.11.15"
846-
"@supabase/storage-js" "^2.10.4"
847-
848783
"@swc/helpers@0.5.15":
849784
version "0.5.15"
850785
resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.5.15.tgz#79efab344c5819ecf83a43f3f9f811fc84b516d7"
@@ -1185,11 +1120,6 @@
11851120
resolved "https://registry.yarnpkg.com/@types/parse5/-/parse5-6.0.3.tgz#705bb349e789efa06f43f128cef51240753424cb"
11861121
integrity sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==
11871122

1188-
"@types/phoenix@^1.6.6":
1189-
version "1.6.6"
1190-
resolved "https://registry.yarnpkg.com/@types/phoenix/-/phoenix-1.6.6.tgz#3c1ab53fd5a23634b8e37ea72ccacbf07fbc7816"
1191-
integrity sha512-PIzZZlEppgrpoT2QgbnDU+MMzuR6BbCjllj0bM70lWoejMeNJAxCchxnv7J3XFkI8MpygtRpzXrIlmWUBclP5A==
1192-
11931123
"@types/prismjs@^1.0.0":
11941124
version "1.26.5"
11951125
resolved "https://registry.yarnpkg.com/@types/prismjs/-/prismjs-1.26.5.tgz#72499abbb4c4ec9982446509d2f14fb8483869d6"
@@ -1275,7 +1205,7 @@
12751205
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.11.tgz#11af57b127e32487774841f7a4e54eab166d03c4"
12761206
integrity sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==
12771207

1278-
"@types/ws@^8.18.1", "@types/ws@^8.5.10":
1208+
"@types/ws@^8.5.10":
12791209
version "8.18.1"
12801210
resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.18.1.tgz#48464e4bf2ddfd17db13d845467f6070ffea4aa9"
12811211
integrity sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==
@@ -3101,7 +3031,7 @@ forwarded@0.2.0:
31013031
resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811"
31023032
integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==
31033033

3104-
framer-motion@^12.0.0-alpha.0, framer-motion@^12.23.12:
3034+
framer-motion@^12.23.12:
31053035
version "12.23.12"
31063036
resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-12.23.12.tgz#80cf6fd7c111073a0c558e336c85ca36cca80d3d"
31073037
integrity sha512-6e78rdVtnBvlEVgu6eFEAgG9v3wLnYEboM8I5O5EXvfKC8gxGQB8wXJdhkMy10iVcn05jl6CNw7/HTsTCfwcWg==
@@ -4005,11 +3935,6 @@ isexe@^2.0.0:
40053935
resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
40063936
integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==
40073937

4008-
isows@^1.0.7:
4009-
version "1.0.7"
4010-
resolved "https://registry.yarnpkg.com/isows/-/isows-1.0.7.tgz#1c06400b7eed216fbba3bcbd68f12490fc342915"
4011-
integrity sha512-I1fSfDCZL5P0v33sVqeTDSpcstAg/N+wF5HS033mogOVIp4B+oHC7oOCsA3axAbBSGTJ8QubbNmnIRN/h8U7hg==
4012-
40133938
iterator.prototype@^1.1.4:
40143939
version "1.1.5"
40153940
resolved "https://registry.yarnpkg.com/iterator.prototype/-/iterator.prototype-1.1.5.tgz#12c959a29de32de0aa3bbbb801f4d777066dae39"
@@ -5353,11 +5278,6 @@ next-intlayer@^5.7.5:
53535278
node-loader "^2.1.0"
53545279
react-intlayer "5.7.5"
53555280

5356-
next-view-transitions@^0.3.4:
5357-
version "0.3.4"
5358-
resolved "https://registry.yarnpkg.com/next-view-transitions/-/next-view-transitions-0.3.4.tgz#442372e1d55f25d565c063032231980784e224f0"
5359-
integrity sha512-SSiskenQ8JkEFGzPjvFwC5LGGoqgTxM5dxexkeugxvcXFLpWI2ZUh4IsCURD3ovW+8Ue7xXlrtrpy8b7XR7IwQ==
5360-
53615281
next@^15.4.5:
53625282
version "15.4.5"
53635283
resolved "https://registry.yarnpkg.com/next/-/next-15.4.5.tgz#88bd5dae80a9d9efcfd8e2bd7d444ae3b9fec407"
@@ -6804,11 +6724,6 @@ toidentifier@1.0.1:
68046724
resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35"
68056725
integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==
68066726

6807-
tr46@~0.0.3:
6808-
version "0.0.3"
6809-
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
6810-
integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==
6811-
68126727
tree-dump@^1.0.1:
68136728
version "1.0.3"
68146729
resolved "https://registry.yarnpkg.com/tree-dump/-/tree-dump-1.0.3.tgz#2f0e42e77354714418ed7ab44291e435ccdb0f80"
@@ -7202,11 +7117,6 @@ web-namespaces@^2.0.0:
72027117
resolved "https://registry.yarnpkg.com/web-namespaces/-/web-namespaces-2.0.1.tgz#1010ff7c650eccb2592cebeeaf9a1b253fd40692"
72037118
integrity sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==
72047119

7205-
webidl-conversions@^3.0.0:
7206-
version "3.0.1"
7207-
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"
7208-
integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==
7209-
72107120
webpack-dev-middleware@^7.4.2:
72117121
version "7.4.2"
72127122
resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-7.4.2.tgz#40e265a3d3d26795585cff8207630d3a8ff05877"
@@ -7303,14 +7213,6 @@ websocket-extensions@>=0.1.1:
73037213
resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42"
73047214
integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==
73057215

7306-
whatwg-url@^5.0.0:
7307-
version "5.0.0"
7308-
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d"
7309-
integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==
7310-
dependencies:
7311-
tr46 "~0.0.3"
7312-
webidl-conversions "^3.0.0"
7313-
73147216
which-boxed-primitive@^1.0.2, which-boxed-primitive@^1.1.0, which-boxed-primitive@^1.1.1:
73157217
version "1.1.1"
73167218
resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz#d76ec27df7fa165f18d5808374a5fe23c29b176e"
@@ -7376,7 +7278,7 @@ word-wrap@^1.2.5:
73767278
resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34"
73777279
integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==
73787280

7379-
ws@^8.18.0, ws@^8.18.2:
7281+
ws@^8.18.0:
73807282
version "8.18.3"
73817283
resolved "https://registry.yarnpkg.com/ws/-/ws-8.18.3.tgz#b56b88abffde62791c639170400c93dcb0c95472"
73827284
integrity sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==

0 commit comments

Comments
 (0)