chore: update slash description

This commit is contained in:
Steven
2023-07-27 19:59:49 +08:00
parent 6bbf2df8e0
commit 72106d13de
7 changed files with 28 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ const AboutDialog: React.FC<Props> = (props: Props) => {
</div>
<div className="max-w-full w-80 sm:w-96">
<p>
<span className="font-medium">Slash</span>: A bookmarking and url shortener, save and share your links very easily.
<span className="font-medium">Slash</span>: An open source, self-hosted bookmarks and link sharing solution.
</p>
<div className="mt-1">
<span className="mr-2">See more in</span>

View File

@@ -299,7 +299,7 @@ const CreateShortcutDialog: React.FC<Props> = (props: Props) => {
<Input
className="w-full"
type="text"
placeholder="Slash - A bookmarking and url shortener"
placeholder="Slash - An open source, self-hosted bookmarks and link sharing solution"
size="sm"
value={state.shortcutCreate.openGraphMetadata.title}
onChange={handleOpenGraphMetadataTitleChange}
@@ -309,7 +309,7 @@ const CreateShortcutDialog: React.FC<Props> = (props: Props) => {
<span className="mb-2 text-sm">Description</span>
<Textarea
className="w-full"
placeholder="A bookmarking and url shortener, save and share your links very easily."
placeholder="An open source, self-hosted bookmarks and link sharing solution."
size="sm"
maxRows={3}
value={state.shortcutCreate.openGraphMetadata.description}

View File

@@ -14,7 +14,7 @@ const DemoBanner: React.FC = () => {
return (
<div className="z-10 flex flex-row items-center justify-center w-full py-2 text-sm sm:text-lg font-medium dark:text-gray-300 bg-white dark:bg-zinc-700 shadow">
<div className="w-full max-w-4xl px-4 flex flex-row justify-between items-center gap-x-3">
<span>A bookmarking and url shortener, save and share your links very easily.</span>
<span>Slash - An open source, self-hosted bookmarks and link sharing solution</span>
<a
className="shadow flex flex-row justify-center items-center px-2 py-1 rounded-md text-sm sm:text-base text-white bg-blue-600 hover:bg-blue-700"
href="https://github.com/boojack/slash#deploy-with-docker-in-seconds"

View File

@@ -21,7 +21,8 @@ const FilterView = () => {
className="ml-2 px-2 py-1 flex flex-row justify-center items-center bg-gray-100 rounded-full text-gray-500 text-sm hover:line-through"
onClick={() => viewStore.setFilter({ tag: undefined })}
>
<Icon.Tag className="w-4 h-auto mr-1" />#{filter.tag}
<Icon.Tag className="w-4 h-auto mr-1" />
<span className="max-w-[12rem] truncate">#{filter.tag}</span>
<Icon.X className="w-4 h-auto ml-1" />
</button>
)}