Skip to content

Commit

Permalink
0.0.3
Browse files Browse the repository at this point in the history
json-converter
  • Loading branch information
ViggoZ committed Jun 20, 2024
1 parent bb14f60 commit 4b0d7cf
Show file tree
Hide file tree
Showing 6 changed files with 724 additions and 4 deletions.
53 changes: 53 additions & 0 deletions css/json-converter.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
.status {
margin-top: 16px;
padding: 8px 16px;
border-radius: 4px;
display: none;
}

#fileInputWrapper {
display: inline-flex;
align-items: center;
justify-content: center;
width: auto;
height: auto;
margin-bottom: 16px;
cursor: pointer;
}

#fileInput {
display: none;
}

#fileInputLabel {
gap: 2px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 9999px;
padding: 16px 24px;
font-size: 0.875rem;
font-weight: 600;
outline: none;
background-color: #16a34a;
color: #ffffff;
}

#fileInputLabel:hover {
background-color: #15803d;
color: #ffffff;
}

#fileInputLabel:active {
background-color: #15803d;
color: #f3f4f6;
}

#fileInputLabel:focus-visible {
outline: 2px solid #16a34a;
outline-offset: 2px;
}

#dropZone.dragover {
background-color: #f3f4f6;
}
3 changes: 2 additions & 1 deletion css/styles.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind utilities;

123 changes: 122 additions & 1 deletion css/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -1055,6 +1055,14 @@ select {
margin-bottom: -1.5rem;
}

.-ml-2 {
margin-left: -0.5rem;
}

.mb-4 {
margin-bottom: 1rem;
}

.mb-\[-1\%\] {
margin-bottom: -1%;
}
Expand All @@ -1067,6 +1075,10 @@ select {
margin-left: 1rem;
}

.mr-4 {
margin-right: 1rem;
}

.mt-0 {
margin-top: 0px;
}
Expand Down Expand Up @@ -1127,6 +1139,14 @@ select {
aspect-ratio: 1155/678;
}

.h-1 {
height: 0.25rem;
}

.h-12 {
height: 3rem;
}

.h-24 {
height: 6rem;
}
Expand Down Expand Up @@ -1155,6 +1175,18 @@ select {
height: 100%;
}

.h-px {
height: 1px;
}

.w-1 {
width: 0.25rem;
}

.w-12 {
width: 3rem;
}

.w-5 {
width: 1.25rem;
}
Expand All @@ -1179,10 +1211,18 @@ select {
width: 100%;
}

.w-screen {
width: 100vw;
}

.max-w-2xl {
max-width: 42rem;
}

.max-w-3xl {
max-width: 48rem;
}

.max-w-4xl {
max-width: 56rem;
}
Expand All @@ -1203,11 +1243,20 @@ select {
flex: 1 1 auto;
}

.flex-none {
flex: none;
}

.-translate-x-1\/2 {
--tw-translate-x: -50%;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-x-full {
--tw-translate-x: -100%;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.rotate-\[30deg\] {
--tw-rotate: 30deg;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
Expand Down Expand Up @@ -1262,6 +1311,10 @@ select {
gap: 1.5rem;
}

.gap-8 {
gap: 2rem;
}

.gap-x-3 {
-moz-column-gap: 0.75rem;
column-gap: 0.75rem;
Expand Down Expand Up @@ -1325,6 +1378,10 @@ select {
border-radius: 0.25rem;
}

.rounded-2xl {
border-radius: 1rem;
}

.rounded-full {
border-radius: 9999px;
}
Expand All @@ -1349,6 +1406,11 @@ select {
border-bottom-width: 2px;
}

.border-gray-100 {
--tw-border-opacity: 1;
border-color: rgb(243 244 246 / var(--tw-border-opacity));
}

.border-gray-200 {
--tw-border-opacity: 1;
border-color: rgb(229 231 235 / var(--tw-border-opacity));
Expand All @@ -1373,6 +1435,10 @@ select {
background-color: rgb(229 231 235 / var(--tw-bg-opacity));
}

.bg-gray-900\/10 {
background-color: rgb(17 24 39 / 0.1);
}

.bg-green-600 {
--tw-bg-opacity: 1;
background-color: rgb(22 163 74 / var(--tw-bg-opacity));
Expand All @@ -1383,6 +1449,10 @@ select {
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-white\/50 {
background-color: rgb(255 255 255 / 0.5);
}

.bg-gradient-to-t {
background-image: linear-gradient(to top, var(--tw-gradient-stops));
}
Expand Down Expand Up @@ -1427,10 +1497,18 @@ select {
padding: 0.625rem;
}

.p-4 {
padding: 1rem;
}

.p-6 {
padding: 1.5rem;
}

.p-8 {
padding: 2rem;
}

.px-0 {
padding-left: 0px;
padding-right: 0px;
Expand Down Expand Up @@ -1830,6 +1908,10 @@ select {
left: calc(50% - 30rem);
}

.sm\:-ml-4 {
margin-left: -1rem;
}

.sm\:mt-20 {
margin-top: 5rem;
}
Expand Down Expand Up @@ -1860,6 +1942,10 @@ select {
border-radius: 1.5rem;
}

.sm\:p-16 {
padding: 4rem;
}

.sm\:px-16 {
padding-left: 4rem;
padding-right: 4rem;
Expand Down Expand Up @@ -1912,6 +1998,23 @@ select {
}

@media (min-width: 1024px) {
.lg\:static {
position: static;
}

.lg\:mx-0 {
margin-left: 0px;
margin-right: 0px;
}

.lg\:-mr-6 {
margin-right: -1.5rem;
}

.lg\:ml-8 {
margin-left: 2rem;
}

.lg\:mt-24 {
margin-top: 6rem;
}
Expand All @@ -1924,6 +2027,10 @@ select {
display: none;
}

.lg\:w-auto {
width: auto;
}

.lg\:max-w-none {
max-width: none;
}
Expand All @@ -1932,10 +2039,23 @@ select {
flex: 1 1 0%;
}

.lg\:flex-auto {
flex: 1 1 auto;
}

.lg\:translate-x-0 {
--tw-translate-x: 0px;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.lg\:grid-cols-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lg\:grid-cols-4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lg\:justify-end {
justify-content: flex-end;
}
Expand All @@ -1953,4 +2073,5 @@ select {
.lg\:text-center {
text-align: center;
}
}
}

6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
class="-mx-3 flex rounded-full px-6 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-black/5 items-center gap-1"><svg class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path fill-rule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clip-rule="evenodd" />
</svg>Github</a>
<a href="https://pintree.canny.io/" target="_blank"
class="-mx-3 block rounded-full px-6 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-black/5">Roadmap</a>
<a href="/json-converter.html"
class="-mx-3 block rounded-full px-6 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-black/5">Json Converter</a>
</div>
<div class="hidden lg:flex lg:flex-1 lg:justify-end">
<a class="group gap-2 inline-flex items-center justify-center rounded-full py-4 px-6 text-sm font-semibold focus:outline-none focus-visible:outline-2 focus-visible:outline-offset-2 bg-green-600 text-white hover:text-white hover:bg-green-700 active:bg-green-700 active:text-green-100 focus-visible:outline-green-600" color="blue" variant="solid" href="#tally-open=3XGyBY&amp;tally-layout=modal&amp;tally-emoji-text=%F0%9F%9B%B0%EF%B8%8F&amp;tally-emoji-animation=wave"><span>Join
Expand Down Expand Up @@ -108,6 +108,8 @@
class="-mx-3 flex rounded-full px-6 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-black/5 items-center gap-1"><svg class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path fill-rule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clip-rule="evenodd" />
</svg>Github</a>
<a href="/json-converter.html"
class="-mx-3 block rounded-full px-6 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-black/5">Json Converter</a>
<a href="https://pintree.canny.io/" target="_blank"
class="-mx-3 block rounded-full px-6 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-black/5">Roadmap</a>
</div>
Expand Down
Loading

0 comments on commit 4b0d7cf

Please sign in to comment.