Установите CMS в пару кликов
Предлагаем популярные CMS, которые подойдут для создания вашего
собственного сайта
diff --git a/content/blog/01-astro-sphere-file-structure/index.md b/backup/content/blog/01-astro-sphere-file-structure/index.md similarity index 100% rename from content/blog/01-astro-sphere-file-structure/index.md rename to backup/content/blog/01-astro-sphere-file-structure/index.md diff --git a/content/blog/02-astro-sphere-getting-started/index.md b/backup/content/blog/02-astro-sphere-getting-started/index.md similarity index 100% rename from content/blog/02-astro-sphere-getting-started/index.md rename to backup/content/blog/02-astro-sphere-getting-started/index.md diff --git a/content/blog/03-astro-sphere-add-new-post-or-projects/index.md b/backup/content/blog/03-astro-sphere-add-new-post-or-projects/index.md similarity index 100% rename from content/blog/03-astro-sphere-add-new-post-or-projects/index.md rename to backup/content/blog/03-astro-sphere-add-new-post-or-projects/index.md diff --git a/content/blog/04-astro-sphere-writing-markdown/index.md b/backup/content/blog/04-astro-sphere-writing-markdown/index.md similarity index 100% rename from content/blog/04-astro-sphere-writing-markdown/index.md rename to backup/content/blog/04-astro-sphere-writing-markdown/index.md diff --git a/content/blog/04-astro-sphere-writing-markdown/spongebob.png b/backup/content/blog/04-astro-sphere-writing-markdown/spongebob.png similarity index 100% rename from content/blog/04-astro-sphere-writing-markdown/spongebob.png rename to backup/content/blog/04-astro-sphere-writing-markdown/spongebob.png diff --git a/content/blog/05-astro-sphere-writing-mdx/MyComponent.astro b/backup/content/blog/05-astro-sphere-writing-mdx/MyComponent.astro similarity index 100% rename from content/blog/05-astro-sphere-writing-mdx/MyComponent.astro rename to backup/content/blog/05-astro-sphere-writing-mdx/MyComponent.astro diff --git a/content/blog/05-astro-sphere-writing-mdx/index.mdx b/backup/content/blog/05-astro-sphere-writing-mdx/index.mdx similarity index 100% rename from content/blog/05-astro-sphere-writing-mdx/index.mdx rename to backup/content/blog/05-astro-sphere-writing-mdx/index.mdx diff --git a/content/blog/06-astro-sphere-social-links/index.md b/backup/content/blog/06-astro-sphere-social-links/index.md similarity index 100% rename from content/blog/06-astro-sphere-social-links/index.md rename to backup/content/blog/06-astro-sphere-social-links/index.md diff --git a/content/config.ts b/backup/content/config.ts similarity index 100% rename from content/config.ts rename to backup/content/config.ts diff --git a/content/legal/privacy.md b/backup/content/legal/privacy.md similarity index 100% rename from content/legal/privacy.md rename to backup/content/legal/privacy.md diff --git a/content/legal/terms.md b/backup/content/legal/terms.md similarity index 100% rename from content/legal/terms.md rename to backup/content/legal/terms.md diff --git a/content/projects/project-1/index.md b/backup/content/projects/project-1/index.md similarity index 100% rename from content/projects/project-1/index.md rename to backup/content/projects/project-1/index.md diff --git a/content/projects/project-2/index.md b/backup/content/projects/project-2/index.md similarity index 100% rename from content/projects/project-2/index.md rename to backup/content/projects/project-2/index.md diff --git a/content/projects/project-3/index.md b/backup/content/projects/project-3/index.md similarity index 100% rename from content/projects/project-3/index.md rename to backup/content/projects/project-3/index.md diff --git a/content/projects/project-4/index.md b/backup/content/projects/project-4/index.md similarity index 100% rename from content/projects/project-4/index.md rename to backup/content/projects/project-4/index.md diff --git a/content/work/apple.md b/backup/content/work/apple.md similarity index 100% rename from content/work/apple.md rename to backup/content/work/apple.md diff --git a/content/work/facebook.md b/backup/content/work/facebook.md similarity index 100% rename from content/work/facebook.md rename to backup/content/work/facebook.md diff --git a/content/work/google.md b/backup/content/work/google.md similarity index 100% rename from content/work/google.md rename to backup/content/work/google.md diff --git a/content/work/mcdonalds.md b/backup/content/work/mcdonalds.md similarity index 100% rename from content/work/mcdonalds.md rename to backup/content/work/mcdonalds.md diff --git a/backup/public copy/brand.svg b/backup/public copy/brand.svg new file mode 100644 index 0000000..7f20b24 --- /dev/null +++ b/backup/public copy/brand.svg @@ -0,0 +1,8 @@ + diff --git a/public/favicon copy.svg b/backup/public copy/favicon copy.svg similarity index 100% rename from public/favicon copy.svg rename to backup/public copy/favicon copy.svg diff --git a/public/favicon.svg b/backup/public copy/favicon.svg similarity index 100% rename from public/favicon.svg rename to backup/public copy/favicon.svg diff --git a/backup/public copy/fonts/atkinson-bold.woff b/backup/public copy/fonts/atkinson-bold.woff new file mode 100644 index 0000000..e7f8977 Binary files /dev/null and b/backup/public copy/fonts/atkinson-bold.woff differ diff --git a/backup/public copy/fonts/atkinson-regular.woff b/backup/public copy/fonts/atkinson-regular.woff new file mode 100644 index 0000000..bbe09c5 Binary files /dev/null and b/backup/public copy/fonts/atkinson-regular.woff differ diff --git a/backup/public copy/images/logo.png b/backup/public copy/images/logo.png new file mode 100644 index 0000000..770b12a Binary files /dev/null and b/backup/public copy/images/logo.png differ diff --git a/backup/public copy/img04.jpg b/backup/public copy/img04.jpg new file mode 100644 index 0000000..a706034 Binary files /dev/null and b/backup/public copy/img04.jpg differ diff --git a/backup/public copy/js/animate.js b/backup/public copy/js/animate.js new file mode 100644 index 0000000..8d538fa --- /dev/null +++ b/backup/public copy/js/animate.js @@ -0,0 +1,12 @@ +function animate() { + const animateElements = document.querySelectorAll('.animate') + + animateElements.forEach((element, index) => { + setTimeout(() => { + element.classList.add('show') + }, index * 150) + }); +} + +document.addEventListener("DOMContentLoaded", animate) +document.addEventListener("astro:after-swap", animate) \ No newline at end of file diff --git a/backup/public copy/js/bg.js b/backup/public copy/js/bg.js new file mode 100644 index 0000000..2b9f6ad --- /dev/null +++ b/backup/public copy/js/bg.js @@ -0,0 +1,96 @@ + + function generateParticles(n) { + let value = `${getRandom(2560)}px ${getRandom(2560)}px #000`; + for (let i = 2; i <= n; i++) { + value += `, ${getRandom(2560)}px ${getRandom(2560)}px #000`; + } + return value; + } + + function generateStars(n) { + let value = `${getRandom(2560)}px ${getRandom(2560)}px #fff`; + for (let i = 2; i <= n; i++) { + value += `, ${getRandom(2560)}px ${getRandom(2560)}px #fff`; + } + return value; + } + + function getRandom(max) { + return Math.floor(Math.random() * max); + } + + function initBG() { + const particlesSmall = generateParticles(1000); + const particlesMedium = generateParticles(500); + const particlesLarge = generateParticles(250); + const particles1 = document.getElementById('particles1'); + const particles2 = document.getElementById('particles2'); + const particles3 = document.getElementById('particles3'); + + if (particles1) { + particles1.style.cssText = ` + width: 1px; + height: 1px; + border-radius: 50%; + box-shadow: ${particlesSmall}; + animation: animStar 50s linear infinite; + `; + } + + if (particles2) { + particles2.style.cssText = ` + width: 1.5px; + height: 1.5px; + border-radius: 50%; + box-shadow: ${particlesMedium}; + animation: animateParticle 100s linear infinite; + `; + } + + if (particles3) { + particles3.style.cssText = ` + width: 2px; + height: 2px; + border-radius: 50%; + box-shadow: ${particlesLarge}; + animation: animateParticle 150s linear infinite; + `; + } + + const starsSmall = generateStars(1000); + const starsMedium = generateStars(500); + const starsLarge = generateStars(250); + const stars1 = document.getElementById('stars1'); + const stars2 = document.getElementById('stars2'); + const stars3 = document.getElementById('stars3'); + + if (stars1) { + stars1.style.cssText = ` + width: 1px; + height: 1px; + border-radius: 50%; + box-shadow: ${starsSmall}; + `; + } + + if (stars2) { + stars2.style.cssText = ` + width: 1.5px; + height: 1.5px; + border-radius: 50%; + box-shadow: ${starsMedium}; + `; + } + + if (stars3) { + stars3.style.cssText = ` + width: 2px; + height: 2px; + border-radius: 50%; + box-shadow: ${starsLarge}; + `; + } + } + + document.addEventListener('astro:after-swap', initBG); + initBG(); \ No newline at end of file diff --git a/backup/public copy/js/scroll.js b/backup/public copy/js/scroll.js new file mode 100644 index 0000000..e774103 --- /dev/null +++ b/backup/public copy/js/scroll.js @@ -0,0 +1,10 @@ +function onScroll() { + const header = document.getElementById("header") + if (window.scrollY > 0) { + header.classList.add("scrolled") + } else { + header.classList.remove("scrolled") + } +} + +document.addEventListener("scroll", onScroll) diff --git a/backup/public copy/js/theme.js b/backup/public copy/js/theme.js new file mode 100644 index 0000000..19c9207 --- /dev/null +++ b/backup/public copy/js/theme.js @@ -0,0 +1,67 @@ +function changeTheme() { + const element = document.documentElement + const theme = element.classList.contains("dark") ? "light" : "dark" + + const css = document.createElement("style") + + css.appendChild( + document.createTextNode( + `* { + -webkit-transition: none !important; + -moz-transition: none !important; + -o-transition: none !important; + -ms-transition: none !important; + transition: none !important; + }`, + ), + ) + document.head.appendChild(css) + + if (theme === "dark") { + element.classList.add("dark") + } else { + element.classList.remove("dark") + } + + window.getComputedStyle(css).opacity + document.head.removeChild(css) + localStorage.theme = theme +} + +function preloadTheme() { + const theme = (() => { + const userTheme = localStorage.theme + + if (userTheme === "light" || userTheme === "dark") { + return userTheme + } else { + return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" + } + })() + + const element = document.documentElement + + if (theme === "dark") { + element.classList.add("dark") + } else { + element.classList.remove("dark") + } + + localStorage.theme = theme +} + +window.onload = () => { + function initializeThemeButtons() { + const headerThemeButton = document.getElementById("header-theme-button") + const drawerThemeButton = document.getElementById("drawer-theme-button") + headerThemeButton?.addEventListener("click", changeTheme) + drawerThemeButton?.addEventListener("click", changeTheme) + } + + document.addEventListener("astro:after-swap", initializeThemeButtons) + initializeThemeButtons() +} + +document.addEventListener("astro:after-swap", preloadTheme) + +preloadTheme() diff --git a/backup/public copy/open-graph.jpg b/backup/public copy/open-graph.jpg new file mode 100644 index 0000000..ba48e97 Binary files /dev/null and b/backup/public copy/open-graph.jpg differ diff --git a/backup/public copy/robots.txt b/backup/public copy/robots.txt new file mode 100644 index 0000000..9dae981 --- /dev/null +++ b/backup/public copy/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: http://localhost:4321/sitemap-index.xml \ No newline at end of file diff --git a/backup/public copy/social.svg b/backup/public copy/social.svg new file mode 100644 index 0000000..f48a89a --- /dev/null +++ b/backup/public copy/social.svg @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/backup/public copy/stack.svg b/backup/public copy/stack.svg new file mode 100644 index 0000000..25864ce --- /dev/null +++ b/backup/public copy/stack.svg @@ -0,0 +1,27 @@ + \ No newline at end of file diff --git a/backup/public copy/ui.svg b/backup/public copy/ui.svg new file mode 100644 index 0000000..b52389f --- /dev/null +++ b/backup/public copy/ui.svg @@ -0,0 +1,87 @@ + \ No newline at end of file diff --git a/backup/wp/index.html_ b/backup/wp/index.html_ new file mode 100644 index 0000000..81d9c6a --- /dev/null +++ b/backup/wp/index.html_ @@ -0,0 +1,102 @@ +
Сайт обслуживается в Рег.ру
Осталось разместить файлы сайта по инструкции. Если готового сайта нет,
установите CMS и создайте его с нуля.
Остались вопросы? Cоставьте заявку, и наши специалисты помогут.
Предлагаем популярные CMS, которые подойдут для создания вашего
собственного сайта
+Semantic Personal Publishing Platform
+ +Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I am proud to be a part of. Thousands of hours have gone into WordPress, and we are dedicated to making it better every day. Thank you for making it part of your world.
+— Matt Mullenweg
+ +wp-config.php file with your database connection details.
+ wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details.wp-config.php and upload it.wp-config.php file, and try again. If it fails again, please go to the WordPress support forums with as much data as you can gather.admin.index.php.WordPress can import from a number of systems. First you need to get WordPress installed and working as described above, before using our import tools.
+ +If you have any questions that are not addressed in this document, please take advantage of WordPress’ numerous online resources:
+WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgeable than yourself, or writing the author of a media article that overlooks us.
+ +WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.
+ +WordPress is free software, and is released under the terms of the GPL (GNU General Public License) version 2 or (at your option) any later version. See license.txt.
+ + + diff --git a/backup/wp/wp-activate.php b/backup/wp/wp-activate.php new file mode 100644 index 0000000..5dc6023 --- /dev/null +++ b/backup/wp/wp-activate.php @@ -0,0 +1,218 @@ +get_error_code() ) ) { + status_header( 404 ); +} elseif ( is_wp_error( $result ) ) { + $error_code = $result->get_error_code(); + + if ( ! in_array( $error_code, $valid_error_codes, true ) ) { + status_header( 400 ); + } +} + +nocache_headers(); + +if ( is_object( $wp_object_cache ) ) { + $wp_object_cache->cache_enabled = false; +} + +// Fix for page title. +$wp_query->is_404 = false; + +/** + * Fires before the Site Activation page is loaded. + * + * @since 3.0.0 + */ +do_action( 'activate_header' ); + +/** + * Adds an action hook specific to this page. + * + * Fires on {@see 'wp_head'}. + * + * @since MU (3.0.0) + */ +function do_activate_header() { + /** + * Fires within the `` section of the Site Activation page. + * + * Fires on the {@see 'wp_head'} action. + * + * @since 3.0.0 + */ + do_action( 'activate_wp_head' ); +} +add_action( 'wp_head', 'do_activate_header' ); + +/** + * Loads styles specific to this page. + * + * @since MU (3.0.0) + */ +function wpmu_activate_stylesheet() { + ?> + + + +get_error_message() ); ?>
+ + + + +user_login ); ?>
++
+ View your site or Log in' ), esc_url( $url ), esc_url( $login_url ) ); + ?> +
+ ++ Log in or go back to the homepage.' ), + esc_url( network_site_url( $blog_details->path . 'wp-login.php', 'login' ) ), + esc_url( network_home_url( $blog_details->path ) ) + ); + ?> +
+ ++ Version %1$s addressed %2$s bug.', + 'Version %1$s addressed %2$s bugs.', + 10 + ), + '6.5.3', + '21' + ); + ?> + the release notes.' ), + sprintf( + /* translators: %s: WordPress version. */ + esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), + sanitize_title( '6.5.3' ) + ) + ); + ?> +
++ Version %1$s addressed a security issue and fixed %2$s bug.', + 'Version %1$s addressed a security issue and fixed %2$s bugs.', + 12 + ), + '6.5.2', + '12' + ); + ?> + the release notes.' ), + sprintf( + /* translators: %s: WordPress version. */ + esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), + sanitize_title( '6.5.2' ) + ) + ); + ?> +
++ +
+
+
+
+
+
+
+
+
+ + Requires Plugins' + ); + ?> +
++ Learn WordPress is a free resource for new and experienced WordPress users. Learn is stocked with how-to videos on using various features in WordPress, interactive workshops for exploring topics in-depth, and lesson plans for diving deep into specific areas of WordPress.' ), + 'https://learn.wordpress.org/', + 'https://learn.wordpress.org/online-workshops/' + ); + ?> +
++ WordPress %2$s Field Guide. Learn about the changes in this release with detailed developer notes to help you build with WordPress.' ), + esc_url( __( 'https://make.wordpress.org/core/wordpress-6-5-field-guide/' ) ), + '6.5' + ); + ?> +
++ Read the WordPress %2$s Release Notes for information on installation, enhancements, fixed issues, release contributors, learning resources, and the list of file changes.' ), + sprintf( + /* translators: %s: WordPress version number. */ + esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ), + '6-5' + ), + '6.5' + ); + ?> +
+