diff --git a/.gitmessage b/.gitmessage new file mode 100644 index 0000000..95629f4 --- /dev/null +++ b/.gitmessage @@ -0,0 +1,8 @@ + + +# ------------------------------------------------ SUBJECT AREA +# ---------------------------------------------------------------------- DETAIL AREA + +# Please enter a subject that is not longer than 50 characters. +# If you enter a detailed description, each line should not be longer +# than 72 characters. Break the line as soon as you reach this limit. diff --git a/README.md b/README.md index fe56826..31510de 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # frontend -The frontend of the search engine Seekra. \ No newline at end of file +The frontend of the search engine Seekra. + +## Setup + +Please execute the setup script in `scripts/` for your platform when cloning the repository. \ No newline at end of file diff --git a/index.html b/index.html index 1cebe27..2e26983 100644 --- a/index.html +++ b/index.html @@ -19,6 +19,7 @@ limitations under the License. + Seekra diff --git a/scripts/setup.ps1 b/scripts/setup.ps1 new file mode 100755 index 0000000..e45b876 --- /dev/null +++ b/scripts/setup.ps1 @@ -0,0 +1,3 @@ +#!/usr/bin/env pwsh + +git config --local commit.template .gitmessage \ No newline at end of file diff --git a/scripts/setup.sh b/scripts/setup.sh new file mode 100755 index 0000000..edb81af --- /dev/null +++ b/scripts/setup.sh @@ -0,0 +1,3 @@ +#!/usr/bin/bash + +git config --local commit.template .gitmessage \ No newline at end of file diff --git a/src/i18n.js b/src/i18n.js index a57766b..d764d8b 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -28,8 +28,8 @@ export const SUPPORTED_LANGUAGES = [ 'de', 'fr', 'es', - 'it', - 'pt' + 'pt', + 'it' ]; export const i18n = createI18n({ diff --git a/src/main.js b/src/main.js index c5ed366..f624539 100644 --- a/src/main.js +++ b/src/main.js @@ -25,7 +25,8 @@ import './styles/common.css' import './styles/variables/colors.css' import './styles/variables/dimensions.css'; -await loadLanguage(getCurrentLanguage()); +import './styles/common.css'; +import './styles/variables/colors.css'; const pinia = createPinia(); pinia.use(piniaPluginPersistedstate); @@ -34,4 +35,4 @@ createApp(App) .use(router) .use(i18n) .use(pinia) - .mount('#app') \ No newline at end of file + .mount('#app') diff --git a/src/styles/main.css b/src/styles/main.css deleted file mode 100644 index 94b1b25..0000000 --- a/src/styles/main.css +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright 2026 Seekra - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -form { - display: flex; - justify-content: center; - margin-top: 60px; -} - -footer{ - text-align: center; - margin-top: 20px; -} \ No newline at end of file