rebranding to Remanso

This commit is contained in:
Julien Calixte
2026-02-14 12:06:29 +01:00
parent 94f36121fa
commit cec1b1eda7
8 changed files with 23 additions and 23 deletions

View File

@@ -1,11 +1,11 @@
<template>
<div class="welcome-world">
<h1 class="title is-1">Lite Note</h1>
<h1 class="title is-1">Remanso</h1>
<repo-list />
<p>
Lite notes are now
Remanso notes are now
<router-link :to="{ name: 'PublicNoteListView' }" class="btn"
>public</router-link
>

View File

@@ -1,10 +1,10 @@
import { getOctokit } from '@/modules/repo/services/octo'
import { encodeUTF8ToBase64 } from '@/utils/decodeBase64ToUTF8'
import { confirmMessage, errorMessage } from '@/utils/notif'
import { getOctokit } from "@/modules/repo/services/octo"
import { encodeUTF8ToBase64 } from "@/utils/decodeBase64ToUTF8"
import { confirmMessage, errorMessage } from "@/utils/notif"
export const useGitHubContent = ({
user,
repo
repo,
}: {
user: string
repo: string
@@ -12,7 +12,7 @@ export const useGitHubContent = ({
const putFile = async ({
content,
path,
sha
sha,
}: {
content: string
path: string
@@ -27,17 +27,17 @@ export const useGitHubContent = ({
owner: user,
repo,
path,
message: `Updating ${path} from Lite Note`,
message: `Updating ${path} from Remanso`,
content: encodeUTF8ToBase64(content),
sha
}
sha,
},
)
confirmMessage('✅ Note saved')
confirmMessage("✅ Note saved")
return response?.data.content?.sha ?? null
} catch (error) {
errorMessage('❌ Note could not be saved')
errorMessage("❌ Note could not be saved")
console.warn(error)
}
@@ -48,6 +48,6 @@ export const useGitHubContent = ({
updateFile: async (props: { content: string; path: string; sha: string }) =>
putFile(props),
createFile: async (props: { content: string; path: string }) =>
putFile(props)
putFile(props),
}
}