-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
024d5b8
commit 344309f
Showing
10 changed files
with
805 additions
and
203 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export default { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,10 @@ | ||
<script setup lang="ts"> | ||
import { RouterLink, RouterView } from 'vue-router' | ||
import HelloWorld from './components/HelloWorld.vue' | ||
import { RouterView } from 'vue-router' | ||
</script> | ||
|
||
<template> | ||
<header> | ||
<img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" /> | ||
|
||
<div class="wrapper"> | ||
<HelloWorld msg="You did it!" /> | ||
|
||
<nav> | ||
<RouterLink to="/">Home</RouterLink> | ||
<RouterLink to="/about">About</RouterLink> | ||
</nav> | ||
</div> | ||
</header> | ||
|
||
<RouterView /> | ||
<header></header> | ||
<main> | ||
<RouterView /> | ||
</main> | ||
</template> | ||
|
||
<style scoped> | ||
header { | ||
line-height: 1.5; | ||
max-height: 100vh; | ||
} | ||
.logo { | ||
display: block; | ||
margin: 0 auto 2rem; | ||
} | ||
nav { | ||
width: 100%; | ||
font-size: 12px; | ||
text-align: center; | ||
margin-top: 2rem; | ||
} | ||
nav a.router-link-exact-active { | ||
color: var(--color-text); | ||
} | ||
nav a.router-link-exact-active:hover { | ||
background-color: transparent; | ||
} | ||
nav a { | ||
display: inline-block; | ||
padding: 0 1rem; | ||
border-left: 1px solid var(--color-border); | ||
} | ||
nav a:first-of-type { | ||
border: 0; | ||
} | ||
@media (min-width: 1024px) { | ||
header { | ||
display: flex; | ||
place-items: center; | ||
padding-right: calc(var(--section-gap) / 2); | ||
} | ||
.logo { | ||
margin: 0 2rem 0 0; | ||
} | ||
header .wrapper { | ||
display: flex; | ||
place-items: flex-start; | ||
flex-wrap: wrap; | ||
} | ||
nav { | ||
text-align: left; | ||
margin-left: -1rem; | ||
font-size: 1rem; | ||
padding: 1rem 0; | ||
margin-top: 1rem; | ||
} | ||
} | ||
</style> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,10 @@ | ||
@import './base.css'; | ||
@layer tailwind-base, primevue, tailwind-utilities; | ||
|
||
#app { | ||
max-width: 1280px; | ||
margin: 0 auto; | ||
padding: 2rem; | ||
font-weight: normal; | ||
@layer tailwind-base { | ||
@tailwind base; | ||
} | ||
|
||
a, | ||
.green { | ||
text-decoration: none; | ||
color: hsla(160, 100%, 37%, 1); | ||
transition: 0.4s; | ||
padding: 3px; | ||
} | ||
|
||
@media (hover: hover) { | ||
a:hover { | ||
background-color: hsla(160, 100%, 37%, 0.2); | ||
} | ||
} | ||
|
||
@media (min-width: 1024px) { | ||
body { | ||
display: flex; | ||
place-items: center; | ||
} | ||
|
||
#app { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
padding: 0 2rem; | ||
} | ||
@layer tailwind-utilities { | ||
@tailwind components; | ||
@tailwind utilities; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,25 @@ | ||
import './assets/main.css' | ||
|
||
import { createApp } from 'vue' | ||
import Aura from '@primevue/themes/aura' | ||
import { createPinia } from 'pinia' | ||
|
||
import PrimeVue from 'primevue/config' | ||
import { createApp } from 'vue' | ||
import App from './App.vue' | ||
import './assets/main.css' | ||
import router from './router' | ||
|
||
const app = createApp(App) | ||
|
||
app.use(createPinia()) | ||
app.use(router) | ||
app.use(PrimeVue, { | ||
theme: { | ||
preset: Aura, | ||
options: { | ||
cssLayer: { | ||
name: 'primevue', | ||
order: 'tailwind-base, primevue, tailwind-utilities', | ||
}, | ||
}, | ||
}, | ||
}) | ||
|
||
app.mount('#app') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<script setup lang="ts"> | ||
import { Form, FormField } from '@primevue/forms' | ||
import { Button } from 'primevue' | ||
import InputText from 'primevue/inputtext' | ||
</script> | ||
|
||
<template> | ||
<div class="flex flex-col my-12 items-center"> | ||
<div class="text-4xl text-gray-800 mb-10">Synchronization of datasets between platforms</div> | ||
<Form class="flex flex-col gap-5"> | ||
<FormField name="sourceDataset" class="flex gap-5 items-center"> | ||
<label for="sourceDataset" class="w-36">Source dataset</label> | ||
<InputText id="sourceDataset" placeholder="" /> | ||
</FormField> | ||
<FormField name="sourceLayer" class="flex gap-5 items-center"> | ||
<label for="sourceLayer" class="w-36">Source layer</label> | ||
<InputText id="sourceLayer" placeholder="" /> | ||
</FormField> | ||
<FormField name="targetPlatform" class="flex gap-5 items-center"> | ||
<label for="targetPlatform" class="w-36">Target platform</label> | ||
<InputText id="targetPlatform" placeholder="" /> | ||
</FormField> | ||
<Button label="Synchronize" class="mt-5" /> | ||
</Form> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import type { Config } from 'tailwindcss' | ||
import tailwindcssPrimeUI from 'tailwindcss-primeui' | ||
|
||
export default { | ||
content: ['./src/**/*.vue'], | ||
theme: { | ||
extend: {}, | ||
}, | ||
plugins: [tailwindcssPrimeUI], | ||
} satisfies Config |