diff --git a/package.json b/package.json index 1be51e14..956b0627 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,16 @@ "expiration" ], "devDependencies": { - "bumpp": "^9.5.2" + "bumpp": "^9.11.1" + }, + "pnpm": { + "overrides": { + "tar": ">=7.5.7", + "esbuild": ">=0.25.0", + "cross-spawn": ">=7.0.5", + "undici": ">=6.23.0", + "@eslint/plugin-kit": ">=0.3.4", + "tmp": ">=0.2.4" + } } } diff --git a/packages/app-client/index.html b/packages/app-client/index.html index b0a540d3..3378890e 100644 --- a/packages/app-client/index.html +++ b/packages/app-client/index.html @@ -4,10 +4,10 @@ - Enclosed - Send private and secure notes + TWN - Send private and secure notes - - + + @@ -15,15 +15,15 @@ - - + + - - + + @@ -38,16 +38,16 @@ { "@context": "https://schema.org", "@type": "WebApplication", - "name": "Enclosed", + "name": "TWN", "url": "https://enclosed.cc/", - "description": "Send private and secure notes with end-to-end encryption. Enclosed offers configurable security features like passwords, expiration times, and self-destruction after reading.", + "description": "Send private and secure notes with end-to-end encryption. TWN offers configurable security features like passwords, expiration times, and self-destruction after reading.", "applicationCategory": "Utilities", "operatingSystem": "Web", "browserRequirements": "Requires JavaScript", "image": "https://enclosed.cc/og-image.png", "creator": { "@type": "Organization", - "name": "Enclosed" + "name": "TWN" } } @@ -55,8 +55,8 @@ -

Enclosed - Send Private and Secure Notes

-

Enclosed is a secure platform for sending private notes. All notes are end-to-end encrypted with zero knowledge on the server side.

+

TWN - Send Private and Secure Notes

+

TWN is a secure platform for sending private notes. All notes are end-to-end encrypted with zero knowledge on the server side.

diff --git a/packages/app-client/package.json b/packages/app-client/package.json index 4f7728ec..cec5ef37 100644 --- a/packages/app-client/package.json +++ b/packages/app-client/package.json @@ -30,34 +30,34 @@ "dependencies": { "@corentinth/chisels": "catalog:", "@enclosed/lib": "workspace:*", - "@kobalte/core": "^0.13.4", - "@solid-primitives/i18n": "^2.1.1", - "@solid-primitives/storage": "^4.2.1", - "@solidjs/router": "^0.14.3", - "@unocss/reset": "^0.64.0", - "class-variance-authority": "^0.7.0", + "@kobalte/core": "^0.13.11", + "@solid-primitives/i18n": "^2.2.1", + "@solid-primitives/storage": "^4.3.3", + "@solidjs/router": "^0.14.10", + "@unocss/reset": "^0.64.1", + "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "jszip": "^3.10.1", - "lodash-es": "^4.17.21", - "solid-js": "^1.9.5", + "lodash-es": "^4.17.23", + "solid-js": "^1.9.11", "solid-sonner": "^0.2.8", - "tailwind-merge": "^2.5.2", - "unocss-preset-animations": "^1.1.0", + "tailwind-merge": "^2.6.0", + "unocss-preset-animations": "^1.3.0", "uqr": "^0.1.2" }, "devDependencies": { "@antfu/eslint-config": "catalog:", - "@iconify-json/tabler": "^1.2.17", - "@playwright/test": "^1.46.1", + "@iconify-json/tabler": "^1.2.26", + "@playwright/test": "^1.58.0", "@types/lodash-es": "^4.17.12", "@types/node": "catalog:", "eslint": "catalog:", - "jsdom": "^25.0.0", - "tsx": "^4.19.3", + "jsdom": "^25.0.1", + "tsx": "^4.21.0", "typescript": "catalog:", - "unocss": "^0.64.0", - "vite": "^5.0.11", - "vite-plugin-solid": "^2.11.6", + "unocss": "^0.64.1", + "vite": "^5.4.21", + "vite-plugin-solid": "^2.11.10", "vitest": "catalog:" } } diff --git a/packages/app-client/src/locales/en.json b/packages/app-client/src/locales/en.json index de370e20..a1438cf7 100644 --- a/packages/app-client/src/locales/en.json +++ b/packages/app-client/src/locales/en.json @@ -1,6 +1,6 @@ { "app": { - "title": "Enclosed", + "title": "TWN", "description": "Send private and secure notes" }, "insecureContextWarning": { @@ -23,23 +23,33 @@ "system-mode": "System" }, "settings": { - "documentation": "Documentation", - "cli": "Enclosed CLI", - "support": "Support Enclosed", - "report-bug": "Report a bug", + "twn-it": "TWN IT", + "learning-platform": "Learning Platform", + "trust-centre": "Trust Centre", + "about": "About", + "privacy": "Privacy", + "terms": "Terms", + "report-bug": "Report Issue", "logout": "Logout", "contribute-to-i18n": "Contribute to i18n" } }, "footer": { - "crafted-by": "Crafted by", + "hosted-by": "Hosted with Cloudflare Pages + KV By TWN", + "twn-it": "TWN IT", + "learning-platform": "Learning Platform", + "trust-centre": "Trust Centre", + "about": "About", + "privacy": "Privacy", + "terms": "Terms", + "report-issue": "Report Issue", "source-code": "Source code available on", "github": "GitHub", "version": "Version" }, "login": { - "title": "Login to Enclosed", - "description": "This is a private instance of Enclosed. Enter your credentials to be able to create notes.", + "title": "Login to TWN", + "description": "This is a private instance of TWN. Enter your credentials to be able to create notes.", "email": "Email", "password": "Password", "submit": "Login", diff --git a/packages/app-client/src/modules/ui/components/logo.tsx b/packages/app-client/src/modules/ui/components/logo.tsx new file mode 100644 index 00000000..c558ce80 --- /dev/null +++ b/packages/app-client/src/modules/ui/components/logo.tsx @@ -0,0 +1,31 @@ +import type { Component, JSX } from 'solid-js'; + +export const Logo: Component<{ class?: string } & JSX.SvgSVGAttributes> = (props) => { + return ( + + {/* 3D House base */} + + + {/* Roof */} + + + {/* Chimney */} + + {/* Front windows */} + + + {/* Door */} + + {/* Side window */} + + {/* TWN Text */} + TWN + + ); +}; diff --git a/packages/app-client/src/modules/ui/layouts/app.layout.tsx b/packages/app-client/src/modules/ui/layouts/app.layout.tsx index f2a8a022..7e17d5aa 100644 --- a/packages/app-client/src/modules/ui/layouts/app.layout.tsx +++ b/packages/app-client/src/modules/ui/layouts/app.layout.tsx @@ -7,6 +7,7 @@ import { useNoteContext } from '@/modules/notes/notes.context'; import { cn } from '@/modules/shared/style/cn'; import { useThemeStore } from '@/modules/theme/theme.store'; import { Button } from '@/modules/ui/components/button'; +import { Logo } from '@/modules/ui/components/logo'; import { DropdownMenu } from '@kobalte/core/dropdown-menu'; import { A, useNavigate } from '@solidjs/router'; @@ -61,7 +62,7 @@ const LanguageSwitcher: Component = () => { - + {t('navbar.settings.contribute-to-i18n')} @@ -89,8 +90,8 @@ export const Navbar: Component = () => {
-