LucaVivona commited on
Commit
5234615
β€’
1 Parent(s): f358304

logo change πŸ€—

Browse files
frontend/src/Components/Navagation/navbar.js CHANGED
@@ -1,6 +1,7 @@
1
  import React, { Component } from "react";
2
  import {BsArrowLeftShort, BsSearch} from 'react-icons/bs';
3
  import "../../css/dist/output.css"
 
4
  import { random_colour, random_emoji } from "../../helper/visual";
5
  import { Message, Header, Modal, Button, Icon } from 'semantic-ui-react'
6
 
@@ -182,15 +183,6 @@ export default class Navbar extends Component{
182
 
183
 
184
  render(){
185
-
186
-
187
-
188
- // compare the menu if the menu has changed change the state of the navbar
189
-
190
- // states to change
191
- // 1. tabs
192
-
193
- // 2. add colour
194
  return (<div>
195
 
196
  <div className={`z-10 flex-1 float-left bg-white dark:bg-stone-900 h-screen p-5 pt-8 ${this.state.open ? "lg:w-72 md:64 sm:w-60" : "w-10"} duration-300 absolute shadow-2xl border-black border-r-[1px] dark:border-white dark:text-white`}>
@@ -198,7 +190,7 @@ export default class Navbar extends Component{
198
  <BsArrowLeftShort onClick={this.handelNavbar} className={` bg-white text-Retro-darl-blue text-3xl rounded-full absolute -right-3 top-9 border border-black cursor-pointer ${!this.state.open && 'rotate-180'} dark:border-white duration-300 dark:text-white dark:bg-stone-900 `}/>
199
 
200
  <div className="inline-flex w-full">
201
- <h1 className={`font-sans font-bold text-lg ${this.state.open ? "" : "hidden"} duration-500 ml-auto mr-auto`}>Gradio Flow πŸ€—</h1>
202
  </div>
203
 
204
  <div className={`rounded-md text-center ${this.state.open ? "" : "px-0"} py-3`} onClick={() => {this.handelModal(true)}}>
 
1
  import React, { Component } from "react";
2
  import {BsArrowLeftShort, BsSearch} from 'react-icons/bs';
3
  import "../../css/dist/output.css"
4
+ import {ReactComponent as ReactLogo} from '../../images/logo.svg'
5
  import { random_colour, random_emoji } from "../../helper/visual";
6
  import { Message, Header, Modal, Button, Icon } from 'semantic-ui-react'
7
 
 
183
 
184
 
185
  render(){
 
 
 
 
 
 
 
 
 
186
  return (<div>
187
 
188
  <div className={`z-10 flex-1 float-left bg-white dark:bg-stone-900 h-screen p-5 pt-8 ${this.state.open ? "lg:w-72 md:64 sm:w-60" : "w-10"} duration-300 absolute shadow-2xl border-black border-r-[1px] dark:border-white dark:text-white`}>
 
190
  <BsArrowLeftShort onClick={this.handelNavbar} className={` bg-white text-Retro-darl-blue text-3xl rounded-full absolute -right-3 top-9 border border-black cursor-pointer ${!this.state.open && 'rotate-180'} dark:border-white duration-300 dark:text-white dark:bg-stone-900 `}/>
191
 
192
  <div className="inline-flex w-full">
193
+ <h1 className={`font-sans font-bold text-lg ${this.state.open ? "" : "hidden"} duration-500 ml-auto mr-auto`}> <ReactLogo className="w-9 h-9 ml-auto mr-auto"/> Gradio Flow </h1>
194
  </div>
195
 
196
  <div className={`rounded-md text-center ${this.state.open ? "" : "px-0"} py-3`} onClick={() => {this.handelModal(true)}}>
frontend/src/css/dist/output.css CHANGED
@@ -586,10 +586,6 @@ video {
586
  bottom: 0px;
587
  }
588
 
589
- .top-0 {
590
- top: 0px;
591
- }
592
-
593
  .top-4 {
594
  top: 1rem;
595
  }
@@ -602,14 +598,14 @@ video {
602
  z-index: 10;
603
  }
604
 
605
- .z-50 {
606
- z-index: 50;
607
- }
608
-
609
  .-z-10 {
610
  z-index: -10;
611
  }
612
 
 
 
 
 
613
  .float-left {
614
  float: left;
615
  }
@@ -662,6 +658,10 @@ video {
662
  height: 100vh;
663
  }
664
 
 
 
 
 
665
  .h-10 {
666
  height: 2.5rem;
667
  }
@@ -670,24 +670,20 @@ video {
670
  height: auto;
671
  }
672
 
673
- .h-full {
674
- height: 100%;
675
- }
676
-
677
- .h-\[95\%\] {
678
- height: 95%;
679
  }
680
 
681
- .h-\[500px\] {
682
- height: 500px;
683
  }
684
 
685
- .h-\[300px\] {
686
- height: 300px;
687
  }
688
 
689
- .h-\[540px\] {
690
- height: 540px;
691
  }
692
 
693
  .w-10 {
@@ -698,28 +694,28 @@ video {
698
  width: 100%;
699
  }
700
 
701
- .w-\[1000px\] {
702
- width: 1000px;
703
  }
704
 
705
- .w-\[95\%\] {
706
- width: 95%;
707
  }
708
 
709
  .w-screen {
710
  width: 100vw;
711
  }
712
 
713
- .w-\[900px\] {
714
- width: 900px;
715
  }
716
 
717
- .w-\[800px\] {
718
- width: 800px;
719
  }
720
 
721
- .w-\[600px\] {
722
- width: 600px;
723
  }
724
 
725
  .flex-1 {
@@ -736,14 +732,14 @@ video {
736
  cursor: pointer;
737
  }
738
 
739
- .resize {
740
- resize: both;
741
- }
742
-
743
  .items-center {
744
  align-items: center;
745
  }
746
 
 
 
 
 
747
  .overflow-auto {
748
  overflow: auto;
749
  }
@@ -784,10 +780,6 @@ video {
784
  border-style: dashed;
785
  }
786
 
787
- .border-none {
788
- border-style: none;
789
- }
790
-
791
  .border-black {
792
  --tw-border-opacity: 1;
793
  border-color: rgb(0 0 0 / var(--tw-border-opacity));
@@ -940,14 +932,6 @@ video {
940
  padding-top: 0.5rem;
941
  }
942
 
943
- .pt-\[56\.25\%\] {
944
- padding-top: 56.25%;
945
- }
946
-
947
- .pt-\[57\.25\%\] {
948
- padding-top: 57.25%;
949
- }
950
-
951
  .text-left {
952
  text-align: left;
953
  }
@@ -990,11 +974,6 @@ video {
990
  line-height: 2.5rem;
991
  }
992
 
993
- .text-5xl {
994
- font-size: 3rem;
995
- line-height: 1;
996
- }
997
-
998
  .font-medium {
999
  font-weight: 500;
1000
  }
@@ -1079,21 +1058,11 @@ video {
1079
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
1080
  }
1081
 
1082
- .hover\:border-sky-500:hover {
1083
- --tw-border-opacity: 1;
1084
- border-color: rgb(14 165 233 / var(--tw-border-opacity));
1085
- }
1086
-
1087
  .hover\:border-Retro-purple:hover {
1088
  --tw-border-opacity: 1;
1089
  border-color: rgb(151 0 204 / var(--tw-border-opacity));
1090
  }
1091
 
1092
- .hover\:border-l-Retro-purple:hover {
1093
- --tw-border-opacity: 1;
1094
- border-left-color: rgb(151 0 204 / var(--tw-border-opacity));
1095
- }
1096
-
1097
  .focus\:border-sky-500:focus {
1098
  --tw-border-opacity: 1;
1099
  border-color: rgb(14 165 233 / var(--tw-border-opacity));
 
586
  bottom: 0px;
587
  }
588
 
 
 
 
 
589
  .top-4 {
590
  top: 1rem;
591
  }
 
598
  z-index: 10;
599
  }
600
 
 
 
 
 
601
  .-z-10 {
602
  z-index: -10;
603
  }
604
 
605
+ .z-50 {
606
+ z-index: 50;
607
+ }
608
+
609
  .float-left {
610
  float: left;
611
  }
 
658
  height: 100vh;
659
  }
660
 
661
+ .h-6 {
662
+ height: 1.5rem;
663
+ }
664
+
665
  .h-10 {
666
  height: 2.5rem;
667
  }
 
670
  height: auto;
671
  }
672
 
673
+ .h-\[540px\] {
674
+ height: 540px;
 
 
 
 
675
  }
676
 
677
+ .h-full {
678
+ height: 100%;
679
  }
680
 
681
+ .h-8 {
682
+ height: 2rem;
683
  }
684
 
685
+ .h-9 {
686
+ height: 2.25rem;
687
  }
688
 
689
  .w-10 {
 
694
  width: 100%;
695
  }
696
 
697
+ .w-8 {
698
+ width: 2rem;
699
  }
700
 
701
+ .w-\[600px\] {
702
+ width: 600px;
703
  }
704
 
705
  .w-screen {
706
  width: 100vw;
707
  }
708
 
709
+ .w-4 {
710
+ width: 1rem;
711
  }
712
 
713
+ .w-6 {
714
+ width: 1.5rem;
715
  }
716
 
717
+ .w-9 {
718
+ width: 2.25rem;
719
  }
720
 
721
  .flex-1 {
 
732
  cursor: pointer;
733
  }
734
 
 
 
 
 
735
  .items-center {
736
  align-items: center;
737
  }
738
 
739
+ .self-center {
740
+ align-self: center;
741
+ }
742
+
743
  .overflow-auto {
744
  overflow: auto;
745
  }
 
780
  border-style: dashed;
781
  }
782
 
 
 
 
 
783
  .border-black {
784
  --tw-border-opacity: 1;
785
  border-color: rgb(0 0 0 / var(--tw-border-opacity));
 
932
  padding-top: 0.5rem;
933
  }
934
 
 
 
 
 
 
 
 
 
935
  .text-left {
936
  text-align: left;
937
  }
 
974
  line-height: 2.5rem;
975
  }
976
 
 
 
 
 
 
977
  .font-medium {
978
  font-weight: 500;
979
  }
 
1058
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
1059
  }
1060
 
 
 
 
 
 
1061
  .hover\:border-Retro-purple:hover {
1062
  --tw-border-opacity: 1;
1063
  border-color: rgb(151 0 204 / var(--tw-border-opacity));
1064
  }
1065
 
 
 
 
 
 
1066
  .focus\:border-sky-500:focus {
1067
  --tw-border-opacity: 1;
1068
  border-color: rgb(14 165 233 / var(--tw-border-opacity));
frontend/src/images/logo.svg ADDED