mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 15:05:35 +00:00
chore: apply prettier
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { Visibility } from '#enums/visibility';
|
||||
import type Collection from '#models/collection';
|
||||
import { FormEvent } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
@@ -5,7 +6,6 @@ import Checkbox from '~/components/common/form/checkbox';
|
||||
import TextBox from '~/components/common/form/textbox';
|
||||
import BackToDashboard from '~/components/common/navigation/back_to_dashboard';
|
||||
import FormLayout from '~/components/layouts/form_layout';
|
||||
import { Visibility } from '../../../app/enums/visibility';
|
||||
|
||||
export type FormCollectionData = {
|
||||
name: string;
|
||||
|
||||
@@ -2,7 +2,7 @@ import styled from '@emotion/styled';
|
||||
import { ReactNode } from 'react';
|
||||
import Footer from '~/components/footer/footer';
|
||||
import TransitionLayout from '~/components/layouts/_transition_layout';
|
||||
import Navbar from '../navbar/navbar';
|
||||
import Navbar from '~/components/navbar/navbar';
|
||||
import BaseLayout from './_base_layout';
|
||||
|
||||
const ContentLayoutStyle = styled(TransitionLayout)(({ theme }) => ({
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import PATHS from '#constants/paths';
|
||||
import styled from '@emotion/styled';
|
||||
import { Link } from '@inertiajs/react';
|
||||
import { route } from '@izzyjs/route/client';
|
||||
@@ -13,7 +14,6 @@ import RoundedImage from '~/components/common/rounded_image';
|
||||
import UnstyledList from '~/components/common/unstyled/unstyled_list';
|
||||
import ModalSettings from '~/components/settings/modal';
|
||||
import useUser from '~/hooks/use_user';
|
||||
import PATHS from '../../../app/constants/paths';
|
||||
|
||||
type NavbarListDirection = {
|
||||
right?: boolean;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Visibility } from '#enums/visibility';
|
||||
import styled from '@emotion/styled';
|
||||
import { IoEarthOutline } from 'react-icons/io5';
|
||||
import { Visibility } from '../../../app/enums/visibility';
|
||||
|
||||
const VisibilityStyle = styled.span(({ theme }) => ({
|
||||
fontWeight: 300,
|
||||
|
||||
@@ -29,4 +29,4 @@
|
||||
},
|
||||
"look-title": "Take a look",
|
||||
"website-screenshot-alt": "A screenshot of MyLinks"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,4 +55,4 @@
|
||||
"footer": {
|
||||
"made_by": "Made with ❤\uFE0F by"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
"select-collection": "Please select a collection",
|
||||
"or-create-one": "or create one",
|
||||
"no-link": "No link for <b>{{name}}</b>"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,4 +7,4 @@
|
||||
"changes": "We reserve the right to update these Terms and Conditions of Use. We encourage you to regularly check this page to stay informed of any changes.",
|
||||
"thanks": "Thank you for using MyLinks!"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
"informative-text": "Authentication required to use MyLinks",
|
||||
"continue-with": "Continue with {{provider}}",
|
||||
"accept-terms": "By continuing, you accept the"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,13 +11,7 @@
|
||||
"user": {
|
||||
"title": "1.2 User Data",
|
||||
"description": "To create personalized collections and links and associate them with their author, we collect the following information:",
|
||||
"fields": [
|
||||
"Google ID",
|
||||
"Lastname",
|
||||
"Firstname",
|
||||
"Email",
|
||||
"Avatar"
|
||||
]
|
||||
"fields": ["Google ID", "Lastname", "Firstname", "Email", "Avatar"]
|
||||
}
|
||||
},
|
||||
"data_use": {
|
||||
@@ -40,4 +34,4 @@
|
||||
"title": "5. GDPR Compliance",
|
||||
"description": "MyLinks complies with the General Data Protection Regulation (GDPR) of the European Union."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,4 +51,4 @@
|
||||
"title": "6. Termination",
|
||||
"description": "MyLinks reserves the right to terminate or suspend your access to the service, with or without notice, in case of violation of these Terms and Conditions of Use."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,4 +29,4 @@
|
||||
},
|
||||
"look-title": "Jetez un coup d'oeil",
|
||||
"website-screenshot-alt": "Une capture d'écran de MyLinks"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,4 +55,4 @@
|
||||
"footer": {
|
||||
"made_by": "Fait avec ❤\uFE0F par"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
"select-collection": "Veuillez sélectionner une collection",
|
||||
"or-create-one": "ou en créer une",
|
||||
"no-link": "Aucun lien pour <b>{{name}}</b>"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,4 +7,4 @@
|
||||
"changes": "Nous nous réservons le droit de mettre à jour ces Conditions Générales d'Utilisation. Nous vous encourageons à consulter régulièrement cette page pour rester informé des changements éventuels.",
|
||||
"thanks": "Merci d'utiliser MyLinks !"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
"informative-text": "Authentification requise pour utiliser MyLinks",
|
||||
"continue-with": "Continuer avec {{provider}}",
|
||||
"accept-terms": "En poursuivant, vous acceptez les"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,4 +40,4 @@
|
||||
"title": "5. Conformité au RGPD",
|
||||
"description": "MyLinks est conforme au Règlement Général sur la Protection des Données (RGPD) de l'Union européenne."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,4 +51,4 @@
|
||||
"title": "6. Résiliation",
|
||||
"description": "MyLinks se réserve le droit de résilier ou de suspendre votre accès au service, avec ou sans préavis, en cas de violation de ces Conditions Générales d'Utilisation."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { Visibility } from '#enums/visibility';
|
||||
import { useForm } from '@inertiajs/react';
|
||||
import { route } from '@izzyjs/route/client';
|
||||
import { useMemo } from 'react';
|
||||
@@ -5,7 +6,6 @@ import { useTranslation } from 'react-i18next';
|
||||
import FormCollection, {
|
||||
FormCollectionData,
|
||||
} from '~/components/form/form_collection';
|
||||
import { Visibility } from '../../../app/enums/visibility';
|
||||
|
||||
export default function CreateCollectionPage({
|
||||
disableHomeLink,
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
"isolatedModules": true,
|
||||
"noEmit": true,
|
||||
"paths": {
|
||||
"~/*": ["./*"]
|
||||
"~/*": ["./*"],
|
||||
"@/*": ["../*"]
|
||||
},
|
||||
"types": ["vite/client", "@emotion/styled", "@emotion/react"]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user