Merge branch 'timlrx:main' into main
This commit is contained in:
commit
d789f8055b
@ -67,6 +67,7 @@ Internationalization support - [Template with i18n](https://tailwind-nextjs-star
|
||||
- [andrewsam.xyz](https://www.andrewsam.xyz/) - Andrew's Personal website using ShadCN, Prisma, MongoDB, Auth.js, Resume Page, Custom Experience timeline and technologies components. ([source code](https://github.com/andrew-sameh/andrewsam.xyz))
|
||||
- [Rulli Damara Putra's Portfolio](https://www.damaraputra.my.id/) - Rully's personal blog and portfolio.
|
||||
- [blog.taoluyuan.com 套路猿](https://blog.taoluyuan.com) - A personal tech blog that supports multi-theme switching. 「中英」
|
||||
- [LyricsDecode.com](https://lyricsdecode.com) - A song lyrics website offering original lyrics, Romanisation, and English translations with customisable viewing options.
|
||||
|
||||
Using the template? Feel free to create a PR and add your blog to this list.
|
||||
|
||||
@ -301,6 +302,8 @@ Then, deploy the generated `out` folder or run `npx serve out` it locally.
|
||||
> ```sh
|
||||
> $ EXPORT=1 UNOPTIMIZED=1 BASE_PATH=/myblog yarn build
|
||||
> ```
|
||||
>
|
||||
> => In your code, `${process.env.BASE_PATH || ''}/robots.txt` will print `"/myblog/robots.txt"` in the `out` build (or only `/robots.txt` if `yarn dev`, ie: on localhost:3000)
|
||||
|
||||
> [!TIP]
|
||||
> Alternatively to `UNOPTIMIZED=1`, to continue using `next/image`, you can use an alternative image optimization provider such as Imgix, Cloudinary or Akamai. See [image optimization documentation](https://nextjs.org/docs/app/building-your-application/deploying/static-exports#image-optimization) for more details.
|
||||
|
@ -34,9 +34,9 @@ const Monitor = () => (
|
||||
viewBox="0 0 20 20"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
strokeWidth="2"
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
className="group:hover:text-gray-100 h-6 w-6"
|
||||
>
|
||||
<rect x="3" y="3" width="14" height="10" rx="2" ry="2"></rect>
|
||||
|
@ -8,8 +8,8 @@ const siteMetadata = {
|
||||
theme: 'system', // system, dark or light
|
||||
siteUrl: 'https://tailwind-nextjs-starter-blog.vercel.app',
|
||||
siteRepo: 'https://github.com/timlrx/tailwind-nextjs-starter-blog',
|
||||
siteLogo: '/static/images/logo.png',
|
||||
socialBanner: '/static/images/twitter-card.png',
|
||||
siteLogo: `${process.env.BASE_PATH || ''}/static/images/logo.png`,
|
||||
socialBanner: `${process.env.BASE_PATH || ''}/static/images/twitter-card.png`,
|
||||
mastodon: 'https://mastodon.social/@mastodonuser',
|
||||
email: 'address@yoursite.com',
|
||||
github: 'https://github.com',
|
||||
|
@ -129,7 +129,9 @@ export default function ListLayoutWithTags({
|
||||
<dl>
|
||||
<dt className="sr-only">Published on</dt>
|
||||
<dd className="text-base font-medium leading-6 text-gray-500 dark:text-gray-400">
|
||||
<time dateTime={date}>{formatDate(date, siteMetadata.locale)}</time>
|
||||
<time dateTime={date} suppressHydrationWarning>
|
||||
{formatDate(date, siteMetadata.locale)}
|
||||
</time>
|
||||
</dd>
|
||||
</dl>
|
||||
<div className="space-y-3">
|
||||
|
Loading…
x
Reference in New Issue
Block a user