chore: faq
This commit is contained in:
+2
-2
@@ -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",
|
||||||
|
|||||||
@@ -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>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user