diff --git a/src/layouts/PrimaryLayout.less b/src/layouts/PrimaryLayout.less
index a286c9b7..bc3c9ab3 100644
--- a/src/layouts/PrimaryLayout.less
+++ b/src/layouts/PrimaryLayout.less
@@ -25,7 +25,7 @@
}
.container_light {
- background-color: #fff;
+ background-color: rgb(249, 249, 249);
transition: background-color 200ms linear;
}
// TODO: Complete full dark theme
@@ -66,6 +66,9 @@
background-color: @DarkMode-backgroud_container;
transition: background-color 200ms linear;
}
+ .ant-card{
+ background-color: @DarkMode-backgroud;
+ }
transition: background-color 200ms linear;
}
}
diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json
new file mode 100644
index 00000000..4e8253ac
--- /dev/null
+++ b/src/locales/en/messages.json
@@ -0,0 +1,54 @@
+{
+ "/dashboard": "/dashboard",
+ "Add Param": "Add Param",
+ "Address": "Address",
+ "Age": "Age",
+ "Are you sure delete this record?": "Are you sure delete this record?",
+ "Author": "Author",
+ "Avatar": "Avatar",
+ "Categories": "Categories",
+ "Clear notifications": "Clear notifications",
+ "Comments": "Comments",
+ "Create": "Create",
+ "Create User": "Create User",
+ "CreateTime": "CreateTime",
+ "Dark": "Dark",
+ "Delete": "Delete",
+ "Email": "Email",
+ "Female": "Female",
+ "Gender": "Gender",
+ "Hi,": "Hi,",
+ "Image": "Image",
+ "Light": "Light",
+ "Male": "Male",
+ "Name": "Name",
+ "NickName": "NickName",
+ "Not Found": "Not Found",
+ "Operation": "Operation",
+ "Params": "Params",
+ "Password": "Password",
+ "Phone": "Phone",
+ "Pick an address": "Pick an address",
+ "Please pick an address": "Please pick an address",
+ "Publised": "Publised",
+ "Publish Date": "Publish Date",
+ "Reset": "Reset",
+ "Search": "Search",
+ "Search Name": "Search Name",
+ "Send": "Send",
+ "Sign in": "Sign in",
+ "Sign out": "Sign out",
+ "Switch Theme": "Switch Theme",
+ "Tags": "Tags",
+ "The input is not valid E-mail!": "The input is not valid E-mail!",
+ "The input is not valid phone!": "The input is not valid phone!",
+ "Title": "Title",
+ "Total {total} Items": "Total {total} Items",
+ "Unpublished": "Unpublished",
+ "Update": "Update",
+ "Update User": "Update User",
+ "Username": "Username",
+ "Views": "Views",
+ "Visibility": "Visibility",
+ "You have viewed all notifications.": "You have viewed all notifications."
+}
\ No newline at end of file
diff --git a/src/pages/main/index.js b/src/pages/main/index.js
new file mode 100644
index 00000000..ff0f0e2c
--- /dev/null
+++ b/src/pages/main/index.js
@@ -0,0 +1,28 @@
+import React from 'react'
+import * as antd from 'antd'
+import * as ycore from 'ycore'
+import {PostCard} from 'components'
+
+var userData = ycore.SDCP()
+
+
+class Main extends React.Component {
+ renderUserSDCP() {
+ const rep = [userData].map((item)=> {return JSON.stringify(item)})
+ return (
+
+ )
+ }
+ render(){
+ const paylodd = {user: userData.username, ago: 'Hace 1 Segundo', avatar: userData.avatar, content: 'Hola buenas adios buenas'}
+ return (
+
+ )
+ }
+}
+export default Main;
\ No newline at end of file
diff --git a/src/pages/main/index.tsx b/src/pages/main/index.tsx
deleted file mode 100644
index ababced9..00000000
--- a/src/pages/main/index.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-import React from 'react'
-import * as ycore from 'ycore'
-import * as antd from 'antd'
-
-
-
-class Main extends React.Component{
- render(){
- return (
-
-
- Sigueme pe
-
-
- )
- }
-}
-export default Main;
\ No newline at end of file
diff --git a/src/themes/default.less b/src/themes/default.less
index 43cf08e8..219e61aa 100644
--- a/src/themes/default.less
+++ b/src/themes/default.less
@@ -39,7 +39,7 @@
// ---
// Background color for ``
-@body-background: #fff;
+@body-background: rgb(249, 249, 249);
// Base background color for most components
@component-background: #fff;
@font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
diff --git a/src/components/Layout/fonty.css b/src/themes/fonty.css
similarity index 100%
rename from src/components/Layout/fonty.css
rename to src/themes/fonty.css
diff --git a/src/themes/index.less b/src/themes/index.less
index a4218382..8e5ecb3f 100644
--- a/src/themes/index.less
+++ b/src/themes/index.less
@@ -3,7 +3,7 @@
body {
height: 100%;
overflow-y: hidden;
- background-color: #fff;
+ background-color: rgb(249, 249, 249);
}
::-webkit-scrollbar-thumb {
diff --git a/src/themes/mixin.less b/src/themes/mixin.less
index d8a4d070..cf693569 100644
--- a/src/themes/mixin.less
+++ b/src/themes/mixin.less
@@ -1,4 +1,5 @@
@import '~themes/default';
+@import (inline) './fonty.css';
@dark-half: #494949;
@purple: #d897eb;
diff --git a/src/themes/vars.less b/src/themes/vars.less
index b1c52c52..0005321e 100644
--- a/src/themes/vars.less
+++ b/src/themes/vars.less
@@ -2,7 +2,7 @@
@import '~themes/mixin.less';
@DarkMode-backgroud_container: rgb(24, 26, 27);
-@DarkMode-backgroud: #2F2E30;
+@DarkMode-backgroud: #212121;
@LightMode-backgroud: #fff;
@DarkMode-color_container: rgb(195, 191, 182);