Skip to content

Commit 7ea53d5

Browse files
Updated readme file, changed sidebar button
1 parent fbae985 commit 7ea53d5

File tree

6 files changed

+51
-41
lines changed

6 files changed

+51
-41
lines changed

README.md

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,49 +2,53 @@
22

33
Free and open-source admin dashboard template built with React v17.0.1 and Bootstrap v4.6. Developed with ❤️ by [Flatlogic](https://flatlogic.com/). If you love our project please star ⭐️ our repo!
44

5-
[View Demo](https://flatlogic.github.io/sofia-react-template/) | [Download](https://github.com/flatlogic/sofia-react-template.git) | [More templates](https://flatlogic.com/templates)
5+
[View Demo](https://demo.flatlogic.com/sofia-react/#/template/dashboard) | [Download Free Template](https://github.com/flatlogic/sofia-react-template.git) | [More templates](https://flatlogic.com/templates)
66

77
[![image](https://user-images.githubusercontent.com/63450826/116520255-2a8b2b80-a8db-11eb-84b1-6e94b13ad6c9.png)](https://flatlogic.github.io/sofia-react-template/)
88

9-
This dashboard is an initial version (containing only few components) of our future release of Sofia React Admin. It is built on the top of React 17, so it well supported along the web. You can easy customize template by changing SCSS variables. All paddings and colors are in _variables.scss file.
9+
This dashboard is a full version of Sofia React Admin. It is built on the top of React 17, so it well supported along the web. You can easy customize template by changing SCSS variables. All paddings and colors are in _variables.scss file.
1010

1111
## Features
1212

13-
Sofia React Template is a great template to quick-start development of SAAS, CMS, IoT Dashboard, E-Commerce apps, etc.
14-
Lite version of a Sofia React includes following features and pages:
13+
Sofia React is a great template to quick-start development of SAAS, CMS, IoT Dashboard, E-Commerce apps, etc.
14+
This admin dashboard includes following features and pages:
1515

1616
* React v17
17+
* Redux v4
1718
* Bootstrap v4.6 & SCSS
1819
* React Router v5
1920
* React Hooks
2021
* Mobile friendly responsive layout
21-
* Recharts and Apexcharts chart libraries
22-
* Simple login / logout
22+
* Modular architecture
23+
* Authentication
24+
* Recharts, Apexcharts, Highcharts chart libraries
2325
* Error page
2426
* Styled Bootstrap components like buttons, badges, labels, etc
2527
* Create-react-app under the hood
2628

2729
## Pages
2830

29-
We have implemented some basic pages, so you can see our template in action.
31+
We've made all these beautiful pages, so you can see our template in action.
3032

31-
* Dashboard sample
32-
* Typography page
33+
* Dashboard page
34+
* User pages including Profile page, User Management page and more
35+
* Core pages including Typography page, Colors page, Grid page
36+
* UI Elements pages including pages for all template components
37+
* Forms pages including Elements page, Validation page and Wizard page
38+
* Charts pages including pages for many kinds of customized charts from the most famous charts libraries
39+
* Calendar page
3340
* Tables page
34-
* Notifications page
35-
* Charts page
36-
* Icons page
37-
* Map page
3841
* Login page
3942
* Register page
4043
* Error page
44+
* Documentation page
4145

4246
## Quick Start
4347

4448
### 1. Get the latest version
45-
You can start by cloning the latest version of Sofia React Template on your local machine by running:
49+
You can start by cloning the latest version of Sofia React on your local machine by running:
4650
```shell
47-
$ git clone https://github.com/flatlogic/sofia-react-template.git
51+
$ git clone path/to/repo
4852
$ cd path/to/app
4953
```
5054

@@ -89,4 +93,4 @@ For any additional information please go to our [**support forum**](https://flat
8993
Looking for premium themes and templates? Check out more [admin dashboard templates at flatlogic.com](https://flatlogic.com/admin-dashboards).
9094

9195
## License
92-
[MIT License](https://github.com/flatlogic/sofia-react-template/blob/master/LICENSE)
96+
[MIT License](https://github.com/flatlogic/sofia-react/blob/master/LICENSE)

changelog.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
## [1.0.1]
2-
3-
Add Documentation Codebase
4-
51
## [1.0.0]
62

73
Initial version of the project

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "sofia-react-template",
3-
"version": "1.0.1",
2+
"name": "sofia-react",
3+
"version": "1.0.0",
44
"homepage": "./",
55
"private": true,
66
"scripts": {

src/components/Sidebar/Sidebar.js

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -276,21 +276,25 @@ class Sidebar extends React.Component {
276276
},
277277
]}
278278
/>
279-
<LinksGroup
280-
onActiveSidebarItemChange={activeItem => this.props.dispatch(changeActiveSidebarItem(activeItem))}
281-
activeItem={this.props.activeItem}
282-
header="Documentation"
283-
link="/documentation"
284-
isHeader
285-
iconName={<i className="eva eva-book-open-outline"/>}
286-
index="documentation"
287-
label="new"
288-
target="_blank"
289-
labelColor="success"
290-
/>
279+
<LinksGroup
280+
onActiveSidebarItemChange={activeItem => this.props.dispatch(changeActiveSidebarItem(activeItem))}
281+
activeItem={this.props.activeItem}
282+
header="Documentation"
283+
link="/documentation"
284+
isHeader
285+
iconName={<i className="eva eva-book-open-outline"/>}
286+
index="documentation"
287+
label="new"
288+
target="_blank"
289+
labelColor="success"
290+
/>
291291
</ul>
292292
<div className="bg-widget d-flex mt-auto ml-1">
293-
<Button className="rounded-pill my-3 body-2 d-none d-md-block" type="submit" color="secondary-red">Unlock Full Version</Button>
293+
<Button className={`rounded-pill my-3 body-2 d-none d-md-block ${s.unlockBtn}`} type="submit" color="secondary-red">
294+
<a href="https://flatlogic.github.io/sofia-react-template/#/template/dashboard" target={"_black"}>
295+
Try Free Version
296+
</a>
297+
</Button>
294298
</div>
295299
</nav>
296300
);

src/components/Sidebar/Sidebar.module.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,9 @@
8282
text-transform: uppercase;
8383
}
8484

85+
.unlockBtn {
86+
a {
87+
color: whitesmoke;
88+
}
89+
}
90+

src/pages/forms/validation/formik/FormikForm.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,7 @@ class FormikForm extends React.Component {
7878
<Field name="passwordConfirmation" type="password" className={'form-control' + (errors.passwordConfirmation && touched.passwordConfirmation ? ' is-invalid' : '')} />
7979
<ErrorMessage name="passwordConfirmation" component="div" className="invalid-feedback" />
8080
</div>
81-
<div className="form-check checkbox checkbox-primary ml-3 mt-4">
82-
<Field type="checkbox" name="acceptedTerms" className={'form-check-input styled' + (errors.acceptedTerms && touched.acceptedTerms ? ' is-invalid' : '')} />
83-
<label htmlFor="acceptedTerms" className="form-check-label">Accept Terms & Conditions</label>
84-
<ErrorMessage name="acceptedTerms" component="div" className="invalid-feedback" />
85-
</div>
86-
<div className="form-group mt-4">
81+
<div className="form-group">
8782
<label>Job Type</label>
8883
<Field name="jobType">
8984
{({ field }) => (
@@ -98,6 +93,11 @@ class FormikForm extends React.Component {
9893
</Field>
9994
<ErrorMessage name="jobType" component="div" className="invalid-feedback" />
10095
</div>
96+
<div className="form-check checkbox checkbox-primary ml-3 mt-4">
97+
<Field type="checkbox" name="acceptedTerms" className={'form-check-input styled' + (errors.acceptedTerms && touched.acceptedTerms ? ' is-invalid' : '')} />
98+
<label htmlFor="acceptedTerms" className="form-check-label">Accept Terms & Conditions</label>
99+
<ErrorMessage name="acceptedTerms" component="div" className="invalid-feedback" />
100+
</div>
101101
<div className="d-flex justify-content-between mt-5">
102102
<Button color="primary" type="submit">Submit</Button>
103103
<Button color="secondary" type="reset">Cancel</Button>

0 commit comments

Comments
 (0)