Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kulkarniishan committed Dec 7, 2024
0 parents commit 54d9afa
Show file tree
Hide file tree
Showing 27 changed files with 544 additions and 0 deletions.
72 changes: 72 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '29 12 * * 6'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
Binary file added android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"files": {
"main.css": "/PWA-NFA-to-DFA-converter/static/css/main.8cb547b9.css",
"main.js": "/PWA-NFA-to-DFA-converter/static/js/main.b34a1114.js",
"static/js/377.1aa0d340.chunk.js": "/PWA-NFA-to-DFA-converter/static/js/377.1aa0d340.chunk.js",
"static/media/logo.png": "/PWA-NFA-to-DFA-converter/static/media/logo.db7a2894b860f0dd4f8b.png",
"index.html": "/PWA-NFA-to-DFA-converter/index.html",
"main.8cb547b9.css.map": "/PWA-NFA-to-DFA-converter/static/css/main.8cb547b9.css.map",
"main.b34a1114.js.map": "/PWA-NFA-to-DFA-converter/static/js/main.b34a1114.js.map",
"377.1aa0d340.chunk.js.map": "/PWA-NFA-to-DFA-converter/static/js/377.1aa0d340.chunk.js.map"
},
"entrypoints": [
"static/css/main.8cb547b9.css",
"static/js/main.b34a1114.js"
]
}
9 changes: 9 additions & 0 deletions browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en" prefix="og: http://ogp.me/ns#"><head><meta charset="utf-8"/><link rel="icon" type="image/icon" href="/PWA-NFA-to-DFA-converter/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="author" content="Co-authored by Ishan Kulkarni, Anurag Ghosh, Akshad Thole"/><meta name="keywords" content="Automata, NFA, DFA, NFAtoDFA, Automata Conversion, AutomatonX, Theory of Computation, Non-Deterministic Finite Automata, Deterministic Finite Automata "/><meta name="description" content="Web site to convert Non-Deterministic Finite Automata (NFA) to Deterministic Finite Automata (DFA) created using React and TailWind CSS"/><meta name="og:site_name" content="AutomatonX"/><meta name="og:locale" content="en_IN"/><meta property="og:url" content="https://kulkarniishan.github.io/PWA-NFA-to-DFA-converter/"/><meta property="og:type" content="website"/><meta property="og:title" content="AutomatonX | Convert your Automatas into one Another"/><meta property="og:description" content="Web site to convert Non-Deterministic Finite Automata (NFA) to Deterministic Finite Automata (DFA) by using the set divider method created using React and TailwindCSS"/><meta property="og:image" content="https://github.com/kulkarniishan/PWA-NFA-to-DFA-converter/blob/main/public/favicon.ico"/><meta name="twitter:card" content="NFA to DFA Converter"/><meta name="twitter:site" content="@AutomatonX"/><meta name="twitter:creator" content="@AnuragG36973328"/><link rel="manifest" href="/PWA-NFA-to-DFA-converter/manifest.json"/><link rel="apple-touch-icon" sizes="180x180" href="/PWA-NFA-to-DFA-converter/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/PWA-NFA-to-DFA-converter/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/PWA-NFA-to-DFA-converter/favicon-16x16.png"/><link rel="mask-icon" href="/PWA-NFA-to-DFA-converter/safari-pinned-tab.svg" color="#5bbad5"/><meta name="msapplication-TileColor" content="#da532c"/><title>AutomatonX | Convert your automata to one another</title><script defer="defer" src="/PWA-NFA-to-DFA-converter/static/js/main.b34a1114.js"></script><link href="/PWA-NFA-to-DFA-converter/static/css/main.8cb547b9.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app. Please enable the JavaScript in your browser</noscript><div id="root"></div><script>"serviceWorker"in navigator&&window.addEventListener("load",(()=>{navigator.serviceWorker.register("/PWA-NFA-to-DFA-converter/service-worker.js").then((e=>console.log("Success : ",e.scope))).catch((e=>console.log("Faliure : ",e)))}))</script></body></html>
Binary file added logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"short_name": "AutomatonX",
"name": "AutomatonX PWA",
"icons": [
{
"src": "favicon.ico",
"sizes": "24x24",
"type": "image/x-icon"
},
{
"src": "favicon-16x16.png",
"sizes": "16x16",
"type": "image/x-icon"
},
{
"src": "favicon-32x32.png",
"sizes": "32x32",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
},
{
"src": "android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "safari-pinned-tab.svg",
"sizes": "683x683",
"type": "image/svg",
"purpose": "maskable"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
Binary file added mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
144 changes: 144 additions & 0 deletions offline.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
<!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns#">
<head>
<!-- Meta tags for adding metadata-->
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="author"
content="Co-authored by Ishan Kulkarni, Anurag Ghosh, Akshad Thole"
/>
<meta
name="keywords"
content="Automata, NFA, DFA, NFAtoDFA, Automata Conversion, AutomatonX, Theory of Computation, Non-Deterministic Finite Automata, Deterministic Finite Automata "
/>
<meta
name="description"
content="Web site to convert Non-Deterministic Finite Automata (NFA) to Deterministic Finite Automata (DFA) created using React and TailWind CSS"
/>
<!-- Facebook og meta tag-->
<meta name="og:site_name" content="AutomatonX" />
<meta name="og:locale" content="en_IN" />
<meta
property="og:url"
content="https://kulkarniishan.github.io/PWA-NFA-to-DFA-converter/"
/>
<meta property="og:type" content="website" />
<meta
property="og:title"
content="AutomatonX | Convert your Automatas into one Another"
/>
<meta
property="og:description"
content="Web site to convert Non-Deterministic Finite Automata (NFA) to Deterministic Finite Automata (DFA) by using the set divider method created using React and TailwindCSS"
/>
<meta
property="og:image"
content="https://github.com/kulkarniishan/PWA-NFA-to-DFA-converter/blob/main/public/favicon.ico"
/>
<!-- Twitter cards-->
<meta name="twitter:card" content="NFA to DFA Converter" />
<meta name="twitter:site" content="@AutomatonX" />
<meta name="twitter:creator" content="@AnuragG36973328" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="%PUBLIC_URL%/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="%PUBLIC_URL%/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="%PUBLIC_URL%/favicon-16x16.png"
/>
<link
rel="mask-icon"
href="%PUBLIC_URL%/safari-pinned-tab.svg"
color="#5bbad5"
/>
<meta name="msapplication-TileColor" content="#da532c" />
<title>AutomatonX | Convert your automata to one another</title>
</head>
<style type="text/css">
html {
height: 100%;
}
body {
height: 100%;
margin: 0;
background: rgb(1, 31, 17);
display: flex;
align-items: center;
text-align: center;
justify-content: center;
}

.container {
align-items: center;
width: 80%;
display: flex;
justify-content: center;
flex-direction: column;
padding: 40px 8%;
border-radius: 20px;
background: rgba(12, 12, 12, 0.893);
}

.neons {
margin-top: 1rem;
text-align: center;
}

.neons h1 {
font-size: 3rem;
text-align: center;
font-weight: bold;
-webkit-animation: glow 2s ease-in-out infinite alternate;
-moz-animation: glow 2s ease-in-out infinite alternate;
animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
from {
color: #fff;
text-shadow: 0 0 5px #8c00ff, 0 0 10px #8c00ff, 0 0 15px #8c00ff, 0 0 20px #8c00ff, 0 0 25px #8c00ff, 0 0 30px #00fff2, 0 0 35px #00fff2, 0 0 40px #00fff2;
}

to {
color: gray;
text-shadow: 0 0 10px #8c00ff, 0 0 20px #8c00ff, 0 0 30px #8c00ff, 0 0 40px #8c00ff, 0 0 50px #8c00ff, 0 0 60px #00fff2, 0 0 80px #00fff2, 0 1 90px #00fff2;
}
}

@-webkit-keyframes glow {
from {
color: #fff;
text-shadow: 0 0 5px #8c00ff, 0 0 10px #8c00ff, 0 0 15px #8c00ff, 0 0 20px #8c00ff, 0 0 25px #8c00ff, 0 0 30px #00fff2, 0 0 35px #00fff2, 0 0 40px #00fff2;
}

to {
color: gray;
text-shadow: 0 0 10px #8c00ff, 0 0 20px #8c00ff, 0 0 30px #8c00ff, 0 0 40px #8c00ff, 0 0 50px #8c00ff, 0 0 60px #00fff2, 0 0 80px #00fff2, 0 1 90px #00fff2;
}
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="neons col-12">
<h1><em>Please go online to convert your NFA to equivalent DFA.</em></h1>
</div>
</div>
</div>
</body>
</html>
3 changes: 3 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow: /about-us
Loading

0 comments on commit 54d9afa

Please sign in to comment.