Skip to content

Commit

Permalink
refactor!: Change most URLs to FocusTide (#299)
Browse files Browse the repository at this point in the history
* chore(settings): Fix about tab import order

* refactor!: Redirect to focustide.app

* refactor!: Change runime config URL variable to focustide.app

* refactor(settings): Change about tab UTM tags to FocusTide
  • Loading branch information
Hanziness committed Dec 21, 2022
1 parent 4d98a3d commit a2b23d1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions components/settings/aboutTab.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script setup lang="ts">
import { CoffeeIcon, BrandGithubIcon, BrandTwitterIcon, BrandFacebookIcon, BrandRedditIcon } from 'vue-tabler-icons'
import { ButtonImportance } from '../base/types/button'
import Button from '~~/components/base/uiButton.vue'
import { AppPlatform } from '~~/platforms/platforms'
import { useMain } from '~~/stores/main'
import { ButtonImportance } from '../base/types/button';
const runtimeConfig = useRuntimeConfig()
const isMobile = computed(() => runtimeConfig.public.PLATFORM === AppPlatform.mobile)
Expand Down Expand Up @@ -35,7 +35,7 @@ const mainStore = useMain()
link
no-default-style
no-content-theme
href="https://www.github.com/Hanziness/AnotherPomodoro?utm_source=AnotherPomodoro&utm_medium=web&utm_content=settings"
href="https://www.github.com/Hanziness/AnotherPomodoro?utm_source=FocusTide&utm_medium=web&utm_content=settings"
inner-class="flex flex-row items-center gap-1 text-slate-50 text-gray-50"
bg-class="bg-slate-900 dark:bg-slate-700"
>
Expand All @@ -49,7 +49,7 @@ const mainStore = useMain()
dark
no-default-style
no-content-theme
href="https://www.buymeacoffee.com/imreg?utm_source=AnotherPomodoro&utm_medium=web&utm_content=settings"
href="https://www.buymeacoffee.com/imreg?utm_source=FocusTide&utm_medium=web&utm_content=settings"
inner-class="flex flex-row items-center gap-1 text-black"
bg-class="bg-yellow-300"
>
Expand Down Expand Up @@ -77,7 +77,7 @@ const mainStore = useMain()
no-default-style
no-content-theme
:importance="ButtonImportance.Filled"
href="https://twitter.com/AnotherPomodoro?utm_source=AnotherPomodoro&utm_medium=web&utm_content=settings"
href="https://twitter.com/AnotherPomodoro?utm_source=FocusTide&utm_medium=web&utm_content=settings"
bg-class="bg-[#1da1f2]"
inner-class="!p-4 text-slate-50"
>
Expand Down
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Domain redirects
[[redirects]]
from = "http://another-pomodoro.netlify.app/*"
to = "https://another-pomodoro.app/:splat"
to = "https://focustide.app/:splat"
status = 301
force = true

[[redirects]]
from = "https://another-pomodoro.netlify.app/*"
to = "https://another-pomodoro.app/:splat"
to = "https://focustide.app/:splat"
status = 301
force = true

Expand Down
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default defineNuxtConfig({
public: {
PACKAGE_VERSION: version,
PLATFORM: AppPlatform.web,
URL: 'https://another-pomodoro.app'
URL: 'https://focustide.app'
}
},

Expand Down

0 comments on commit a2b23d1

Please sign in to comment.