-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Improve desktop site nav and home.
This commit improves the styling of the site navigation to make it clearer and easier to scan through, and also updates the styling of the home page for similar reasons. Signed-off-by: Andrew Lilley Brinker <[email protected]>
- Loading branch information
1 parent
9541362
commit 9d050a2
Showing
7 changed files
with
90 additions
and
69 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
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
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,17 +1,43 @@ | ||
|
||
<div class="mt-14 shadow-md bg-neutral-100 dark:bg-neutral-800 border border-neutral-300 dark:border-neutral-700 rounded-md p-2 w-fit max-w-full overflow-x-scroll"> | ||
<div class="flex justify-between items-center"> | ||
<div class="inline-flex"> | ||
<a data-platform="macos" data-active="true" class="installer-button data-[active]:bg-white dark:data-[active]:bg-neutral-500 !font-medium text-sm py-2 px-3 bg-neutral-100 dark:bg-neutral-700 hover:bg-blue-100 dark:hover:text-blue-300 no-underline rounded-t-md" href="#">macOS</a> | ||
<a data-platform="linux" class="installer-button data-[active]:bg-white !font-medium text-sm py-2 px-3 bg-neutral-100 dark:bg-neutral-700 hover:bg-blue-100 dark:hover:text-blue-300 no-underline rounded-t-md" href="#">Linux</a> | ||
<a data-platform="windows" class="installer-button data-[active]:bg-white !font-medium text-sm py-2 px-3 bg-neutral-100 dark:bg-neutral-700 hover:bg-blue-100 dark:hover:text-blue-300 no-underline rounded-t-md" href="#">Windows</a> | ||
<div class=" | ||
mt-14 | ||
bg-transparent dark:bg-neutral-800 | ||
rounded-md | ||
w-fit max-w-full | ||
overflow-x-scroll | ||
"> | ||
<div class="flex justify-between items-center px-2 mb-1"> | ||
<div class="inline-flex gap-1"> | ||
<a data-platform="macos" data-active="true" class="installer-button data-[active]:bg-blue-50 data-[active]:text-blue-500 dark:data-[active]:bg-neutral-500 !font-medium text-xs py-1 px-2 text-neutral-500 bg-transparent dark:bg-neutral-700 hover:bg-blue-100 dark:hover:text-blue-300 no-underline rounded-md" href="#">macOS</a> | ||
<a data-platform="linux" class="installer-button data-[active]:bg-blue-50 data-[active]:text-blue-500 !font-medium text-xs py-1 px-2 text-neutral-500 bg-transparent dark:bg-neutral-700 hover:bg-blue-100 dark:hover:text-blue-300 no-underline rounded-md" href="#">Linux</a> | ||
<a data-platform="windows" class="installer-button data-[active]:bg-blue-50 data-[active]:text-blue-500 !font-medium text-xs py-1 px-2 text-neutral-500 bg-transparent dark:bg-neutral-700 hover:bg-blue-100 dark:hover:text-blue-300 no-underline rounded-md" href="#">Windows</a> | ||
</div> | ||
<div class="text-xs mr-2"> | ||
<div class="text-xs"> | ||
<a class="no-underline text-neutral-500" href="{{ get_url(path='@/docs/getting-started/install.md') }}">Other methods →</a> | ||
</div> | ||
</div> | ||
<div class="rounded-md bg-white dark:bg-neutral-500 rounded-tl-none flex justify-between gap-0 items-center py-2 min-w-[32rem] max-w-min overflow-x-scroll"> | ||
<pre class="m-0 bg-white dark:bg-neutral-500 text-neutral-700 dark:text-neutral-100 leading-none align-bottom text-sm"><code id="installer-cmd">curl -LsSf {{ config.base_url }}/dl/install.sh | sh</code></pre> | ||
<a class="text-sm py-1 px-2 mr-2 rounded-md bg-white dark:bg-neutral-700 border border-neutral-200 dark:border-neutral-400 text-neutral-500 dark:text-neutral-300 hover:bg-blue-50 hover:border-blue-200" id='installer-copy' href="#">{{ ic::icon(name="clipboard", classes="-mt-[2px]") }}</a> | ||
<div class=" | ||
rounded-xl | ||
bg-neutral-100 dark:bg-neutral-500 | ||
flex | ||
justify-between | ||
gap-0 | ||
items-center | ||
py-2 | ||
min-w-[32rem] max-w-min | ||
overflow-x-scroll | ||
"> | ||
<pre class="m-0 bg-transparent dark:bg-neutral-500 text-neutral-700 dark:text-neutral-100 leading-none align-bottom text-sm"><code id="installer-cmd">curl -LsSf {{ config.base_url }}/dl/install.sh | sh</code></pre> | ||
<a class=" | ||
text-sm | ||
inline-flex | ||
items-center | ||
self-center | ||
p-2 | ||
mr-2 | ||
rounded-full | ||
bg-neutral-100 hover:bg-blue-50 dark:bg-neutral-700 | ||
text-neutral-500 dark:text-neutral-300 | ||
" id='installer-copy' href="#">{{ ic::icon(name="clipboard", classes="-mt-[2px]") }}</a> | ||
</div> | ||
</div> |
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