1
0
mirror of https://github.com/SunnyQjm/sunny-blog.git synced 2026-06-03 08:16:45 +08:00

添加关于和标签空页面

This commit is contained in:
SunnyQjm
2019-10-26 22:29:01 +08:00
parent 5010dfa23d
commit c62f56f1b7
8 changed files with 57 additions and 1 deletions
+1
View File
@@ -16,3 +16,4 @@
# umi
.umi
.umi-production
+2 -1
View File
@@ -3,7 +3,7 @@
.nav-bar-component {
display: flex;
align-items: center;
padding: 20px 20%;
padding: 20px 50px;
background: #f5f5f5;
&__title {
@@ -43,6 +43,7 @@
&-item {
&:hover {
background: #e1e1e1;
color: #555;
}
&--active {
background: #e1e1e1;
+1
View File
@@ -8,6 +8,7 @@
}
&__content {
padding: 20px 50px;
flex-grow: 1;
}
View File
+26
View File
@@ -0,0 +1,26 @@
import React from "react";
import './index.scss'
interface AboutPageProps {
}
interface AboutPageState {
}
class AboutPage extends React.Component<AboutPageProps, AboutPageState> {
constructor(props: AboutPageProps) {
super(props);
}
render(): React.ReactElement<any, string | React.JSXElementConstructor<any>> | string | number | {} | React.ReactNodeArray | React.ReactPortal | boolean | null | undefined {
return (
<div>
About Page
</div>
);
}
}
export default AboutPage
+1
View File
@@ -5,6 +5,7 @@ import styles from './index.css';
export default function () {
return (
<div className={styles.normal}>
111111111
<div className={styles.welcome}/>
<ul className={styles.list}>
<li>To get started, edit <code>src/pages/index.js</code> and save to reload.</li>
View File
+26
View File
@@ -0,0 +1,26 @@
import React from "react";
import './index.scss'
interface TagsPageProps {
}
interface TagsPageState {
}
class TagsPage extends React.Component<TagsPageProps, TagsPageState> {
constructor(props: TagsPageProps) {
super(props);
}
render(): React.ReactElement<any, string | React.JSXElementConstructor<any>> | string | number | {} | React.ReactNodeArray | React.ReactPortal | boolean | null | undefined {
return (
<div>
Tags Page
</div>
);
}
}
export default TagsPage