Skip to content

Commit

Permalink
chore: copy
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Oct 27, 2023
1 parent 03cf1c5 commit a9aee39
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 21 deletions.
8 changes: 4 additions & 4 deletions src/app/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ const Welcome = () => {
)}
>
<small>
欢迎,来到这个小小的宇宙,一个闪烁着光彩的星球,等待着你的探索
当第一颗卫星飞向大气层外,我们便以为自己终有一日会征服宇宙
</small>
<span className="mt-8 animate-bounce">
<i className="icon-[mingcute--right-line] rotate-90 text-2xl" />
Expand Down Expand Up @@ -231,9 +231,9 @@ const PostScreen = () => {
transition={softSpringPreset}
className="text-3xl font-medium leading-loose"
>
看看最近我又在折腾啥捏
这里或许有那么一些对于生活的感慨
<br />
随便水水文章,重在折腾
也或许有那么一些对于技术的记录
</m.h2>
<div>
<ul className="space-y-4">
Expand Down Expand Up @@ -338,7 +338,7 @@ const NoteScreen = () => {
animate={{ opacity: 1, y: 0 }}
transition={softBouncePreset}
>
看看我的近况,这是我最近的所思所想
看看我的近况,我的所思所想、所作所为
</m.h3>
<Link href={routeBuilder(Routes.Note, { id: theLast.nid })}>
<m.div
Expand Down
13 changes: 7 additions & 6 deletions src/app/friends/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,13 @@ const ApplyLinkInfo: FC = () => {
<div className="prose mt-20">
<Markdown>
{[
`**在申请友链之前请先将本站加入贵站的友链中**`,
`**填写邮箱后,待通过申请后会发送邮件**`,
`**我希望贵站不是商业化门户网站,亦或是植有影响观看体验广告的网站。**`,
`**失联站点将会定期移除,非法网站会立即禁止并拉黑。**`,
`<br />`,
`### 本站信息`,
`**申请友链前必读**`,
`- 申请友链时请确保您的站点同时也有我们的站点的友链,若审批通过后移除本站链接,本站也将移除友链,并加入黑名单。`,
`- 若站点长时间无法访问,我们会删除您的友链,恢复后可再次申请。`,
`- 确保您的网站不存在政治敏感问题及违法内容。没有过多的广告、无恶意软件、脚本。且转载文章须注明出处。`,
`- 确保站点可以以 HTTPS 访问。`,
`- 您需要有自己的独立域名,暂且不同意公有子域名或免费域名的友链申请 (如 github.io, vercel.app, eu.org, js.cool, .tk, .ml, .cf 等)`,
`- 暂时不同意商业及非个人的网站的友链申请 (py 除外)。`,
].join('\n\n')}
</Markdown>
<Markdown className="[&_p]:!my-1">
Expand Down
13 changes: 13 additions & 0 deletions src/components/icons/menu-collection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,3 +222,16 @@ export function AkarIconsMention(props: SVGProps<SVGSVGElement>) {
</svg>
)
}

export function RMixPlanet(props: SVGProps<SVGSVGElement>) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width="1em"
height="1em"
>
<path d="M3.91762 8.0366C3.32984 9.23328 3 10.5792 3 11.9999C3 16.9704 7.02944 20.9999 12 20.9999C13.4216 20.9999 14.7684 20.6696 15.9657 20.081C16.8385 20.4544 17.6848 20.6991 18.4564 20.762C19.3582 20.8356 20.3 20.6665 20.9818 19.9847C21.7339 19.2325 21.8625 18.1689 21.7279 17.1727C21.6052 16.2638 21.2481 15.2537 20.726 14.2114C20.9051 13.503 21 12.7619 21 11.9999C21 7.02929 16.9706 2.99986 12 2.99986C11.2389 2.99986 10.4987 3.09454 9.79103 3.27318C8.7474 2.7498 7.73605 2.39172 6.8261 2.26834C5.82897 2.13315 4.76406 2.26128 4.01121 3.01413C3.3287 3.69664 3.16001 4.63956 3.2341 5.54233C3.29752 6.315 3.54313 7.16247 3.91762 8.0366ZM5.3224 5.96574C5.2734 5.75321 5.24204 5.55715 5.2274 5.37873C5.17928 4.79243 5.31727 4.53649 5.42543 4.42834C5.54452 4.30925 5.84797 4.15403 6.55739 4.25021C6.75482 4.27698 6.96951 4.32189 7.2 4.38547C6.50364 4.82527 5.87203 5.35784 5.3224 5.96574ZM19.6124 16.803C19.6751 17.0316 19.7195 17.2445 19.7459 17.4404C19.8416 18.1485 19.6865 18.4515 19.5676 18.5705C19.4595 18.6785 19.204 18.8163 18.6189 18.7686C18.4419 18.7542 18.2475 18.7233 18.0368 18.675C18.6427 18.1268 19.1736 17.4971 19.6124 16.803ZM15.8812 17.8264C14.2046 16.9482 12.2571 15.5026 10.3752 13.6207C8.4954 11.741 7.05092 9.79561 6.17241 8.12028C7.06357 6.78465 8.40124 5.77312 9.96933 5.29866C10.6108 5.10457 11.2923 4.99986 12 4.99986C15.866 4.99986 19 8.13386 19 11.9999C19 12.7083 18.8951 13.3904 18.7006 14.0325C18.2261 15.5991 17.2155 16.9356 15.8812 17.8264ZM13.6052 18.8152C13.0901 18.9359 12.5528 18.9999 12 18.9999C8.13401 18.9999 5 15.8658 5 11.9999C5 11.4476 5.06377 10.9109 5.18429 10.3963C6.14883 11.913 7.43475 13.5087 8.96096 15.0349C10.489 16.563 12.0868 17.8502 13.6052 18.8152Z" />
</svg>
)
}
11 changes: 6 additions & 5 deletions src/components/layout/header/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
IonBook,
MdiFlask,
MdiLightbulbOn20,
RMixPlanet,
} from '~/components/icons/menu-collection'

export interface IHeaderMenu {
Expand Down Expand Up @@ -99,11 +100,11 @@ export const headerMenuConfig: IHeaderMenu[] = [
path: '/says',
icon: h(FaSolidComments),
},
{
title: '异次元之旅',
icon: h(RMixPlanet),
path: 'https://travel.moe/go.html',
},
],
},
// {
// title: '开往',
// icon: h(FaSolidSubway),
// path: 'https://travellings.link',
// },
]
4 changes: 2 additions & 2 deletions src/components/widgets/note/NoteMetaBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ export const NoteMetaCC = () => {
{dividerVertical}
<span className="inline-flex items-center" key="cc">
<a
href="https://creativecommons.org/licenses/by-nc-nd/4.0/"
href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh"
target="_blank"
className="inline-flex cursor-pointer items-center text-current"
rel="noreferrer"
>
<span
title="创作共用保留署名-非商业-禁止演绎4.0国际许可证"
title="知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议"
className="inline-flex items-center"
>
<CreativeCommonsIcon />
Expand Down
10 changes: 7 additions & 3 deletions src/components/widgets/post/PostCopyright.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,16 @@ export const PostCopyright: FC = () => {
<Divider />
<div>
<p>
商业转载请联系站长获得授权,非商业转载请注明本文出处及文章链接,未经站长允许不得对文章文字内容进行修改演绎
商业转载请联系站长获得授权,非商业转载请注明本文出处及文章链接,您可以自由地在任何媒体以任何形式复制和分发作品,也可以修改和创作,但是分发衍生作品时必须采用相同的许可协议
<br />
本文采用
<a href="https://creativecommons.org/licenses/by-nc-nd/4.0/">
创作共用保留署名 - 非商业 - 禁止演绎 4.0 国际许可证
<a
className="shiro-link--underline"
href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh"
>
知识共享署名 - 非商业性使用 - 相同方式共享 4.0 国际许可协议
</a>
进行许可。
</p>
</div>
</section>
Expand Down
2 changes: 2 additions & 0 deletions src/components/widgets/shared/WithArticleSelectionAction.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useEffect, useRef, useState } from 'react'
import { toast } from 'react-toastify'
import clsx from 'clsx'
import { AnimatePresence, m } from 'framer-motion'

Expand Down Expand Up @@ -111,6 +112,7 @@ export const WithArticleSelectionAction: Component<{
onClick={() => {
navigator.clipboard.writeText(selectedText)
setShow(false)
toast.success('已复制到剪贴板')
}}
>
复制
Expand Down
2 changes: 2 additions & 0 deletions src/styles/tailwindcss.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const twConfig: Config = {
sans: 'var(--font-sans),system-ui,-apple-system,PingFang SC,"Microsoft YaHei",Segoe UI,Roboto,Helvetica,noto sans sc,hiragino sans gb,"sans-serif",Apple Color Emoji,Segoe UI Emoji,Not Color Emoji',
serif:
'"Noto Serif CJK SC","Noto Serif SC",var(--font-serif),"Source Han Serif SC","Source Han Serif",source-han-serif-sc,SongTi SC,SimSum,"Hiragino Sans GB",system-ui,-apple-system,Segoe UI,Roboto,Helvetica,"Microsoft YaHei","WenQuanYi Micro Hei",sans-serif',
mono: `"OperatorMonoSSmLig Nerd Font","Cascadia Code PL","FantasqueSansMono Nerd Font","operator mono","Fira code Retina","Fira code","Consolas", Monaco, "Hannotate SC", monospace, -apple-system`,
mono: `"OperatorMonoSSmLig Nerd Font","Cascadia Code PL","FantasqueSansMono Nerd Font","operator mono",JetBrainsMono,"Fira code Retina","Fira code","Consolas", Monaco, "Hannotate SC", monospace, -apple-system`,
},
screens: {
'light-mode': { raw: '(prefers-color-scheme: light)' },
Expand Down

0 comments on commit a9aee39

Please sign in to comment.