Added custom fonts and did minor adjustments
This commit is contained in:
		@@ -6,7 +6,7 @@ import SidebarComponent from '@components/sidebar/SidebarComponent.vue';
 | 
				
			|||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
  <div id="layout" class="flex h-screen bg-gradient-to-r from-white to-sky-200 dark:from-slate-800 dark:to-indigo-950">
 | 
					  <div id="layout" class="font-sans flex h-screen bg-gradient-to-r from-white to-sky-200 dark:from-slate-800 dark:to-indigo-950">
 | 
				
			||||||
    <SidebarComponent />
 | 
					    <SidebarComponent />
 | 
				
			||||||
    <div class="relative p-4 w-full m-4 bg-blue-50 dark:bg-gray-700 rounded-2xl overflow-hidden shadow-lg">
 | 
					    <div class="relative p-4 w-full m-4 bg-blue-50 dark:bg-gray-700 rounded-2xl overflow-hidden shadow-lg">
 | 
				
			||||||
      <RouterView></RouterView>
 | 
					      <RouterView></RouterView>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -46,11 +46,11 @@ function refreshHistory(){
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
    <div>
 | 
					    <div>
 | 
				
			||||||
        <table class="h-28 w-full text-center dark:text-grey-900">
 | 
					        <table class="h-28 w-full text-center text-grey-900 dark:text-white">
 | 
				
			||||||
            <tr>
 | 
					            <tr>
 | 
				
			||||||
                <th>Time</th>
 | 
					                <th>Time</th>
 | 
				
			||||||
                <th>HTTP Method</th>
 | 
					                <th>HTTP Method</th>
 | 
				
			||||||
                <th>HTTP Headers</th>
 | 
					                <th>Headers</th>
 | 
				
			||||||
                <th>Request Body</th>
 | 
					                <th>Request Body</th>
 | 
				
			||||||
                <th class="text-2xl"><button @click="refreshHistory()">⟳</button></th>
 | 
					                <th class="text-2xl"><button @click="refreshHistory()">⟳</button></th>
 | 
				
			||||||
            </tr>
 | 
					            </tr>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,7 +29,7 @@ onMounted( () => {
 | 
				
			|||||||
            <a href="https://release11.com/">
 | 
					            <a href="https://release11.com/">
 | 
				
			||||||
                <img :src="logoR11" class="w-72 h-16 p-2 pt-0"/>
 | 
					                <img :src="logoR11" class="w-72 h-16 p-2 pt-0"/>
 | 
				
			||||||
            </a>
 | 
					            </a>
 | 
				
			||||||
            <div class="flex basis-full flex-col font-medium items-center">
 | 
					            <div class="flex basis-full flex-col font-normal items-center">
 | 
				
			||||||
                <sidebar-menu-element-component category-name="Parser">
 | 
					                <sidebar-menu-element-component category-name="Parser">
 | 
				
			||||||
                    <SidebarToolLinkComponent path-to="/xml/xpath" element-content="XPath" />
 | 
					                    <SidebarToolLinkComponent path-to="/xml/xpath" element-content="XPath" />
 | 
				
			||||||
                    <SidebarToolLinkComponent path-to="/xml/xquery" element-content="XQuery" />
 | 
					                    <SidebarToolLinkComponent path-to="/xml/xquery" element-content="XQuery" />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -18,10 +18,10 @@ const props = defineProps(
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
    <div class="w-full mb-4 p-2 rounded-xl shadow-lg bg-gradient-to-r from-blue-400 to-blue-300 dark:from-sky-700 dark:to-sky-900">
 | 
					    <div class="w-full mb-4 p-2 rounded-xl shadow-lg bg-gradient-to-r from-blue-400 to-blue-300 dark:from-sky-700 dark:to-sky-900">
 | 
				
			||||||
        <button @click="switchHiddenElement()" type="button" :class="[isActive ? 'rounded-lg' : 'rounded-lg']" class="w-full p-2 text-lg font-bold text-gray-900 transition duration-75 hover:bg-blue-100 dark:text-gray-100  dark:hover:bg-slate-600">
 | 
					        <button @click="switchHiddenElement()" type="button" :class="[isActive ? 'rounded-lg' : 'rounded-lg']" class="w-full p-2 text-lg font-normal text-gray-900 transition duration-75 hover:bg-blue-100 dark:text-gray-100  dark:hover:bg-slate-600">
 | 
				
			||||||
            <span class="flex-1 whitespace-nowrap">{{props.categoryName}}</span>
 | 
					            <span class="flex-1 whitespace-nowrap">{{props.categoryName}}</span>
 | 
				
			||||||
        </button>
 | 
					        </button>
 | 
				
			||||||
        <div class="flex flex-col w-full py-2 bg-indigo-50 dark:bg-slate-800 rounded-xl font-thin overflow-hidden" :class="[isActive ? 'active' : 'hidden']">
 | 
					        <div class="flex flex-col w-full py-2 bg-indigo-50 dark:bg-slate-800 rounded-xl font-extralight overflow-hidden" :class="[isActive ? 'active' : 'hidden']">
 | 
				
			||||||
            <slot></slot>
 | 
					            <slot></slot>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										
											BIN
										
									
								
								Frontend/src/fonts/Raleway-Variable.ttf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Frontend/src/fonts/Raleway-Variable.ttf
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								Frontend/src/fonts/Sono-Variable.ttf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Frontend/src/fonts/Sono-Variable.ttf
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -2,6 +2,16 @@
 | 
				
			|||||||
@tailwind components;
 | 
					@tailwind components;
 | 
				
			||||||
@tailwind utilities;
 | 
					@tailwind utilities;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@font-face {
 | 
				
			||||||
 | 
					    font-family: "Raleway";
 | 
				
			||||||
 | 
					    src: url("fonts/Raleway-Variable.ttf");
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@font-face {
 | 
				
			||||||
 | 
					    font-family: "Sono";
 | 
				
			||||||
 | 
					    src: url("fonts/Sono-Variable.ttf");
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.inactive-button {
 | 
					.inactive-button {
 | 
				
			||||||
    @apply py-2 px-4 h-fit text-slate-400 border border-slate-400 rounded-full
 | 
					    @apply py-2 px-4 h-fit text-slate-400 border border-slate-400 rounded-full
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,6 +6,10 @@ export default {
 | 
				
			|||||||
  ],
 | 
					  ],
 | 
				
			||||||
  theme: {
 | 
					  theme: {
 | 
				
			||||||
    extend: {},
 | 
					    extend: {},
 | 
				
			||||||
 | 
					    fontFamily: {
 | 
				
			||||||
 | 
					      'sans': ['Raleway'],
 | 
				
			||||||
 | 
					      'mono': ["Sono"],
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  plugins: [],
 | 
					  plugins: [],
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user