Skip to content

Commit

Permalink
update home page and post
Browse files Browse the repository at this point in the history
  • Loading branch information
MR-Addict committed May 10, 2023
1 parent 81fe09e commit c9e6495
Show file tree
Hide file tree
Showing 23 changed files with 85 additions and 523 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)
9 changes: 0 additions & 9 deletions blog/2019-05-28-first-blog-post.md

This file was deleted.

67 changes: 67 additions & 0 deletions blog/stas-pc-maintenance-history.md
Original file line number Diff line number Diff line change
@@ -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

第一学年:

<img width="300" alt="2018-2019 第一学年" src='/assets/images/stas-pc-maintenance/2018-2019第一学年.jpg'/>

作者:巨佬张龙腾 时间:2018-2019 第一学年

第二学年:

<img width="300" alt="2018-2019 第二学年" src='/assets/images/stas-pc-maintenance/2018-2019第二学年.jpg'/>

作者:巨佬张龙腾 时间:2018-2019 第二学年

## 2020-2021

第一学年:

<img width="500" alt="2020-2021第一学年" src='/assets/images/stas-pc-maintenance/2020-2021第一学年.jpg'/>

作者:巨佬徐赵钦 时间:2020-2021 第一学年

第二学年第一次义务维修:

<img width="300" alt="2020-2021第二学年" src='/assets/images/stas-pc-maintenance/2020-2021第二学年(1).png'/>

作者:大一学弟张舒远 时间:2020-2021 第二学年

第二学年第二次义务维修:

<img width="300" alt="2020-2021第二学年" src='/assets/images/stas-pc-maintenance/2020-2021第二学年(2).png'/>

作者:大一学弟张舒远 时间:2020-2021 第二学年

## 2021-2022

第一学年:

<img width="300" alt="2021-2022第一学年" src='/assets/images/stas-pc-maintenance/2021-2022第一学年.jpg'/>

作者:学姐朱逸云 时间:2021-2022 第一学年

## 2022-2023

第一学年:

<img width="300" alt="2022-2023第一学年" src='/assets/images/stas-pc-maintenance/2022-2023第一学年.png'/>

作者:学姐朱逸云 时间:2022-2023 第一学年

第二学年:

<img width="300" alt="2022-2023第二学年" src='/assets/images/stas-pc-maintenance/2022-2023第二学年.png'/>

作者:学姐朱逸云 时间:2022-2023 第二学年
10 changes: 1 addition & 9 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const config = {
},
{
to: "/blog",
label: "博客文章",
label: "动态文章",
position: "left",
},
{
Expand All @@ -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",
Expand Down
70 changes: 0 additions & 70 deletions src/components/HomepageFeatures/index.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions src/components/HomepageFeatures/styles.module.css

This file was deleted.

30 changes: 10 additions & 20 deletions src/pages/index.module.css
Original file line number Diff line number Diff line change
@@ -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);
}
27 changes: 6 additions & 21 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -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 (
<header className={clsx("hero hero--primary", styles.heroBanner)}>
<div className="container">
<h1 className="hero__title">{siteConfig.title}</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs/electronics/intro"
>
Docusaurus Tutorial - 5min ⏱️
</Link>
</div>
</div>
</header>
<main className={styles.main}>
<h1 className="hero__title">{siteConfig.title}</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>
</main>
);
}

Expand All @@ -32,9 +20,6 @@ export default function Home(): JSX.Element {
return (
<Layout description={siteConfig.title}>
<HomepageHeader />
<main>
<HomepageFeatures />
</main>
</Layout>
);
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/img/docusaurus-social-card.jpg
Binary file not shown.
Binary file removed static/img/docusaurus.png
Binary file not shown.
Binary file removed static/img/favicon.ico
Binary file not shown.
1 change: 0 additions & 1 deletion static/img/logo.svg

This file was deleted.

Loading

0 comments on commit c9e6495

Please sign in to comment.