Skip to main content

Home

Your front page 🏡, the page that your visitors will see when they access your root domain. You can create your own personalized version depending on your interests.

Of course, you can use any content blocks but the homepage should be concise, tidy and providing overview information only. We have some recommended content blocks for your reference.

Homepage file is app\routes\__layout\index.tsx. It is safe for you to edit the lines between the markers.

app\routes__layout\index.tsx
...
{
/*********************************
*
* START PAGE CONTENT
*
********************************/
}

//place your content for homepage here

{
/*********************************
*
* END PAGE CONTENT
*
********************************/
}
...

📝 Forewords block

All content should be composed using Markdown format. That's why we created a special file just for you to write for the homepage.

  • Data file is ~/data/content/foreword.mdx. Open this file, and please don't hesitate to edit, write... anything you like.

  • To display this content, you would need to:

    1. Import the files to app\routes\__layout\index.tsx. But don't worry, it is declared already.

      import Component from "~/data/content/foreword.mdx"
      import Markdown from "~/components/Markdown"
    2. Paste this code to the your desired place in app\routes\__layout\index.tsx

      <Markdown.Wrapper>
      <Component />
      </Markdown.Wrapper>

If you want your homepage as a bioLink, which display a list of links. You can use the following samples:

<TextHeader text={t("Curated links for your best")} />
<LinksList links={linksList} className="my-10" />

Or you can combine LinksGrid and LinksList

<LinksGrid links={linksGrid} className="mb-10" />
<TextHeader text={t("Curated links for your best")} />
<LinksList links={linksList} className="my-10" />

Then, you would have a very elegant homepage as you wish.

mobile home preview

Video tutorial