Skip to content

Commit c99dc9b

Browse files
committed
style(guide): match layout and spacing with docs page
1 parent 3a771c9 commit c99dc9b

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

src/app/guide/page.tsx

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,21 @@ const GuidePage = () => {
2121

2222
<h1 className="text-3xl font-bold mb-6">How to Use RepoTree Generator?</h1>
2323

24-
<div className="space-y-6">
25-
<ol className="list-decimal pl-6 space-y-2">
26-
<li>Select your repository type and enter the GitHub or GitLab repository URL.</li>
27-
<li>Click the <strong>Generate</strong> button.</li>
28-
<li>Explore the structure with ASCII or interactive mode for easy navigation.</li>
29-
<li>Customize your ASCII theme to match your style.</li>
30-
<li>Use the real-time search to quickly find files or folders.</li>
31-
<li>Copy or download the tree structure in multiple formats.</li>
32-
</ol>
24+
<div className="p-6 space-y-6 transition-colors duration-300">
25+
<section className="mb-8">
26+
<ol className="list-decimal pl-6 space-y-2">
27+
<li>Select your repository type and enter the GitHub or GitLab repository URL.</li>
28+
<li>Click the <strong>Generate</strong> button.</li>
29+
<li>Explore the structure with ASCII or interactive mode for easy navigation.</li>
30+
<li>Customize your ASCII theme to match your style.</li>
31+
<li>Use the real-time search to quickly find files or folders.</li>
32+
<li>Copy or download the tree structure in multiple formats.</li>
33+
</ol>
34+
</section>
3335

34-
<div>
35-
<h2 className="text-xl font-semibold">For Public Repositories</h2>
36-
<p className="mt-2">
36+
<section className="mb-8">
37+
<h2 className="text-xl font-semibold mb-4">For Public Repositories</h2>
38+
<p>
3739
<strong>GitHub API Rate Limit:</strong> 60 requests per hour for unauthenticated users.
3840
<br />
3941
See the official GitHub rate limit documentation{' '}
@@ -64,9 +66,9 @@ const GuidePage = () => {
6466
<br />
6567
To avoid rate limiting and access private repositories, it&apos;s recommended to use a Personal Access Token (PAT) for both platforms.
6668
</p>
67-
</div>
69+
</section>
6870

69-
<div className="pt-4">
71+
<div className="mt-8">
7072
<Link
7173
href="/generator"
7274
className="bg-blue-600 hover:bg-blue-700 dark:bg-blue-500 dark:hover:bg-blue-600 text-white font-bold py-2 px-4 rounded-full transition-colors duration-300"

0 commit comments

Comments
 (0)