X7ROOT File Manager
Current Path:
/home/notabjze/pyirates.net/wp-content/plugins/extendify/src/Assist
home
/
notabjze
/
pyirates.net
/
wp-content
/
plugins
/
extendify
/
src
/
Assist
/
ðŸ“
..
📄
AssistLandingPage.jsx
(347 B)
ðŸ“
api
📄
app.css
(1.6 KB)
ðŸ“
components
📄
documentation.css
(2.01 KB)
ðŸ“
hooks
ðŸ“
lib
📄
page.js
(818 B)
ðŸ“
pages
ðŸ“
state
ðŸ“
svg
ðŸ“
tasks
ðŸ“
util
Editing: page.js
import { render as renderDeprecated, createRoot } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; import { AssistLandingPage } from '@assist/AssistLandingPage'; import './app.css'; const render = (component, node) => { if (typeof createRoot !== 'function') { renderDeprecated(component, node); return; } createRoot(node).render(component); }; const init = () => { const assistPage = document.getElementById('extendify-assist-landing-page'); if (!assistPage) return; // append skip link to get here document .querySelector('.screen-reader-shortcut') .insertAdjacentHTML( 'afterend', `<a href="#extendify-assist-landing-page" class="screen-reader-shortcut">${__( 'Skip to Assist', 'extendify-local', )}</a>`, ); render(<AssistLandingPage />, assistPage); }; init();
Upload File
Create Folder