Skip to content

Commit 6fd8578

Browse files
committed
Init
0 parents  commit 6fd8578

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+20156
-0
lines changed

.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["next/core-web-vitals", "next/typescript"]
3+
}

.gitignore

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
12+
13+
# testing
14+
/coverage
15+
16+
# next.js
17+
/.next/
18+
/out/
19+
20+
# production
21+
/build
22+
23+
# misc
24+
.DS_Store
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
32+
# env files (can opt-in for commiting if needed)
33+
.env*
34+
35+
# vercel
36+
.vercel
37+
38+
# typescript
39+
*.tsbuildinfo
40+
next-env.d.ts

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
legacy-peer-deps=true

README.md

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# Project Setup and Customization Guide
2+
3+
Welcome to this project! This guide will walk you through the steps to set up the project locally, customize the color scheme, and change the Ad URL used in the iframe.
4+
5+
---
6+
7+
## Prerequisites
8+
9+
Before setting up the project, make sure you have the following tools installed:
10+
11+
- **Node.js**: [Download Node.js](https://nodejs.org/)
12+
- **npm** or **Yarn** (package manager)
13+
- npm comes with Node.js by default.
14+
- You can install Yarn by running: `npm install -g yarn`
15+
16+
---
17+
18+
## 1. Clone the Repository
19+
20+
Start by cloning the repository to your local machine.
21+
22+
```bash
23+
git clone https://github.com/kulikov-debug/youtube-download-react-button-template
24+
cd your-repository
25+
```
26+
27+
## 2. Install Dependencies
28+
29+
Once inside the project directory, install the necessary dependencies.
30+
31+
Using **npm**:
32+
33+
```bash
34+
npm install
35+
```
36+
## 3. Run the Development Server
37+
38+
After the dependencies are installed, you can run the development server. This will start the application locally and allow you to view it in your browser.
39+
40+
Using **npm**:
41+
42+
```bash
43+
npm run dev
44+
```
45+
46+
## 4. Change Color Scheme
47+
48+
The color scheme for the project can be easily customized by modifying the styles in the project.
49+
50+
### Update Global Styles
51+
- Open the `tailwind.config.ts` (or wherever your global styles are stored).
52+
- Look for color variables or hardcoded color values.
53+
54+
Example:
55+
56+
```css
57+
body: "#f3f4f6",
58+
header_bg: "#FFFFFE",
59+
purple_main: "#6c5ce7",
60+
heading_main: "#2D3436",
61+
dark_heading_main: "#FFFFFF",
62+
base_one: "#4A5455",
63+
dark_base_one: "#b8b8b8",
64+
dark_body: "#121316",
65+
dark_heading: "#191a1d",
66+
partner: "#9ca3af"
67+
```
68+
## 5. Change the Ad URL
69+
70+
The URL for the advertisement iframe is stored inside (`configs`) folder. To change the ad url, follow these steps:
71+
72+
1. Open `index.ts` inside the folder.
73+
2. Find the constant that holds the Ad URL, which may look like this:
74+
75+
```ts
76+
// constant.ts
77+
78+
export const ADS_URL = "https://example.com/ad";
79+
```
80+
## 6. Test Your Changes
81+
82+
After updating the color scheme and Ad URL, refresh the development server to see the changes live.
83+
84+
You can also run the project in production mode to ensure everything works as expected:
85+
86+
Using **npm**:
87+
88+
```bash
89+
npm run build
90+
npm start
91+

messages/bg.json

Lines changed: 628 additions & 0 deletions
Large diffs are not rendered by default.

messages/cs.json

Lines changed: 621 additions & 0 deletions
Large diffs are not rendered by default.

messages/da.json

Lines changed: 622 additions & 0 deletions
Large diffs are not rendered by default.

messages/de.json

Lines changed: 621 additions & 0 deletions
Large diffs are not rendered by default.

messages/el.json

Lines changed: 621 additions & 0 deletions
Large diffs are not rendered by default.

messages/en.json

Lines changed: 621 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)