Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 57 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,70 +1,86 @@
# Getting Started with Create React App
# ComSept - Text Manipulation Tool

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Welcome to ComSept, a versatile text manipulation tool designed to streamline your text formatting tasks.

## Available Scripts
## Table of Contents

In the project directory, you can run:
- [Introduction](#introduction)
- [Features](#features)
- [Getting Started](#getting-started)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

### `npm start`
## Introduction

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
ComSept is a React component that provides various functionalities to manipulate text easily. Whether you need to tidy up messy text, enhance readability, or prepare content for further processing, ComSept has got you covered.

The page will reload when you make changes.\
You may also see any lint errors in the console.
## Features

### `npm test`
- Remove extra spaces and line breaks from text.
- Add line breaks to text for improved readability.
- Insert commas into text effortlessly.
- Enhance text clarity by adding dashes where needed.

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
## Getting Started

### `npm run build`
To get started with ComSept, follow these steps:

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
1. Clone this repository to your local machine:

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
```
git clone https://github.com/yourusername/comsept.git
```

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
2. Navigate to the project directory:

### `npm run eject`
```
cd comsept
```

**Note: this is a one-way operation. Once you `eject`, you can't go back!**
3. Install dependencies:

If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
```
npm install
```

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
4. Start the development server:

You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
```
npm start
```

## Learn More
## Usage

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To integrate ComSept components into your project, follow these steps:

To learn React, check out the [React documentation](https://reactjs.org/).
1. Import the necessary components into your React project:

### Code Splitting
```javascript
import Navbar from './components/Navbar';
import Sidebar from './components/Sidebar';
import About from './components/About';
import Footer from './components/Footer';
import Commasept from './components/Commasept';
```

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
2. Place the components within your application where you want to display them:

### Analyzing the Bundle Size
```jsx
<Navbar />
<Sidebar />
<About />
<Footer />
<Commasept />
```

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
Adjust the import paths and placement of components according to your project structure and layout requirements.

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
## Contributing

### Advanced Configuration
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or create a pull request. Make sure to follow the [code of conduct](CODE_OF_CONDUCT.md).

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
## License

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `npm run build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
13 changes: 13 additions & 0 deletions ads.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Example ads.txt file for example.com

# Google
google.com, pub-1234567890123456, DIRECT, f08c47fec0942fa0

# Facebook
facebook.com, 123456789012345, DIRECT, d41d8cd98f00b204e9800998ecf8427e

# Example Ad Network
adnetwork.com, 1234567890, DIRECT

# Another Ad Network
anotheradnetwork.com, 9876543210, DIRECT
77 changes: 77 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"bootstrap": "^5.3.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^5.1.0",
"react-router-dom": "^6.22.3",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
},
Expand Down
6 changes: 6 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<meta
name="description"
content="Web site created using create-react-app"
Expand Down Expand Up @@ -39,5 +40,10 @@
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9750006835105746"
crossorigin="anonymous"></script>
</body>
</html>
30 changes: 24 additions & 6 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
import logo from './logo.svg';
import './App.css';

import React, { useState } from "react";
import "./App.css";
import Navbar from "./components/Navbar";
import About from "./components/About";
import Services from "./components/Services";
import Sidebar from "./components/Sidebar";
import { BrowserRouter as Router, Routes, Route } from "react-router-dom"; // Import BrowserRouter as Router
import CommaSept from "./components/CommaSept";
import Footer from "./components/Footer";
function App() {
const [isopen, setisopen] = useState(false);
const toggle = () => {
setisopen(!isopen);
};

return (
<div className="App">
<seperator/>
</div>
<Router> {/* Wrap everything in a Router component */}
<Navbar toggle={toggle} />
<Sidebar isopen={isopen} toggle={toggle} />
<Routes>
<Route path="/" element={<CommaSept />} />
<Route path="/about" element={<About />} />
<Route path="/services" element={<Services />} />
</Routes>
<Footer/>
</Router>
);
}

Expand Down
Loading