forked from vercel/swr-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update nextjs preprender section (en) * update docs * override other languages * cache docs * remove translations * move cache page * add note to global configuration * document fallbackValues and remove initialData * update option name * retouch the nextjs part * update section about mutate * update example and links * add options * improve global configuration section * add pre-fetching * update infinite docs * fix examples * document useSWRImmutable * floating toc * update docs * upgrade theme * tweak examples; add next.js ssr * update title and basic example * add blog post; refine docs * update blog post * fix docs * fix pagination docs * fix change log page * improvements * several improvements * Update swr-v1.en-US.mdx * improve docs for global config * add cta links * final touches * dark mode for figures * final touches * add example for serialzing/unserialzing keys * tweaks * add og support * update features * update date * add example about default fetcher migration * Apply suggestions from code review Co-authored-by: Paco <34928425+pacocoursey@users.noreply.github.com> * apply review suggestions * update feature list Co-authored-by: Shu Ding <g@shud.in> Co-authored-by: Paco <34928425+pacocoursey@users.noreply.github.com>
- Loading branch information
1 parent
20a53d4
commit 04700f2
Showing
102 changed files
with
1,615 additions
and
1,018 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
export default function Authors({ date, children }) { | ||
return ( | ||
<div className="mt-8 mb-16 text-gray-400 text-sm"> | ||
{date} by {children} | ||
</div> | ||
); | ||
} | ||
|
||
export function Author({ name, link }) { | ||
return ( | ||
<span className="after:content-[','] last:after:content-['']"> | ||
<a | ||
key={name} | ||
href={link} | ||
target="_blank" | ||
className="mx-1 text-gray-800 dark:text-gray-100" | ||
> | ||
{name} | ||
</a> | ||
</span> | ||
); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import '../styles.css' | ||
import 'nextra-theme-docs/style.css' | ||
import "../styles.css"; | ||
import "nextra-theme-docs/style.css"; | ||
|
||
export default function Nextra({ Component, pageProps }) { | ||
return ( | ||
<> | ||
<Component {...pageProps} /> | ||
</> | ||
) | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"swr-v1": "Annoucing SWR 1.0" | ||
} |
Oops, something went wrong.