chore: faq

This commit is contained in:
zerosoul
2022-05-09 10:21:12 +08:00
parent 0f89bf4ff5
commit f3b82295d6
2 changed files with 146 additions and 131 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
{ {
"name": "rustchat-web", "name": "rustchat-web",
"version": "1.0.0", "version": "0.2.6",
"private": true, "private": true,
"homepage": "http://privoce.rustchat.com", "homepage": "https://privoce.rustchat.com",
"dependencies": { "dependencies": {
"@babel/core": "^7.17.10", "@babel/core": "^7.17.10",
"@emoji-mart/data": "^1.0.1", "@emoji-mart/data": "^1.0.1",
+16 -1
View File
@@ -1,5 +1,20 @@
// import React from "react"; // import React from "react";
import styled from "styled-components";
import pkg from "../../../package.json";
const Styled = styled.div`
display: flex;
flex-direction: column;
gap: 12px;
`;
export default function FAQ() { export default function FAQ() {
console.log("build time", process.env); console.log("build time", process.env);
return <div>Build Timestamp: {process.env.REACT_APP_BUILD_TIME}</div>; return (
<Styled>
<div className="item">
Build Timestamp: {process.env.REACT_APP_BUILD_TIME}
</div>
<div className="item">Version: {pkg.version}</div>
</Styled>
);
} }