-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename docs, add notes, add internals page
- Loading branch information
Showing
6 changed files
with
347 additions
and
49 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,4 +1,40 @@ | ||
<div class="flex bg-info text-info-content rounded-lg p-2 w-fit my-2"> | ||
<svg xmlns="http://www.w3.org/2000/svg" class="my-auto mx-2 stroke-current shrink-0 h-6 w-6" fill="none" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> | ||
--- | ||
interface Props { | ||
mode: "mascot" | "icon"; | ||
} | ||
const { mode } = Astro.props; | ||
--- | ||
|
||
<div | ||
class="flex bg-info text-info-content rounded-lg p-2 w-fit my-2 prose-a:invert prose-a:mx-1 prose-code:mx-1 prose-code:bg-base-100 prose-code:text-base-content prose-ul:list-none" | ||
> | ||
{ | ||
mode == "icon" && ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
class="my-auto mx-2 stroke-current shrink-0 h-6 w-6" | ||
fill="none" | ||
viewBox="0 0 24 24" | ||
> | ||
<path | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="2" | ||
d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" | ||
/> | ||
</svg> | ||
) | ||
} | ||
|
||
{ | ||
mode == "mascot" && ( | ||
<img | ||
alt="Yaksha Programming Language Mascot" | ||
src="/imgs/yaka-mascot.png" | ||
class="${iconStshrink-0 h-24 w-24" | ||
/> | ||
) | ||
} | ||
<slot /> | ||
</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
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
Oops, something went wrong.