mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-20 01:45:30 -04:00
📝 Complete documentation overhaul
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script type="text/javascript">
|
||||
function displayFunction() {
|
||||
function switchLayout() {
|
||||
var pageDiv = document.getElementById("page");
|
||||
var profileDiv = document.getElementById("profile");
|
||||
var layoutSpan = document.getElementById("layout");
|
||||
@@ -16,18 +16,23 @@
|
||||
</script>
|
||||
|
||||
<div class="flex px-4 py-3 mb-8 text-base rounded-md bg-primary-100 dark:bg-primary-900">
|
||||
<span class="pr-3 text-primary-400">
|
||||
<span class="flex items-center pr-3 text-primary-400">
|
||||
{{ partial "icon.html" "exclamation-triangle" }}
|
||||
</span>
|
||||
<span class="no-prose dark:text-gray-300">
|
||||
This is a demo of the `<code id="layout" class="">page</code>` homepage layout.
|
||||
<button class="px-2 py-2 font-bold" onclick="displayFunction()">Switch</button>
|
||||
<span class="flex items-center justify-between flex-grow no-prose dark:text-gray-300">
|
||||
<span>This is a demo of the `<code id="layout" class="">page</code>` layout.</span>
|
||||
<button
|
||||
class="font-bold px-4 py-2 !text-white !no-underline rounded-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
|
||||
onclick="switchLayout()"
|
||||
>
|
||||
Switch layout ↻
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div id="page">
|
||||
{{ partial "partials/home/page.html" . }}
|
||||
</div>
|
||||
<div id="profile">
|
||||
<div id="profile" style="display: none">
|
||||
{{ partial "partials/home/profile.html" . }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user