Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Landing page #5

Merged
merged 2 commits into from
Jun 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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