├── src ├── App.scss ├── assets │ ├── nsfw.jpeg │ └── home │ │ ├── pic1.webp │ │ ├── pic2.webp │ │ ├── pic3.webp │ │ ├── pic4.webp │ │ └── pic5.webp ├── components │ ├── PrivacyPolicy │ │ ├── privacy.scss │ │ └── PrivacyPolicy.jsx │ ├── UserProfile │ │ ├── UserPostItem │ │ │ ├── user-post-item.scss │ │ │ └── UserPostItem.jsx │ │ ├── user-profile.scss │ │ └── UserProfile.jsx │ ├── Header │ │ ├── NewBadge │ │ │ ├── NewBadge.jsx │ │ │ └── new-badge.scss │ │ ├── header.scss │ │ ├── Navigation │ │ │ ├── ProfileInfo │ │ │ │ ├── profile-info.scss │ │ │ │ └── ProfileInfo.jsx │ │ │ ├── navigation.scss │ │ │ └── Navigation.jsx │ │ ├── Header.jsx │ │ └── DesktopNavigation │ │ │ ├── desktp-navagation.scss │ │ │ └── DesktopNavigation.jsx │ ├── LazyLoader │ │ ├── lazy-loader.scss │ │ └── LazyLoader.jsx │ ├── TermsOfService │ │ ├── terms.scss │ │ └── TermsOfService.jsx │ ├── Guide │ │ ├── guide.scss │ │ └── Guide.jsx │ ├── NotFound │ │ ├── not-found.scss │ │ └── NotFound.jsx │ ├── utils │ │ ├── axiosClient.js │ │ └── utilFunctions.js │ ├── Signup │ │ ├── signup.scss │ │ └── SignupSuccess.jsx │ ├── Create │ │ ├── PreviousImages │ │ │ ├── previous-images.scss │ │ │ └── PreviousImages.jsx │ │ ├── PreviousImagesMobile │ │ │ ├── previousimagecontainermobile.scss │ │ │ └── PreviousImagesMobile.jsx │ │ ├── GeneratorSettings │ │ │ ├── generator-settings.scss │ │ │ └── GeneratorSettings.jsx │ │ ├── ImagePreview │ │ │ ├── image-preview.scss │ │ │ └── ImagePreview.jsx │ │ ├── create.scss │ │ └── Create.jsx │ ├── ImgLoader │ │ ├── ImgLoader.jsx │ │ └── home-loader.scss │ ├── Loading │ │ ├── loading.scss │ │ └── Loading.jsx │ ├── Footer │ │ ├── footer.scss │ │ └── Footer.jsx │ ├── Logout │ │ └── Logout.jsx │ ├── MyProfile │ │ ├── PostItem │ │ │ ├── post-item.scss │ │ │ └── PostItem.jsx │ │ ├── my-profile.scss │ │ └── MyProfile.jsx │ ├── ContactPage │ │ ├── contact-page.scss │ │ └── ContactPage.jsx │ ├── Home │ │ ├── home.scss │ │ └── Home.jsx │ ├── PostDetails │ │ ├── post-details.scss │ │ └── PostDetails.jsx │ └── Settings │ │ ├── settings.scss │ │ └── Settings.jsx ├── colors.scss ├── redux │ ├── slices │ │ ├── multiPostCreateSlice.js │ │ ├── utilSlice.js │ │ ├── settingsSlice.js │ │ ├── appSlice.js │ │ ├── imageGenerateSlice.js │ │ ├── homeSlice.js │ │ ├── postDetailsSlice.js │ │ ├── currentUserSlice.js │ │ └── usernameSlice.js │ └── store.js ├── main.jsx ├── AllRoutes.jsx ├── App.jsx └── index.scss ├── vite.config.js ├── .gitignore ├── README.md ├── .eslintrc.cjs ├── index.html ├── package.json └── public └── vite.svg /src/App.scss: -------------------------------------------------------------------------------- 1 | *{ 2 | margin: 0; 3 | padding: 0; 4 | box-sizing: border-box; 5 | } -------------------------------------------------------------------------------- /src/assets/nsfw.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/craftura-ai/HEAD/src/assets/nsfw.jpeg -------------------------------------------------------------------------------- /src/assets/home/pic1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/craftura-ai/HEAD/src/assets/home/pic1.webp -------------------------------------------------------------------------------- /src/assets/home/pic2.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/craftura-ai/HEAD/src/assets/home/pic2.webp -------------------------------------------------------------------------------- /src/assets/home/pic3.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/craftura-ai/HEAD/src/assets/home/pic3.webp -------------------------------------------------------------------------------- /src/assets/home/pic4.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/craftura-ai/HEAD/src/assets/home/pic4.webp -------------------------------------------------------------------------------- /src/assets/home/pic5.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/craftura-ai/HEAD/src/assets/home/pic5.webp -------------------------------------------------------------------------------- /src/components/PrivacyPolicy/privacy.scss: -------------------------------------------------------------------------------- 1 | .privacy-policy-container{ 2 | padding: 100px 30px; 3 | background-color: #FAFAFC; 4 | color: black; 5 | h2{ 6 | margin: 30px 0 10px 0 ; 7 | } 8 | } -------------------------------------------------------------------------------- /src/components/UserProfile/UserPostItem/user-post-item.scss: -------------------------------------------------------------------------------- 1 | .username-post-item{ 2 | position: relative; 3 | img{ 4 | width: 100%; 5 | border-radius: 10px; 6 | cursor: pointer; 7 | } 8 | } -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /src/components/Header/NewBadge/NewBadge.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import "./new-badge.scss"; 3 | 4 | export default function NewBadge() { 5 | return
14 | You feel lost? visit home page from here. 15 |
16 |
36 | {loading ? (
37 | <>
38 |
45 |
46 | Are you sure you want to delete this post?
63 | This is action is not reversible. 64 |Some awesome creations by you.
49 |40 | We're here to assist you with any questions, comments, or inquiries 41 | you may have. Whether you're looking for support, information, or 42 | just want to say hello, feel free to get in touch with us using the 43 | contact details provided below. 44 |
45 |Check your username
99 |Prompt
{" "} 76 | {imageObj.prompt} 77 |Enable Previews:
153 |Previous Generations Count:
161 | 177 |{user.email}
160 |170 | Convert words to images with {siteName}'s free AI image generator. 171 | Watch your imagination transform into reality using our AI powered 172 | image generator for FREE! 173 |
174 | 216 | {pageWidth > 768 &&12 | Welcome to Craftura AI. We respect your privacy and are 13 | committed to protecting your personal information. This Privacy Policy 14 | will inform you as to how we look after your personal information when 15 | you visit our website (regardless of where you visit it from) and tell 16 | you about your privacy rights and how the law protects you. 17 |
18 |
20 | Personal data, or personal information, means any information about an
21 | individual from which that person can be identified. It does not
22 | include data where the identity has been removed (anonymous data). We
23 | may collect, use, store, and transfer different kinds of personal data
24 | about you which we have grouped together as follows:
25 |
26 |
- Identity Data includes username or similar identifier.
27 |
- Contact Data includes email address.
28 |
- Transaction Data includes details about payments from you and
29 | other details of products and services you have purchased from us.
30 |
- Prompt and Search Data includes queries and prompts you input
31 | while using our public mode feature.
32 |
- Technical and Performance Data includes a variety of
33 | information that we collect to optimize performance and ensure the
34 | smooth operation of our services. This encompasses your browser's
35 | user-agent string, Internet Protocol address, inferred geolocation,
36 | HTTP accept headers from your browser, screen resolution, timezone
37 | information, operating system type, browser plugins, available fonts
38 | on your device, your language preference, details related to canvas
39 | rendering, WebGL rendering details, AudioContext properties, cookie
40 | settings, and the availability of session and local storage on your
41 | device, and other technical and performance details.
42 |
45 | We collect this data by direct interactions and automated technologies 46 | or interactions. 47 |
48 |50 | We do not collect, use, or disclose your personal data without your 51 | consent. When you create an account with us, you are asked to agree to 52 | our Terms of Service and Privacy Policy. By agreeing to these terms, 53 | you are providing your consent for us to collect, use, and disclose 54 | your personal data in accordance with this Privacy Policy. We also 55 | collect technical data for performance optimization and security 56 | purposes. By agreeing to these terms, you are providing your consent 57 | for us to collect this data. 58 |
59 |
61 | We do not share your personal data with third parties outside of our
62 | organization unless one of the following circumstances applies:
63 |
- It is with your consent
64 |
- It is necessary to perform a contract with you
65 |
- It is necessary for legitimate interests pursued by us
66 |
- It is necessary to comply with a legal obligation
67 |
- It is necessary to protect your vital interests, or those of
68 | others
69 |
72 | We are committed to ensuring the security of your personal data and 73 | have put in place suitable physical, electronic, and managerial 74 | procedures to safeguard and secure the data we collect. We limit 75 | access to your personal data to those employees, agents, contractors, 76 | and other third parties who have a business need to know. They will 77 | only process your personal data on our instructions, and they are 78 | subject to a duty of confidentiality. Despite these measures, the 79 | Internet is not a fully secure environment and we cannot guarantee 80 | that your personal data will not be intercepted or disrupted 81 | illegally. 82 |
83 |85 | In the event that your personal data is compromised as a result of a 86 | data breach, we will notify you in compliance with applicable law. 87 |
88 |90 | We have put in place appropriate security measures to prevent your 91 | personal data from being accidentally lost, used or accessed in an 92 | unauthorized way, altered or disclosed. In addition, we limit access 93 | to your personal data to those employees, agents, contractors and 94 | other third parties who have a business need to know. They will only 95 | process your personal data on our instructions, and they are subject 96 | to a duty of confidentiality. 97 |
98 |100 | We will only retain your personal data for as long as necessary to 101 | fulfill the purposes we collected it for, including for the purposes 102 | of satisfying any legal, accounting, or reporting requirements. 103 |
104 |106 | You have certain rights related to your personal data. These include 107 | the right to request access to, correction of, or erasure of your 108 | personal data. You also have the right to object to the processing of 109 | your personal data. 110 |
111 |
113 | As part of the personal data we collect from you, your email address
114 | may be used for marketing purposes related to our products and
115 | services.
116 |
117 |
118 | Our marketing communications are aimed at keeping you informed about
119 | our products, services, promotions, and any changes to our website
120 | that may affect you. This does not include any marketing content from
121 | third parties, as we are committed to maintaining your privacy and
122 | will not share your email address with external entities for their
123 | marketing purposes.
124 |
125 |
126 | You have the right to withdraw your consent for this usage at any
127 | time, and every marketing email we send includes an option to opt-out
128 | of future communications. If you decide to opt-out, we will cease to
129 | send you marketing materials but may still contact you in relation to
130 | your account, transactions, and any necessary service-related
131 | communications.
132 |
138 | This version was last updated on August 15, 2023. It may change and if
139 | it does, these changes will be posted on this page and, where
140 | appropriate, notified to you by Discord or email.
141 |
142 | Please keep us informed if your personal data changes during your
143 | relationship with us. It is important that the personal data we hold
144 | about you is accurate and current.
145 |
148 | You have the right to make a complaint at any time to the supervisory 149 | authority for data protection issues in your country of residence. We 150 | would, however, appreciate the chance to deal with your concerns 151 | before you approach the supervisory authority, so please contact us 152 | directly in the first instance via Instagram or Email. 153 |
154 |156 | We utilize cloud services provided by partners based in the United 157 | States. As a result, if you live in Europe, personal data that we 158 | collect from you may be transferred to, and stored at, a destination 159 | outside the European Economic Area (EEA). 160 |
161 |163 | Our website contains links to our profiles on social media platforms 164 | and possibly other websites we think might be of interest to our 165 | users. Please note that we do not control these external websites, 166 | including the social media platforms, and we are not responsible for 167 | their privacy practices. We encourage you to familiarize yourself with 168 | the privacy policies of these external sites and platforms to 169 | understand how they handle your data. 170 |
171 |
173 | Cookies are small text files that our site places on your computer as
174 | a tool to remember your preferences. These cookies help us understand
175 | how our site is being used, how effective our marketing campaigns are,
176 | and to customize our website for our users.
177 |
178 | Our website employs an analytics service provided by one of the large
179 | tech companies. This service utilizes cookies to help us analyze our
180 | site's usage. It collects information such as the number of visitors,
181 | the source of the visit, and the pages visited on our site. This data
182 | helps us understand the places our users are coming from, and how they
183 | are using our site, thereby enabling us to enhance your experience on
184 | our website.
185 |
186 |
187 | We want to be clear that these cookies do not allow us to gather any
188 | personal data about you. The data collected is aggregated (pooled
189 | together) and anonymized. The information they collect is for the
190 | purpose of improving user experience and site functionality. You can
191 | choose to accept or decline cookies. Most web browsers automatically
192 | accept cookies, but you can usually modify your browser settings to
193 | decline cookies if you prefer. However, this may prevent you from
194 | taking full advantage of the website.
195 |
15 | Last updated: 30 Aug, 2023
16 |
17 |
19 | Please read these Terms of Service ("Terms") carefully before using 20 | the Craftura AI website (the "Service"). By accessing or using the 21 | Service, you agree to be bound by these Terms. If you disagree with 22 | any part of the terms, then you may not access the Service. 23 |
24 |26 | To use certain features of our Service, you may be required to 27 | create an account. You are responsible for safeguarding your account 28 | information and for any activities or actions under your account. 29 | You agree not to disclose your password to any third party. 30 |
31 |33 | You agree not to use the Service to create, upload, or share any 34 | content that: 35 |
36 |
147 | We reserve the right, at our sole discretion, to suspend or
148 | terminate your account and your access to the Service at any time,
149 | for any reason, and without notice. You agree that we are not liable
150 | to you or any third party for any termination of your access to the
151 | Service. We also reserve the right to take appropriate legal action,
152 | including without limitation for any illegal or unauthorized use of
153 | the Service.
154 |
155 |
156 | You may also terminate your account at any time, for any reason, by
157 | contacting our customer service team. Following termination, all
158 | provisions of these Terms which by their nature should survive
159 | termination shall survive termination, including but not limited to,
160 | ownership provisions, warranty disclaimers, indemnity, and
161 | limitations of liability.
162 |
165 | All intellectual property rights related to our Service, which
166 | includes but is not limited to content, graphics, design, and
167 | software, are owned by us or our licensors.
168 |
169 | The Service incorporates advanced machine learning algorithms and
170 | text-to-image diffusion models, which are based on certain
171 | open-source models. We have refined and optimized these models
172 | significantly for our Service, which constitute our proprietary
173 | property. These open-source models and their associated rights are
174 | owned by their respective creators. Our use and refinement of these
175 | models are done in compliance with the terms of the original
176 | open-source licenses. For more information about these licenses,
177 | please refer to the{" "}
178 |
179 |
180 | CreativeML Open RAIL-M license
181 |
182 |
183 |
186 | "User-Generated Content" refers to all content created by you,
187 | including but not limited to images and prompts ("User Prompts").
188 | The term 'Prompts' includes both the prompt text and any user input
189 | settings associated with it.
190 |
{" "}
191 |
192 | By using the Service to create User-Generated Content, images and
193 | prompts, you retain the ownership rights to those content.
194 |
195 |
196 | However, by using the public mode of the Service, you grant us a
197 | non-exclusive, royalty-free, worldwide, perpetual, irrevocable,
198 | and transferable license{" "}
199 |
200 | to host, reproduce, distribute, and create derivative works of the
201 | User-Generated Content in connection with the Service and our
202 | business, including for promoting the Service in any media formats
203 | and through any media channels.
204 |
205 |
206 |
207 | In fostering a collaborative environment, you also grant each user
208 | of the Service a non-exclusive, royalty-free, worldwide license
209 | {" "}
210 | to access your User-Generated Content through the Service, and to
211 | use, reproduce, distribute, and create derivative works of such
212 | content. This usage should abide by the principles of this community
213 | and maintain a spirit of openness, collaboration and respect.
214 |
215 |
216 | Our Service encourages the exchange of ideas and creativity within
217 | our community. By contributing your User-Generated Content, you are
218 | granting others the opportunity to build upon and draw inspiration
219 | from your works, while still retaining the copyright to your
220 | original creations.
221 |
222 |
223 | Keep in mind, your User-Generated Content is yours. You are simply
224 | granting a license for us and others to use them, but you still hold
225 | the copyright to your creations.
226 |
227 |
228 | We are closely monitoring the ongoing legal debates regarding
229 | copyright and intellectual property rights for AI-generated content
230 | in various jurisdictions. We encourage all users to understand their
231 | rights and responsibilities under their local laws as well as
232 | international law.
233 |
234 |
235 | You represent and warrant that you have all rights necessary to
236 | submit the User-Generated Content and you also represent and warrant
237 | that such User-Generated Content does not violate any proprietary or
238 | intellectual property rights, public rights, or any other applicable
239 | law.
240 |
241 |
242 | The use of automated systems or software to extract data from the
243 | Service for commercial purposes, ('screen scraping') is prohibited.
244 | We reserve the right to take necessary legal or other actions
245 | against any users found to be engaging in such behavior. This
246 | includes but is not limited to potential litigation and/or account
247 | suspension or termination.
248 |
249 |
250 | We reserve the right, but are not obligated, to remove or refuse to
251 | distribute any User-Generated Content on the Service. We also
252 | reserve the right to access, read, preserve, and disclose any
253 | information as we reasonably believe is necessary to (i) satisfy any
254 | applicable law, regulation, legal process or governmental request,
255 | (ii) enforce the Terms, including investigation of potential
256 | violations, (iii) detect, prevent, or otherwise address fraud,
257 | security or technical issues, (iv) respond to user support requests,
258 | or (v) protect the rights, property or safety of our users and the
259 | public.
260 |
263 | Under no circumstances we at Craftura AI, its directors, employees,
264 | associates, agents, suppliers, or affiliates be held liable for any
265 | indirect, incidental, special, consequential, or punitive damages of
266 | any kind whatsoever from your use of this Service. This includes,
267 | but is not limited to, damages for loss of profits, goodwill, use,
268 | data, or other intangible losses, whether based in contract, tort,
269 | negligence, strict liability, or otherwise, arising out of or in
270 | connection with access to, use of, misuse of, or inability to access
271 | the Service.
272 |
273 |
274 | By agreeing to these terms, you hereby waive any and all claims
275 | against Craftura AI, its directors, employees, associates, agents,
276 | suppliers, or affiliates. This waiver includes, but is not limited
277 | to, claims related to the use, misuse, or inability to use the image
278 | generation services on our platform, as well as any claims related
279 | to injury, personal, psychological, or emotional distress arising
280 | from viewing images on our platform. You also expressly agree not to
281 | initiate any form of legal proceedings against us with respect to
282 | such claims.
283 |
284 |
285 | Craftura AI holds no responsibility for the images produced, shared
286 | or displayed by users of the Service, whether on our platform or
287 | elsewhere and disclaims any liability and responsibility for any
288 | unlawful, inappropriate, copyright infringing, or offensive content
289 | generated by users who are the owners to the images. Although we
290 | strive to enforce rigorous content monitoring and removal practices
291 | for content found to be in violation of applicable laws,
292 | regulations, or our community guidelines, the ultimate
293 | responsibility for the creation and distribution of such content
294 | rests solely with the user.
295 |
298 | This Terms of Service ("Agreement") shall be governed by and 299 | interpreted in accordance with the laws of the jurisdiction in which 300 | the Company is registered, without regard to its conflict of law 301 | provisions. The parties irrevocably agree that any legal proceeding 302 | seeking the enforcement or interpretation of this Agreement shall be 303 | brought in the appropriate courts of the same jurisdiction.{" "} 304 |
305 |307 | We reserve the right, at our sole discretion, to modify or replace 308 | these Terms at any time. If a revision is material, we will provide 309 | notice prior to any new terms taking effect. What constitutes a 310 | material change will be determined at our sole discretion. By 311 | continuing to access or use our Service after any revisions become 312 | effective, you agree to be bound by the revised terms. If you do not 313 | agree to the new terms, you are no longer authorized to use the 314 | Service. 315 |
316 |