Skip to content

Commit b2b1157

Browse files
authored
Merge pull request #64 from dzcode-io/refactor/landing-page
⚙️ refactored landing page
2 parents 5c75d50 + a92bd32 commit b2b1157

File tree

32 files changed

+320
-236
lines changed

32 files changed

+320
-236
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ To add new article let's say "Awesome New Article", simply do the following:
105105

106106
- Create a new folder `Awesome_New_Article` under `data/articles`
107107
- Add two files:
108-
- `info.json` , a json file containing info about your article, like **title**, **description** etc..., see [this file](https://github.com/dzcode-io/dzcode.io/blob/master/data/articles/Welcome_to_dzCode/info.json) as an example.
109-
- `content.md` , a markdown file which contain your Article text, in form of [markdown](https://www.markdownguide.org/).
110-
- Lastly, to make you article visible, modify the content of [`data/articles/list.json`](https://github.com/dzcode-io/dzcode.io/blob/master/data/articles/list.json) and add your article's folder name `Awesome_New_Article` inside the `"items": []` array.
108+
- `info.json` , a json file containing info about your article, like **title**, **description** etc..., see [this file](https://github.com/dzcode-io/dzcode.io/blob/master/data/articles/Welcome_to_dzCode/info.json) as an example.
109+
- `content.md` , a markdown file which contain your Article text, in form of [markdown](https://www.markdownguide.org/).
110+
- Lastly, to make you article visible, modify the content of [`data/articles/list.json`](https://github.com/dzcode-io/dzcode.io/blob/master/data/articles/list.json) and add your article's folder name `Awesome_New_Article` inside the `"items": []` array.
111111

112-
To test and see your article locally, make sure to [you are all set](#get-started), after you run dzCode locally go to http://localhost:8080/Articles/Awesome_New_Article, you will see you article, and you can continue editing from there, once you are happy with the result, create a [pull request](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests) against master branch, and we will be happy to merge it 😃.
112+
To test and see your article locally, make sure to [you are all set](#get-started), after you run dzCode locally go to http://localhost:8080/Articles/Awesome_New_Article, you will see your article, and you can continue editing from there, once you are happy with the result, create a [pull request](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests) against master branch, and we will be happy to merge it 😃.
113113

114114
### Fix Typos, or Edit existing Article
115115

29.4 KB
Loading
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

frontend/src/apps/main/components/footer/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ export const Footer: React.FC<Props> = ({ data }) => {
3434
);
3535
})}
3636
</footer>
37-
<div className="copyright">Dzcode.io Algerian Open Source Community</div>
37+
<div className="copyright">
38+
dzCode.io an Algerian Open Source Community
39+
</div>
3840
</>
3941
);
4042
};

frontend/src/apps/main/scenes/articles/content/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import { Article } from "t9/types/fullstack";
33
import Markdown from "react-markdown";
44
import "./style";
55

6-
import programer from "../../landing/header/icons/programmer.png";
7-
import contact from "../../landing/header/icons/contact.png";
8-
import support from "../../landing/header/icons/support.png";
9-
import github from "../../landing/header/icons/github.png";
6+
import programer from "t9/apps/main/assets/png/programmer.png";
7+
import contact from "t9/apps/main/assets/png/contact.png";
8+
import github from "t9/apps/main/assets/png/github.png";
9+
import support from "t9/apps/main/assets/png/support.png";
1010

1111
const socialMedia = [
1212
{

0 commit comments

Comments
 (0)