mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:59:45 +00:00
Рефакторинг: pages, вынос routes, создание индексных файлов, readme
This commit is contained in:
1 parent
233d047484
commit
e4dd391568
36 files changed
+190
-210
No files matched your search
+51
-1
@@ -5,9 +5,59 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
|
||||
<title>main — skb-site</title>
|
||||
</head>
|
||||
|
||||
<!-- Please don't change. Block is needed for React app. -->
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
|
||||
<!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/ -->
|
||||
|
||||
<script src="http://skb-site.local/wp-includes/js/comment-reply.min.js?ver=6.4.3" id="comment-reply-js" async data-wp-strategy="async"></script>
|
||||
<script id="wp-block-template-skip-link-js-after">
|
||||
( function() {
|
||||
var skipLinkTarget = document.querySelector( 'main' ),
|
||||
sibling,
|
||||
skipLinkTargetID,
|
||||
skipLink;
|
||||
|
||||
// Early exit if a skip-link target can't be located.
|
||||
if ( ! skipLinkTarget ) {
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Get the site wrapper.
|
||||
* The skip-link will be injected in the beginning of it.
|
||||
*/
|
||||
sibling = document.querySelector( '.wp-site-blocks' );
|
||||
|
||||
// Early exit if the root element was not found.
|
||||
if ( ! sibling ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Get the skip-link target's ID, and generate one if it doesn't exist.
|
||||
skipLinkTargetID = skipLinkTarget.id;
|
||||
if ( ! skipLinkTargetID ) {
|
||||
skipLinkTargetID = 'wp--skip-link--target';
|
||||
skipLinkTarget.id = skipLinkTargetID;
|
||||
}
|
||||
|
||||
// Create the skip link.
|
||||
skipLink = document.createElement( 'a' );
|
||||
skipLink.classList.add( 'skip-link', 'screen-reader-text' );
|
||||
skipLink.href = '#' + skipLinkTargetID;
|
||||
skipLink.innerHTML = 'Перейти к содержимому';
|
||||
|
||||
// Inject the skip link.
|
||||
sibling.parentElement.insertBefore( skipLink, sibling );
|
||||
}() );
|
||||
|
||||
</script>
|
||||
<script id="rp-react-app-asset-0-0-js-extra"></script>
|
||||
<script>
|
||||
var reactPress = {"api":{"nonce":"078e5a02b1","rest_url":"http:\/\/skb-site.local\/wp-json\/","graphql_url":"http:\/\/skb-site.local\/graphql"},"post":{"ID":6,"post_author":"1","post_date":"2024-02-13 10:11:05","post_date_gmt":"2024-02-13 07:11:05","post_content":"<!-- wp:html -->\n<!-- Please don't change. Block is needed for React app. -->\n<noscript>You need to enable JavaScript to run this app.<\/noscript>\n<div id=\"root\"><\/div>\n<!-- \/wp:html -->","post_title":"main","post_excerpt":"","post_status":"publish","comment_status":"closed","ping_status":"closed","post_password":"","post_name":"main","to_ping":"","pinged":"","post_modified":"2024-02-13 12:19:19","post_modified_gmt":"2024-02-13 09:19:19","post_content_filtered":"","post_parent":0,"guid":"http:\/\/skb-site.local\/main\/","menu_order":0,"post_type":"page","post_mime_type":"","comment_count":"0","filter":"raw"},"user":{"data":{},"ID":0,"caps":[],"cap_key":null,"roles":[],"allcaps":[],"filter":null},"usermeta":""};
|
||||
</script>
|
||||
<script id="rp-react-app-asset-0-0" type="module" src="http://skb-site.local/wp-content/reactpress/apps/skb/build/static/js/main.ced20d2f.js?ver=1"></script></body>
|
||||
</html>
|
||||
Reference in new issue
Block a user