mirror of
https://github.com/SunnyQjm/sunny-blog.git
synced 2026-06-03 08:16:45 +08:00
添加关于和标签空页面
This commit is contained in:
@@ -16,3 +16,4 @@
|
||||
# umi
|
||||
.umi
|
||||
.umi-production
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
}
|
||||
|
||||
&__content {
|
||||
padding: 20px 50px;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user