diff --git a/docs/quick-start/customer/customer-payment/_category_.json b/docs/quick-start/customer/customer-payment/_category_.json index d08c031f..33b58469 100644 --- a/docs/quick-start/customer/customer-payment/_category_.json +++ b/docs/quick-start/customer/customer-payment/_category_.json @@ -4,5 +4,6 @@ "link": { "type": "doc", "id": "quick-start/customer/customer-payment/intro" - } + }, + "collapsible": false } diff --git a/docs/quick-start/customer/customer-payment/advanced/_category_.json b/docs/quick-start/customer/customer-payment/advanced/_category_.json deleted file mode 100644 index 4e86909c..00000000 --- a/docs/quick-start/customer/customer-payment/advanced/_category_.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "label": "Advanced", - "position": 3, - "link": { - "slug": "/customer/advanced" - } -} diff --git a/docs/quick-start/customer/customer-payment/basic/_category_.json b/docs/quick-start/customer/customer-payment/basic/_category_.json deleted file mode 100644 index b64b4e9c..00000000 --- a/docs/quick-start/customer/customer-payment/basic/_category_.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "label": "Data Entry", - "position": 2, - "link": { - "slug": "/customer/basic" - } -} diff --git a/docs/quick-start/customer/customer-payment/basic/customer-payment-in-foreign.md b/docs/quick-start/customer/customer-payment/customer-payment-in-foreign.md similarity index 86% rename from docs/quick-start/customer/customer-payment/basic/customer-payment-in-foreign.md rename to docs/quick-start/customer/customer-payment/customer-payment-in-foreign.md index 8435b559..a4bd2d3a 100644 --- a/docs/quick-start/customer/customer-payment/basic/customer-payment-in-foreign.md +++ b/docs/quick-start/customer/customer-payment/customer-payment-in-foreign.md @@ -5,8 +5,10 @@ hide_title: true description: How to process customer payment in foreign currency in SQL Accounting slug: /quick-start/customer/create-customer-payment-in-foreign-currency tags: ["Customer"] +sidebar_class_name: hidden-sidebar-items --- +import '@src/css/sidebar.css'; import { YtLayout } from '@src/components/yt-layout'; +/> \ No newline at end of file diff --git a/docusaurus.config.js b/docusaurus.config.js index 4e8a565e..68071193 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -54,7 +54,6 @@ const config = { docs: { routeBasePath: "/", sidebarPath: "./sidebars.js", - editUrl: "https://github.com/eStreamSoftware/docs-sqlacc/edit/master/", }, theme: { customCss: [require.resolve("./static/css/custom.css")], diff --git a/src/components/qrcode.js b/src/components/qrcode.js index 03288714..bdc4a570 100644 --- a/src/components/qrcode.js +++ b/src/components/qrcode.js @@ -15,7 +15,7 @@ export const QRCodeGenerator = ({url}) => { className='qr-button' > - View on Youtube + View on Mobile {/* Full-screen preview modal */} diff --git a/src/css/footer.css b/src/css/footer.css new file mode 100644 index 00000000..fe693aa0 --- /dev/null +++ b/src/css/footer.css @@ -0,0 +1,31 @@ + +.footer { + padding: var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal);; + background-color: var(--ifm-footer-background-color); + color: var(--ifm-footer-color); + display: flex; + flex-direction: column; + align-items: center; + } + + .footer a { + color: var(--ifm-footer-link-color); + line-height: 2; + } + + .footer p { + color: var(--ifm-footer-link-color); + line-height: 2; + } + + .footer a:hover { + color: var(--ifm-footer-link-hover-color); + } + + .linkContainer { + display: flex; + justify-content: center; + gap: 15px; + margin-bottom: 10px; + } + \ No newline at end of file diff --git a/src/css/sidebar.css b/src/css/sidebar.css new file mode 100644 index 00000000..a0846fb1 --- /dev/null +++ b/src/css/sidebar.css @@ -0,0 +1,3 @@ +.hidden-sidebar-items{ + display: none; +} \ No newline at end of file diff --git a/src/theme/Footer/index.js b/src/theme/Footer/index.js new file mode 100644 index 00000000..ff31e9fa --- /dev/null +++ b/src/theme/Footer/index.js @@ -0,0 +1,41 @@ +import React from 'react'; +import { FaHome, FaFacebook, FaYoutube } from "react-icons/fa"; +import '@src/css/footer.css'; +import siteConfig from '@generated/docusaurus.config'; + +const iconMap = { + Home: , + Facebook: , + Youtube: , +}; + +const Link = ({ key, href, label }) => ( + + {iconMap[label] || label} + +) + +export default function FooterWrapper() { + const items = siteConfig.themeConfig.footer.links[0].items; + return ( + + ); +} diff --git a/static/css/custom.css b/static/css/custom.css index e09c3e98..c1eeb205 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -2,4 +2,4 @@ img { max-width: 100%; height: auto; -} +} \ No newline at end of file