Skip to content

Commit 613a14f

Browse files
committed
Deploying version 1.0.
0 parents  commit 613a14f

15 files changed

+4830
-0
lines changed

.eslintrc.cjs

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
module.exports = {
2+
root: true,
3+
env: { browser: true, es2020: true },
4+
extends: [
5+
'eslint:recommended',
6+
'plugin:react/recommended',
7+
'plugin:react/jsx-runtime',
8+
'plugin:react-hooks/recommended',
9+
],
10+
ignorePatterns: ['dist', '.eslintrc.cjs'],
11+
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
12+
settings: { react: { version: '18.2' } },
13+
plugins: ['react-refresh'],
14+
rules: {
15+
'react/jsx-no-target-blank': 'off',
16+
'react-refresh/only-export-components': [
17+
'warn',
18+
{ allowConstantExport: true },
19+
],
20+
},
21+
}

.gitignore

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

LICENSE.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
MIT License
2+
3+
Copyright (c) [2024] [Hariz Asyraf]
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Hall of Lens
2+
3+
![Al-Hikmah]("/public/apps-screenshot.png")
4+
5+
[![Vite](https://img.shields.io/badge/-Vite-646CFF?logo=Vite&logoColor=646CFF&labelColor=white&logoWidth=20)](https://vitejs.dev/) [![ReactJS](https://img.shields.io/badge/-ReactJS-61DAFB?logo=React&logoColor=61DAFB&labelColor=white&logoWidth=20)](https://react.dev/) [![Axios](https://img.shields.io/badge/-Axios-5A29E4?logo=Axios&logoColor=5A29E4&labelColor=white&logoWidth=20)](https://axios-http.com/) [![Bootstrap](https://img.shields.io/badge/-Bootstrap-7952B3?logo=Bootstrap&logoColor=7952B3&labelColor=white&logoWidth=20)](https://getbootstrap.com/) ![Islamic-Advices](https://img.shields.io/badge/islamic_advices-Al_Hikmah-green)
6+
7+
This is a simple islamic advices app built with React.js, Vite, Bootstrap, and Axios. It allows users to generate an advices fetched from an external API from hikmah.harizasyraf.com and display them in a responsive layout.
8+
9+
## Installation
10+
11+
To get a local copy of this project up and running, follow these steps:
12+
13+
1. Clone the repository:
14+
15+
```bash
16+
git clone https://github.com/CharKwehTiawKerang/al-hikmah.git
17+
```
18+
19+
2. Navigate into the project directory:
20+
21+
```bash
22+
cd al-hikmah
23+
```
24+
25+
3. Install dependencies:
26+
27+
```bash
28+
npm install
29+
```
30+
31+
4. Start the development server:
32+
33+
```bash
34+
npm run dev
35+
```
36+
37+
## Contributing
38+
39+
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
40+
41+
## License
42+
43+
Al-Hikmah is licensed under the **[MIT license](https://opensource.org/licenses/MIT)**.

index.html

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/redblazer-small.ico" />
6+
<link rel="preconnect" href="https://fonts.googleapis.com">
7+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
8+
<link href="https://fonts.googleapis.com/css2?family=Oswald:[email protected]&display=swap" rel="stylesheet">
9+
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Oswald:[email protected]&display=swap" rel="stylesheet">
10+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
11+
<title>Al-Hikmah</title>
12+
</head>
13+
<body class="bg-light">
14+
<div id="root"></div>
15+
<script type="module" src="/src/main.jsx"></script>
16+
</body>
17+
</html>

0 commit comments

Comments
 (0)