diff --git a/README.md b/README.md index 229ff66..97ea080 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# 技术部文档 +# 技术部文档 [![pages](https://github.com/NJTUSTAS/njtustas.github.io/actions/workflows/pages.yml/badge.svg)](https://github.com/NJTUSTAS/njtustas.github.io/actions/workflows/pages.yml) diff --git a/blog/2019-05-28-first-blog-post.md b/blog/2019-05-28-first-blog-post.md deleted file mode 100644 index 431e430..0000000 --- a/blog/2019-05-28-first-blog-post.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -slug: first-blog-post -title: First Blog Post -authors: - name: Cael -tags: [hola, docusaurus] ---- - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet diff --git a/blog/stas-pc-maintenance-history.md b/blog/stas-pc-maintenance-history.md new file mode 100644 index 0000000..af23ba8 --- /dev/null +++ b/blog/stas-pc-maintenance-history.md @@ -0,0 +1,67 @@ +--- +title: "校科协义务维修海报编年史" +tags: ["义务维修", "海报"] +authors: + name: Cael + title: 曾经的电子组组长,现在搞软件了 + url: https://github.com/MR-Addict + image_url: https://avatars.githubusercontent.com/u/75357598?v=4 +--- + +南工大学校科协有着几十年的义务维修经验,每次义务维修也都有着自己做海报的传统,由于我发现近年来的校科协义务维修的海报越来越有大学生的活力,所以想着搜集一下以往的海报,做成一个编年史,也希望后人能继续丰富海报的内容。 + +## 2018-2019 + +第一学年: + +2018-2019 第一学年 + +作者:巨佬张龙腾 时间:2018-2019 第一学年 + +第二学年: + +2018-2019 第二学年 + +作者:巨佬张龙腾 时间:2018-2019 第二学年 + +## 2020-2021 + +第一学年: + +2020-2021第一学年 + +作者:巨佬徐赵钦 时间:2020-2021 第一学年 + +第二学年第一次义务维修: + +2020-2021第二学年 + +作者:大一学弟张舒远 时间:2020-2021 第二学年 + +第二学年第二次义务维修: + +2020-2021第二学年 + +作者:大一学弟张舒远 时间:2020-2021 第二学年 + +## 2021-2022 + +第一学年: + +2021-2022第一学年 + +作者:学姐朱逸云 时间:2021-2022 第一学年 + +## 2022-2023 + +第一学年: + +2022-2023第一学年 + +作者:学姐朱逸云 时间:2022-2023 第一学年 + +第二学年: + +2022-2023第二学年 + +作者:学姐朱逸云 时间:2022-2023 第二学年 diff --git a/docusaurus.config.js b/docusaurus.config.js index a0ad5bf..8d85f7a 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -63,7 +63,7 @@ const config = { }, { to: "/blog", - label: "博客文章", + label: "动态文章", position: "left", }, { @@ -83,19 +83,11 @@ const config = { label: "电子组文档", to: "/docs/electronics/intro", }, - { - label: "编程组文档", - to: "/docs/electronics/intro", - }, ], }, { title: "资源", items: [ - { - label: "本站仓库", - to: "https://github.com/NJTUSTAS/njtustas.github.io", - }, { label: "值班笔记", href: "https://punch.mraddict.top", diff --git a/src/components/HomepageFeatures/index.tsx b/src/components/HomepageFeatures/index.tsx deleted file mode 100644 index ee86e91..0000000 --- a/src/components/HomepageFeatures/index.tsx +++ /dev/null @@ -1,70 +0,0 @@ -import React from "react"; -import clsx from "clsx"; -import styles from "./styles.module.css"; - -type FeatureItem = { - title: string; - Svg: React.ComponentType>; - description: JSX.Element; -}; - -const FeatureList: FeatureItem[] = [ - { - title: "Easy to Use", - Svg: require("@site/static/img/undraw_docusaurus_mountain.svg").default, - description: ( - <> - Docusaurus was designed from the ground up to be easily installed and - used to get your website up and running quickly. - - ), - }, - { - title: "Focus on What Matters", - Svg: require("@site/static/img/undraw_docusaurus_tree.svg").default, - description: ( - <> - Docusaurus lets you focus on your docs, and we'll do the chores. Go - ahead and move your docs into the docs directory. - - ), - }, - { - title: "Powered by React", - Svg: require("@site/static/img/undraw_docusaurus_react.svg").default, - description: ( - <> - Extend or customize your website layout by reusing React. Docusaurus can - be extended while reusing the same header and footer. - - ), - }, -]; - -function Feature({ title, Svg, description }: FeatureItem) { - return ( -
-
- -
-
-

{title}

-

{description}

-
-
- ); -} - -export default function HomepageFeatures(): JSX.Element { - return ( -
-
-
- {FeatureList.map((props, idx) => ( - - ))} -
-
-
- ); -} diff --git a/src/components/HomepageFeatures/styles.module.css b/src/components/HomepageFeatures/styles.module.css deleted file mode 100644 index b248eb2..0000000 --- a/src/components/HomepageFeatures/styles.module.css +++ /dev/null @@ -1,11 +0,0 @@ -.features { - display: flex; - align-items: center; - padding: 2rem 0; - width: 100%; -} - -.featureSvg { - height: 200px; - width: 200px; -} diff --git a/src/pages/index.module.css b/src/pages/index.module.css index 9f71a5d..15b877a 100644 --- a/src/pages/index.module.css +++ b/src/pages/index.module.css @@ -1,23 +1,13 @@ -/** - * CSS files with the .module.css suffix will be treated as CSS modules - * and scoped locally. - */ - -.heroBanner { - padding: 4rem 0; - text-align: center; - position: relative; - overflow: hidden; -} - -@media screen and (max-width: 996px) { - .heroBanner { - padding: 2rem; - } -} - -.buttons { +.main { + width: 100%; + min-height: 60vh; display: flex; - align-items: center; + flex-direction: column; justify-content: center; + align-items: center; + gap: 1rem; +} + +.main h1 { + color: var(--ifm-color-primary); } diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 7b03089..4c9aee9 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,29 +1,17 @@ import React from "react"; -import clsx from "clsx"; -import Link from "@docusaurus/Link"; -import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; import Layout from "@theme/Layout"; -import HomepageFeatures from "@site/src/components/HomepageFeatures"; +import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; import styles from "./index.module.css"; function HomepageHeader() { const { siteConfig } = useDocusaurusContext(); + return ( -
-
-

{siteConfig.title}

-

{siteConfig.tagline}

-
- - Docusaurus Tutorial - 5min ⏱️ - -
-
-
+
+

{siteConfig.title}

+

{siteConfig.tagline}

+
); } @@ -32,9 +20,6 @@ export default function Home(): JSX.Element { return ( -
- -
); } diff --git "a/static/assets/images/stas-pc-maintenance/2018-2019\347\254\254\344\270\200\345\255\246\345\271\264.jpg" "b/static/assets/images/stas-pc-maintenance/2018-2019\347\254\254\344\270\200\345\255\246\345\271\264.jpg" new file mode 100644 index 0000000..d4c0750 Binary files /dev/null and "b/static/assets/images/stas-pc-maintenance/2018-2019\347\254\254\344\270\200\345\255\246\345\271\264.jpg" differ diff --git "a/static/assets/images/stas-pc-maintenance/2018-2019\347\254\254\344\272\214\345\255\246\345\271\264.jpg" "b/static/assets/images/stas-pc-maintenance/2018-2019\347\254\254\344\272\214\345\255\246\345\271\264.jpg" new file mode 100644 index 0000000..1f581e0 Binary files /dev/null and "b/static/assets/images/stas-pc-maintenance/2018-2019\347\254\254\344\272\214\345\255\246\345\271\264.jpg" differ diff --git "a/static/assets/images/stas-pc-maintenance/2020-2021\347\254\254\344\270\200\345\255\246\345\271\264.jpg" "b/static/assets/images/stas-pc-maintenance/2020-2021\347\254\254\344\270\200\345\255\246\345\271\264.jpg" new file mode 100644 index 0000000..549c385 Binary files /dev/null and "b/static/assets/images/stas-pc-maintenance/2020-2021\347\254\254\344\270\200\345\255\246\345\271\264.jpg" differ diff --git "a/static/assets/images/stas-pc-maintenance/2020-2021\347\254\254\344\272\214\345\255\246\345\271\264(1).png" "b/static/assets/images/stas-pc-maintenance/2020-2021\347\254\254\344\272\214\345\255\246\345\271\264(1).png" new file mode 100644 index 0000000..32bc532 Binary files /dev/null and "b/static/assets/images/stas-pc-maintenance/2020-2021\347\254\254\344\272\214\345\255\246\345\271\264(1).png" differ diff --git "a/static/assets/images/stas-pc-maintenance/2020-2021\347\254\254\344\272\214\345\255\246\345\271\264(2).png" "b/static/assets/images/stas-pc-maintenance/2020-2021\347\254\254\344\272\214\345\255\246\345\271\264(2).png" new file mode 100644 index 0000000..bd5d2fd Binary files /dev/null and "b/static/assets/images/stas-pc-maintenance/2020-2021\347\254\254\344\272\214\345\255\246\345\271\264(2).png" differ diff --git "a/static/assets/images/stas-pc-maintenance/2021-2022\347\254\254\344\270\200\345\255\246\345\271\264.jpg" "b/static/assets/images/stas-pc-maintenance/2021-2022\347\254\254\344\270\200\345\255\246\345\271\264.jpg" new file mode 100644 index 0000000..26ef327 Binary files /dev/null and "b/static/assets/images/stas-pc-maintenance/2021-2022\347\254\254\344\270\200\345\255\246\345\271\264.jpg" differ diff --git "a/static/assets/images/stas-pc-maintenance/2022-2023\347\254\254\344\270\200\345\255\246\345\271\264.png" "b/static/assets/images/stas-pc-maintenance/2022-2023\347\254\254\344\270\200\345\255\246\345\271\264.png" new file mode 100644 index 0000000..75576d0 Binary files /dev/null and "b/static/assets/images/stas-pc-maintenance/2022-2023\347\254\254\344\270\200\345\255\246\345\271\264.png" differ diff --git "a/static/assets/images/stas-pc-maintenance/2022-2023\347\254\254\344\272\214\345\255\246\345\271\264.png" "b/static/assets/images/stas-pc-maintenance/2022-2023\347\254\254\344\272\214\345\255\246\345\271\264.png" new file mode 100644 index 0000000..3973f5c Binary files /dev/null and "b/static/assets/images/stas-pc-maintenance/2022-2023\347\254\254\344\272\214\345\255\246\345\271\264.png" differ diff --git a/static/img/docusaurus-social-card.jpg b/static/img/docusaurus-social-card.jpg deleted file mode 100644 index ffcb448..0000000 Binary files a/static/img/docusaurus-social-card.jpg and /dev/null differ diff --git a/static/img/docusaurus.png b/static/img/docusaurus.png deleted file mode 100644 index f458149..0000000 Binary files a/static/img/docusaurus.png and /dev/null differ diff --git a/static/img/favicon.ico b/static/img/favicon.ico deleted file mode 100644 index c01d54b..0000000 Binary files a/static/img/favicon.ico and /dev/null differ diff --git a/static/img/logo.svg b/static/img/logo.svg deleted file mode 100644 index 9db6d0d..0000000 --- a/static/img/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/undraw_docusaurus_mountain.svg b/static/img/undraw_docusaurus_mountain.svg deleted file mode 100644 index af961c4..0000000 --- a/static/img/undraw_docusaurus_mountain.svg +++ /dev/null @@ -1,171 +0,0 @@ - - Easy to Use - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/static/img/undraw_docusaurus_react.svg b/static/img/undraw_docusaurus_react.svg deleted file mode 100644 index 94b5cf0..0000000 --- a/static/img/undraw_docusaurus_react.svg +++ /dev/null @@ -1,170 +0,0 @@ - - Powered by React - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/static/img/undraw_docusaurus_tree.svg b/static/img/undraw_docusaurus_tree.svg deleted file mode 100644 index d9161d3..0000000 --- a/static/img/undraw_docusaurus_tree.svg +++ /dev/null @@ -1,40 +0,0 @@ - - Focus on What Matters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -