forked from Archives/Athou_commafeed
add welcome page
This commit is contained in:
@@ -31,6 +31,7 @@ import ReactGA from "react-ga4"
|
|||||||
import { HashRouter, Navigate, Route, Routes, useLocation, useNavigate } from "react-router-dom"
|
import { HashRouter, Navigate, Route, Routes, useLocation, useNavigate } from "react-router-dom"
|
||||||
import Tinycon from "tinycon"
|
import Tinycon from "tinycon"
|
||||||
import useLocalStorage from "use-local-storage"
|
import useLocalStorage from "use-local-storage"
|
||||||
|
import { WelcomePage } from "./pages/WelcomePage"
|
||||||
|
|
||||||
function Providers(props: { children: React.ReactNode }) {
|
function Providers(props: { children: React.ReactNode }) {
|
||||||
const preferredColorScheme = useColorScheme()
|
const preferredColorScheme = useColorScheme()
|
||||||
@@ -67,6 +68,7 @@ function AppRoutes() {
|
|||||||
return (
|
return (
|
||||||
<Routes>
|
<Routes>
|
||||||
<Route path="/" element={<Navigate to={`/app/category/${Constants.categories.all.id}`} replace />} />
|
<Route path="/" element={<Navigate to={`/app/category/${Constants.categories.all.id}`} replace />} />
|
||||||
|
<Route path="welcome" element={<WelcomePage />} />
|
||||||
<Route path="login" element={<LoginPage />} />
|
<Route path="login" element={<LoginPage />} />
|
||||||
<Route path="register" element={<RegistrationPage />} />
|
<Route path="register" element={<RegistrationPage />} />
|
||||||
<Route path="passwordRecovery" element={<PasswordRecoveryPage />} />
|
<Route path="passwordRecovery" element={<PasswordRecoveryPage />} />
|
||||||
|
|||||||
@@ -30,7 +30,9 @@ const axiosInstance = axios.create({ baseURL: "./rest", withCredentials: true })
|
|||||||
axiosInstance.interceptors.response.use(
|
axiosInstance.interceptors.response.use(
|
||||||
response => response,
|
response => response,
|
||||||
error => {
|
error => {
|
||||||
if (error.response.status === 401) window.location.hash = "/login"
|
if (error.response.status === 401 && error.response.data === "Credentials are required to access this resource.") {
|
||||||
|
window.location.hash = "/welcome"
|
||||||
|
}
|
||||||
throw error
|
throw error
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
BIN
commafeed-client/src/assets/welcome_page_dark.png
Normal file
BIN
commafeed-client/src/assets/welcome_page_dark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 131 KiB |
BIN
commafeed-client/src/assets/welcome_page_light.png
Normal file
BIN
commafeed-client/src/assets/welcome_page_light.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 121 KiB |
@@ -1,12 +1,15 @@
|
|||||||
import { ActionIcon, Button, useMantineTheme } from "@mantine/core"
|
import { ActionIcon, Button, ButtonVariant, useMantineTheme } from "@mantine/core"
|
||||||
|
import { ActionIconVariant } from "@mantine/core/lib/ActionIcon/ActionIcon.styles"
|
||||||
import { useMediaQuery } from "@mantine/hooks"
|
import { useMediaQuery } from "@mantine/hooks"
|
||||||
import { forwardRef } from "react"
|
import { forwardRef, MouseEventHandler, ReactNode } from "react"
|
||||||
|
|
||||||
interface ActionButtonProps {
|
interface ActionButtonProps {
|
||||||
className?: string
|
className?: string
|
||||||
icon?: React.ReactNode
|
icon?: ReactNode
|
||||||
label?: string
|
label?: string
|
||||||
onClick?: React.MouseEventHandler
|
onClick?: MouseEventHandler
|
||||||
|
variant?: ActionIconVariant & ButtonVariant
|
||||||
|
showLabelOnMobile?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -14,13 +17,15 @@ interface ActionButtonProps {
|
|||||||
*/
|
*/
|
||||||
export const ActionButton = forwardRef<HTMLButtonElement, ActionButtonProps>((props: ActionButtonProps, ref) => {
|
export const ActionButton = forwardRef<HTMLButtonElement, ActionButtonProps>((props: ActionButtonProps, ref) => {
|
||||||
const theme = useMantineTheme()
|
const theme = useMantineTheme()
|
||||||
|
const variant = props.variant ?? "subtle"
|
||||||
const mobile = !useMediaQuery(`(min-width: ${theme.breakpoints.lg}px)`)
|
const mobile = !useMediaQuery(`(min-width: ${theme.breakpoints.lg}px)`)
|
||||||
return mobile ? (
|
const iconOnly = !props.showLabelOnMobile && (mobile || !props.label)
|
||||||
<ActionIcon ref={ref} color={theme.primaryColor} variant="subtle" className={props.className} onClick={props.onClick}>
|
return iconOnly ? (
|
||||||
|
<ActionIcon ref={ref} color={theme.primaryColor} variant={variant} className={props.className} onClick={props.onClick}>
|
||||||
{props.icon}
|
{props.icon}
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
) : (
|
) : (
|
||||||
<Button ref={ref} variant="subtle" size="xs" className={props.className} leftIcon={props.icon} onClick={props.onClick}>
|
<Button ref={ref} variant={variant} size="xs" className={props.className} leftIcon={props.icon} onClick={props.onClick}>
|
||||||
{props.label}
|
{props.label}
|
||||||
</Button>
|
</Button>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "تحميل العلامات ..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "تسجيل الدخول"
|
msgstr "تسجيل الدخول"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "إظهار تعليمات اختصار لوحة المفاتيح"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "قم بالتسجيل"
|
msgstr "قم بالتسجيل"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "تبديل قراءة حالة الإدخال الحالي"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "جرب CommaFeed باستخدام الحساب التجريبي: تجريبي / تجريبي"
|
msgstr "جرب CommaFeed باستخدام الحساب التجريبي: تجريبي / تجريبي"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "غير مقروءة"
|
msgstr "غير مقروءة"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Carregant les etiquetes..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Inicia sessió"
|
msgstr "Inicia sessió"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Mostra l'ajuda de la drecera del teclat"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Inscriu-te"
|
msgstr "Inscriu-te"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Canvia l'estat de lectura de l'entrada actual"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Proveu CommaFeed amb el compte de demostració: demo/demo"
|
msgstr "Proveu CommaFeed amb el compte de demostració: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Sense llegir"
|
msgstr "Sense llegir"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Načítání značek..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Přihlaste se"
|
msgstr "Přihlaste se"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Zobrazit nápovědu ke klávesovým zkratkám"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Zaregistrujte se"
|
msgstr "Zaregistrujte se"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Přepne stav čtení aktuálního záznamu"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Vyzkoušejte CommaFeed s demo účtem: demo/demo"
|
msgstr "Vyzkoušejte CommaFeed s demo účtem: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Nepřečteno"
|
msgstr "Nepřečteno"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Wrthi'n llwytho tagiau..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Mewngofnodi"
|
msgstr "Mewngofnodi"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Dangos cymorth llwybr byr bysellfwrdd"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Cofrestrwch"
|
msgstr "Cofrestrwch"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Toglo statws darllen y cofnod cyfredol"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Rhowch gynnig ar CommaFeed gyda'r cyfrif demo: demo / demo"
|
msgstr "Rhowch gynnig ar CommaFeed gyda'r cyfrif demo: demo / demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Heb ei ddarllen"
|
msgstr "Heb ei ddarllen"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Indlæser tags..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Log ind"
|
msgstr "Log ind"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Vis hjælp til tastaturgenveje"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Tilmeld dig"
|
msgstr "Tilmeld dig"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Skift læsestatus for den aktuelle post"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Prøv CommaFeed med demokontoen: demo/demo"
|
msgstr "Prøv CommaFeed med demokontoen: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Ulæst"
|
msgstr "Ulæst"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Tags werden geladen..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Einloggen"
|
msgstr "Einloggen"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Tastenkürzel-Hilfe anzeigen"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Melden Sie sich an"
|
msgstr "Melden Sie sich an"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Lesestatus des aktuellen Eintrags umschalten"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Testen Sie CommaFeed mit dem Demokonto: demo/demo"
|
msgstr "Testen Sie CommaFeed mit dem Demokonto: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Ungelesen"
|
msgstr "Ungelesen"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Loading tags..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Log in"
|
msgstr "Log in"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Show keyboard shortcut help"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Sign up"
|
msgstr "Sign up"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Toggle read status of current entry"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Try out CommaFeed with the demo account: demo/demo"
|
msgstr "Try out CommaFeed with the demo account: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr "Try the demo!"
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Unread"
|
msgstr "Unread"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Cargando etiquetas..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Iniciar sesión"
|
msgstr "Iniciar sesión"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Mostrar ayuda de atajo de teclado"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Registrarse"
|
msgstr "Registrarse"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Alternar estado de lectura de la entrada actual"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Pruebe CommaFeed con la cuenta demo: demo/demo"
|
msgstr "Pruebe CommaFeed con la cuenta demo: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "No leído"
|
msgstr "No leído"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "بارگیری برچسب ها..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "وارد شوید"
|
msgstr "وارد شوید"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "نمایش راهنمایی میانبر صفحه کلید"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "ثبت نام کنید"
|
msgstr "ثبت نام کنید"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "وضعیت خواندن ورودی فعلی را تغییر دهید"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "CommaFeed را با حساب آزمایشی امتحان کنید: دمو/دمو"
|
msgstr "CommaFeed را با حساب آزمایشی امتحان کنید: دمو/دمو"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "خوانده نشده"
|
msgstr "خوانده نشده"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Ladataan tunnisteita..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Kirjaudu sisään"
|
msgstr "Kirjaudu sisään"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Näytä pikanäppäimen ohje"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Rekisteröidy"
|
msgstr "Rekisteröidy"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Vaihda nykyisen merkinnän lukutila"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Kokeile CommaFeediä demotilillä: demo/demo"
|
msgstr "Kokeile CommaFeediä demotilillä: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Lukematon"
|
msgstr "Lukematon"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Chargement des tags ..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Connexion"
|
msgstr "Connexion"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Montrer les raccourcis clavier"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Créer un compte"
|
msgstr "Créer un compte"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Marquer l'entrée actuelle comme lue/non lue"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Essayez CommaFeed avec le compte de démonstration : demo/demo"
|
msgstr "Essayez CommaFeed avec le compte de démonstration : demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Non lu"
|
msgstr "Non lu"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Cargando etiquetas..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Iniciar sesión"
|
msgstr "Iniciar sesión"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Mostrar axuda do atallo do teclado"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Rexístrese"
|
msgstr "Rexístrese"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "alternar o estado de lectura da entrada actual"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Proba CommaFeed coa conta de demostración: demo/demo"
|
msgstr "Proba CommaFeed coa conta de demostración: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Sen ler"
|
msgstr "Sen ler"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Címkék betöltése..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Jelentkezzen be"
|
msgstr "Jelentkezzen be"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "A billentyűparancsok súgójának megjelenítése"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Regisztráljon"
|
msgstr "Regisztráljon"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Az aktuális bejegyzés olvasási állapotának váltása"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Próbálja ki a CommaFeed-et a demo fiókkal: demo/demo"
|
msgstr "Próbálja ki a CommaFeed-et a demo fiókkal: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Olvasatlan"
|
msgstr "Olvasatlan"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Memuat tag..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Masuk"
|
msgstr "Masuk"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Tampilkan bantuan pintasan keyboard"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Daftar"
|
msgstr "Daftar"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Beralih status baca entri saat ini"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Cobalah CommaFeed dengan akun demo: demo/demo"
|
msgstr "Cobalah CommaFeed dengan akun demo: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Belum Dibaca"
|
msgstr "Belum Dibaca"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Caricamento tag..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Accedi"
|
msgstr "Accedi"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Mostra la guida alle scorciatoie da tastiera"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Iscriviti"
|
msgstr "Iscriviti"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Commuta lo stato di lettura della voce corrente"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Prova CommaFeed con il conto demo: demo/demo"
|
msgstr "Prova CommaFeed con il conto demo: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Non letto"
|
msgstr "Non letto"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "タグを読み込んでいます..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "ログイン"
|
msgstr "ログイン"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "キーボード ショートカットのヘルプを表示"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "サインアップ"
|
msgstr "サインアップ"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "現在のエントリの読み取りステータスを切り替えます
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "デモアカウントで CommaFeed を試す: demo/demo"
|
msgstr "デモアカウントで CommaFeed を試す: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "未読"
|
msgstr "未読"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "태그 로드 중..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "로그인"
|
msgstr "로그인"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "키보드 단축키 도움말 표시"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "가입"
|
msgstr "가입"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "현재 항목의 읽기 상태 전환"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "데모 계정으로 CommaFeed를 사용해 보세요: demo/demo"
|
msgstr "데모 계정으로 CommaFeed를 사용해 보세요: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "읽지 않음"
|
msgstr "읽지 않음"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Memuatkan tag..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Log masuk"
|
msgstr "Log masuk"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Tunjukkan bantuan pintasan papan kekunci"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Daftar"
|
msgstr "Daftar"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Togol status bacaan entri semasa"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Cuba CommaFeed dengan akaun demo: demo/demo"
|
msgstr "Cuba CommaFeed dengan akaun demo: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Belum dibaca"
|
msgstr "Belum dibaca"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Laster tagger..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Logg inn"
|
msgstr "Logg inn"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Vis hurtigtasthjelp"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Meld deg på"
|
msgstr "Meld deg på"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Veksle lesestatus for gjeldende oppføring"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Prøv CommaFeed med demokontoen: demo/demo"
|
msgstr "Prøv CommaFeed med demokontoen: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Ulest"
|
msgstr "Ulest"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Tags laden..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Inloggen"
|
msgstr "Inloggen"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Toon hulp bij sneltoetsen"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Aanmelden"
|
msgstr "Aanmelden"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Toggle leesstatus van huidige invoer"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Probeer CommaFeed uit met het demo-account: demo/demo"
|
msgstr "Probeer CommaFeed uit met het demo-account: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Ongelezen"
|
msgstr "Ongelezen"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Laster tagger..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Logg inn"
|
msgstr "Logg inn"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Vis hurtigtasthjelp"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Meld deg på"
|
msgstr "Meld deg på"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Veksle lesestatus for gjeldende oppføring"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Prøv CommaFeed med demokontoen: demo/demo"
|
msgstr "Prøv CommaFeed med demokontoen: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Ulest"
|
msgstr "Ulest"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Ładowanie tagów..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Zaloguj się"
|
msgstr "Zaloguj się"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Pokaż pomoc dotyczącą skrótów klawiaturowych"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Zarejestruj się"
|
msgstr "Zarejestruj się"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Przełącz stan odczytu bieżącego wpisu"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Wypróbuj CommaFeed z kontem demo: demo/demo"
|
msgstr "Wypróbuj CommaFeed z kontem demo: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Nieprzeczytane"
|
msgstr "Nieprzeczytane"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Carregando tags..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Entrar"
|
msgstr "Entrar"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Mostrar ajuda de atalho de teclado"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Inscreva-se"
|
msgstr "Inscreva-se"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Alternar o status de leitura da entrada atual"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Experimente o CommaFeed com a conta demo: demo/demo"
|
msgstr "Experimente o CommaFeed com a conta demo: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Não lido"
|
msgstr "Não lido"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Загрузка тегов..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Войти"
|
msgstr "Войти"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Показать справку по сочетаниям клавиш."
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Зарегистрироваться"
|
msgstr "Зарегистрироваться"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Переключить статус чтения текущей запи
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Попробуйте CommaFeed на демо-счете: demo/demo"
|
msgstr "Попробуйте CommaFeed на демо-счете: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "непрочитано"
|
msgstr "непрочитано"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Načítavam značky..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Prihláste sa"
|
msgstr "Prihláste sa"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Zobraziť pomoc s klávesovými skratkami"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Zaregistrujte sa"
|
msgstr "Zaregistrujte sa"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Prepne stav čítania aktuálneho záznamu"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Vyskúšajte CommaFeed s demo účtom: demo/demo"
|
msgstr "Vyskúšajte CommaFeed s demo účtom: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Neprečítané"
|
msgstr "Neprečítané"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Laddar taggar..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Logga in"
|
msgstr "Logga in"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Visa kortkommandohjälp"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Anmäl dig"
|
msgstr "Anmäl dig"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Växla lässtatus för aktuell post"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "Prova CommaFeed med demokontot: demo/demo"
|
msgstr "Prova CommaFeed med demokontot: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Oläst"
|
msgstr "Oläst"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "Etiketler yükleniyor..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Giriş"
|
msgstr "Giriş"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "Klavye kısayolu yardımını göster"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "Kaydolun"
|
msgstr "Kaydolun"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "Geçerli girişin okuma durumunu değiştir"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "CommaFeed'i demo hesabıyla deneyin: demo/demo"
|
msgstr "CommaFeed'i demo hesabıyla deneyin: demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "Okunmadı"
|
msgstr "Okunmadı"
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ msgstr "正在加载标签..."
|
|||||||
|
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
#: src/pages/auth/LoginPage.tsx
|
#: src/pages/auth/LoginPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "登录"
|
msgstr "登录"
|
||||||
|
|
||||||
@@ -689,6 +690,7 @@ msgstr "显示键盘快捷键帮助"
|
|||||||
|
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
#: src/pages/auth/RegistrationPage.tsx
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "注册"
|
msgstr "注册"
|
||||||
|
|
||||||
@@ -761,6 +763,10 @@ msgstr "切换当前条目的读取状态"
|
|||||||
msgid "Try out CommaFeed with the demo account: demo/demo"
|
msgid "Try out CommaFeed with the demo account: demo/demo"
|
||||||
msgstr "使用演示帐户试用 CommaFeed:demo/demo"
|
msgstr "使用演示帐户试用 CommaFeed:demo/demo"
|
||||||
|
|
||||||
|
#: src/pages/WelcomePage.tsx
|
||||||
|
msgid "Try the demo!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/header/Header.tsx
|
#: src/components/header/Header.tsx
|
||||||
msgid "Unread"
|
msgid "Unread"
|
||||||
msgstr "未读"
|
msgstr "未读"
|
||||||
|
|||||||
126
commafeed-client/src/pages/WelcomePage.tsx
Normal file
126
commafeed-client/src/pages/WelcomePage.tsx
Normal file
@@ -0,0 +1,126 @@
|
|||||||
|
import { t } from "@lingui/macro"
|
||||||
|
import { Anchor, Box, Center, Container, Divider, Group, Image, Title, useMantineColorScheme } from "@mantine/core"
|
||||||
|
import { useMediaQuery } from "@mantine/hooks"
|
||||||
|
import welcome_page_dark from "assets/welcome_page_dark.png"
|
||||||
|
import welcome_page_light from "assets/welcome_page_light.png"
|
||||||
|
import { useAsyncCallback } from "react-async-hook"
|
||||||
|
import { SiGithub, TbKey, TbUserPlus } from "react-icons/all"
|
||||||
|
import { SiTwitter } from "react-icons/si"
|
||||||
|
import { TbClock, TbMoon, TbSun } from "react-icons/tb"
|
||||||
|
import { client } from "../app/client"
|
||||||
|
import { Constants } from "../app/constants"
|
||||||
|
import { redirectToLogin, redirectToRegistration, redirectToRootCategory } from "../app/slices/redirect"
|
||||||
|
import { useAppDispatch, useAppSelector } from "../app/store"
|
||||||
|
import { ActionButton } from "../components/ActionButtton"
|
||||||
|
import { ButtonToolbar } from "../components/ButtonToolbar"
|
||||||
|
import { PageTitle } from "./PageTitle"
|
||||||
|
|
||||||
|
export function WelcomePage() {
|
||||||
|
const { colorScheme } = useMantineColorScheme()
|
||||||
|
const image = colorScheme === "light" ? welcome_page_light : welcome_page_dark
|
||||||
|
return (
|
||||||
|
<Container>
|
||||||
|
<Header />
|
||||||
|
|
||||||
|
<Center my="xl">
|
||||||
|
<Title order={3}>Bloat-free feed reader</Title>
|
||||||
|
</Center>
|
||||||
|
|
||||||
|
<Divider my="xl" />
|
||||||
|
|
||||||
|
<Image src={image} />
|
||||||
|
|
||||||
|
<Divider my="xl" />
|
||||||
|
|
||||||
|
<Footer />
|
||||||
|
</Container>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
function Header() {
|
||||||
|
const mobile = !useMediaQuery(`(min-width: ${Constants.layout.mobileBreakpoint}px)`)
|
||||||
|
|
||||||
|
if (mobile) {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<PageTitle />
|
||||||
|
<Center>
|
||||||
|
<Buttons />
|
||||||
|
</Center>
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Group position="apart">
|
||||||
|
<PageTitle />
|
||||||
|
<Buttons />
|
||||||
|
</Group>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
function Buttons() {
|
||||||
|
const iconSize = 18
|
||||||
|
const serverInfos = useAppSelector(state => state.server.serverInfos)
|
||||||
|
const { colorScheme, toggleColorScheme } = useMantineColorScheme()
|
||||||
|
|
||||||
|
const dispatch = useAppDispatch()
|
||||||
|
|
||||||
|
const login = useAsyncCallback(client.user.login, {
|
||||||
|
onSuccess: () => {
|
||||||
|
dispatch(redirectToRootCategory())
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
return (
|
||||||
|
<ButtonToolbar>
|
||||||
|
{serverInfos?.demoAccountEnabled && (
|
||||||
|
<ActionButton
|
||||||
|
label={t`Try the demo!`}
|
||||||
|
icon={<TbClock size={iconSize} />}
|
||||||
|
variant="outline"
|
||||||
|
onClick={() => login.execute({ name: "demo", password: "demo" })}
|
||||||
|
showLabelOnMobile
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
<ActionButton
|
||||||
|
label={t`Log in`}
|
||||||
|
icon={<TbKey size={iconSize} />}
|
||||||
|
variant="outline"
|
||||||
|
onClick={() => dispatch(redirectToLogin())}
|
||||||
|
showLabelOnMobile
|
||||||
|
/>
|
||||||
|
{serverInfos?.allowRegistrations && (
|
||||||
|
<ActionButton
|
||||||
|
label={t`Sign up`}
|
||||||
|
icon={<TbUserPlus size={iconSize} />}
|
||||||
|
variant="filled"
|
||||||
|
onClick={() => dispatch(redirectToRegistration())}
|
||||||
|
showLabelOnMobile
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
|
||||||
|
<ActionButton
|
||||||
|
icon={colorScheme === "dark" ? <TbSun size={18} /> : <TbMoon size={iconSize} />}
|
||||||
|
onClick={() => toggleColorScheme()}
|
||||||
|
/>
|
||||||
|
</ButtonToolbar>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
function Footer() {
|
||||||
|
return (
|
||||||
|
<Box>
|
||||||
|
<Group>
|
||||||
|
<span>© CommaFeed</span>
|
||||||
|
<span> - </span>
|
||||||
|
<Anchor variant="text" href="https://github.com/Athou/commafeed/" target="_blank" rel="noreferrer">
|
||||||
|
<SiGithub />
|
||||||
|
</Anchor>
|
||||||
|
<Anchor variant="text" href="https://twitter.com/CommaFeed" target="_blank" rel="noreferrer">
|
||||||
|
<SiTwitter />
|
||||||
|
</Anchor>
|
||||||
|
</Group>
|
||||||
|
</Box>
|
||||||
|
)
|
||||||
|
}
|
||||||
@@ -15,12 +15,12 @@ import io.dropwizard.testing.junit5.DropwizardExtensionsSupport;
|
|||||||
@ExtendWith(DropwizardExtensionsSupport.class)
|
@ExtendWith(DropwizardExtensionsSupport.class)
|
||||||
class AuthentificationIT extends PlaywrightTestBase {
|
class AuthentificationIT extends PlaywrightTestBase {
|
||||||
|
|
||||||
private static final DropwizardAppExtension<CommaFeedConfiguration> EXT = new DropwizardAppExtension<CommaFeedConfiguration>(
|
private static final DropwizardAppExtension<CommaFeedConfiguration> EXT = new DropwizardAppExtension<>(CommaFeedApplication.class,
|
||||||
CommaFeedApplication.class, ResourceHelpers.resourceFilePath("config.test.yml"));
|
ResourceHelpers.resourceFilePath("config.test.yml"));
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void loginFail() {
|
void loginFail() {
|
||||||
page.navigate("http://localhost:" + EXT.getLocalPort());
|
page.navigate(getLoginPageUrl());
|
||||||
page.locator("[placeholder='User Name or E-mail']").fill("admin");
|
page.locator("[placeholder='User Name or E-mail']").fill("admin");
|
||||||
page.locator("[placeholder='Password']").fill("wrong_password");
|
page.locator("[placeholder='Password']").fill("wrong_password");
|
||||||
page.locator("button:has-text('Log in')").click();
|
page.locator("button:has-text('Log in')").click();
|
||||||
@@ -29,14 +29,14 @@ class AuthentificationIT extends PlaywrightTestBase {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
void loginSuccess() {
|
void loginSuccess() {
|
||||||
page.navigate("http://localhost:" + EXT.getLocalPort());
|
page.navigate(getLoginPageUrl());
|
||||||
PlaywrightTestUtils.login(page);
|
PlaywrightTestUtils.login(page);
|
||||||
PlaywrightAssertions.assertThat(page).hasURL("http://localhost:" + EXT.getLocalPort() + "/#/app/category/all");
|
PlaywrightAssertions.assertThat(page).hasURL("http://localhost:" + EXT.getLocalPort() + "/#/app/category/all");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void registerFailPasswordTooSimple() {
|
void registerFailPasswordTooSimple() {
|
||||||
page.navigate("http://localhost:" + EXT.getLocalPort());
|
page.navigate(getLoginPageUrl());
|
||||||
page.locator("text=Sign up!").click();
|
page.locator("text=Sign up!").click();
|
||||||
page.locator("[placeholder='User Name']").fill("user");
|
page.locator("[placeholder='User Name']").fill("user");
|
||||||
page.locator("[placeholder='E-mail address']").fill("user@domain.com");
|
page.locator("[placeholder='E-mail address']").fill("user@domain.com");
|
||||||
@@ -52,7 +52,7 @@ class AuthentificationIT extends PlaywrightTestBase {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
void registerSuccess() {
|
void registerSuccess() {
|
||||||
page.navigate("http://localhost:" + EXT.getLocalPort());
|
page.navigate(getLoginPageUrl());
|
||||||
page.locator("text=Sign up!").click();
|
page.locator("text=Sign up!").click();
|
||||||
page.locator("[placeholder='User Name']").fill("user");
|
page.locator("[placeholder='User Name']").fill("user");
|
||||||
page.locator("[placeholder='E-mail address']").fill("user@domain.com");
|
page.locator("[placeholder='E-mail address']").fill("user@domain.com");
|
||||||
@@ -60,4 +60,8 @@ class AuthentificationIT extends PlaywrightTestBase {
|
|||||||
page.locator("button:has-text('Sign up')").click();
|
page.locator("button:has-text('Sign up')").click();
|
||||||
PlaywrightAssertions.assertThat(page).hasURL("http://localhost:" + EXT.getLocalPort() + "/#/app/category/all");
|
PlaywrightAssertions.assertThat(page).hasURL("http://localhost:" + EXT.getLocalPort() + "/#/app/category/all");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private String getLoginPageUrl() {
|
||||||
|
return "http://localhost:" + EXT.getLocalPort() + "/#/login";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ class ReadingIT extends PlaywrightTestBase {
|
|||||||
void scenario() {
|
void scenario() {
|
||||||
// login
|
// login
|
||||||
page.navigate("http://localhost:" + EXT.getLocalPort());
|
page.navigate("http://localhost:" + EXT.getLocalPort());
|
||||||
|
page.locator("button:has-text('Log in')").click();
|
||||||
PlaywrightTestUtils.login(page);
|
PlaywrightTestUtils.login(page);
|
||||||
PlaywrightAssertions.assertThat(page.locator("text=You don't have any subscriptions yet.")).hasCount(1);
|
PlaywrightAssertions.assertThat(page.locator("text=You don't have any subscriptions yet.")).hasCount(1);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user