Skip to content

Commit

Permalink
Merge pull request #5 from wsg-ariadne/feat/landing
Browse files Browse the repository at this point in the history
Landing page
  • Loading branch information
jareddantis authored Jun 30, 2023
2 parents 8b1f576 + 2d6fe92 commit cb5f533
Show file tree
Hide file tree
Showing 20 changed files with 725 additions and 186 deletions.
12 changes: 2 additions & 10 deletions app.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
<template>
<main class="bg-adn-background grid grid-rows-1 grid-cols-4 gap-1 min-h-screen">
<main class="bg-adn-background">
<NuxtLayout>
<!-- Navigation sidebar -->
<Navbar class="col-start-1 col-end-1" />

<!-- Page content -->
<div class="col-start-2 col-span-3 overflow-scroll m-4">
<div class="p-6 border-adn-border border-2 bg-adn-white rounded-lg">
<NuxtPage/>
</div>
</div>
<NuxtPage/>
</NuxtLayout>
</main>
</template>
44 changes: 44 additions & 0 deletions assets/architecture.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/ariadne-logomark-purple.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/ariadne-logomark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions assets/ariadne-logotype.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions assets/css/tailwind.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
h1 {
@apply text-5xl;
}
h2 {
@apply text-3xl;
}
p {
@apply my-2;
}
}
66 changes: 66 additions & 0 deletions assets/landing.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions assets/sample-banner.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 64 additions & 0 deletions assets/sample-screen.svg
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 assets/team.jpg
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 assets/up-seal.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 assets/wsg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions components/LandingButton.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<script setup>
import { ArrowRightIcon } from '@heroicons/vue/24/outline'
</script>

<template>
<div class="rounded-full flex flex-row justify-between
items-center group border-2 px-6 py-4 cursor-pointer w-fit"
:class="parentClasses">
<slot></slot>

<!-- Arrow icon -->
<ArrowRightIcon class="ml-4 h-6 w-6 group-hover:ml-6
transition-all" />
</div>
</template>

<script>
import { defineComponent } from 'vue'
export default defineComponent({
name: 'LandingButton',
props: {
parentClasses: {
type: String,
default: ''
}
}
})
</script>
22 changes: 22 additions & 0 deletions components/LandingContainer.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<template>
<div class="flex justify-center items-center w-full"
:class="parentClasses">
<div class="max-w-7xl w-full mx-6">
<slot></slot>
</div>
</div>
</template>

<script>
import { defineComponent } from 'vue'
export default defineComponent({
name: 'LandingContainer',
props: {
parentClasses: {
type: String,
default: ''
}
}
})
</script>
2 changes: 1 addition & 1 deletion components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const onHomeTabClick = () => {
<!-- Tabs -->
<Tab
tab-id="homeTab"
:active="route.path === '/'"
:active="route.path === '/reports'"
@tab-click="onHomeTabClick"
>
<template #icon>
Expand Down
13 changes: 13 additions & 0 deletions components/ReportBasePage.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<template>
<main class="grid grid-rows-1 grid-cols-4 gap-1 min-h-screen">
<!-- Navigation sidebar -->
<Navbar class="col-start-1 col-end-1" />

<!-- Page content -->
<div class="col-start-2 col-span-3 overflow-scroll m-4">
<div class="p-6 border-adn-border border-2 bg-adn-white rounded-lg">
<slot></slot>
</div>
</div>
</main>
</template>
Loading

0 comments on commit cb5f533

Please sign in to comment.