Skip to content

Commit

Permalink
feat(home): hero section
Browse files Browse the repository at this point in the history
Took 36 minutes
  • Loading branch information
Croos3r committed May 18, 2024
1 parent eb8dd83 commit 5535e2d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
Binary file added src/assets/hero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions src/pages/Home/HeroSection.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<script lang="ts" setup>
import LButton from "../../components/LButton.vue";
</script>

<template>
<div class="flex py-60 pl-16 image-background">
<div class="flex flex-col gap-6 py-9 px-6 max-w-4xl text-neutral-100">
<h1>Discover the Freedom of Decentralized AI</h1>
<p class="body-small">
Experience the privacy of LibertAI's decentralized AI platform - chat freely, without data logging. Explore
various Chat-GPT like open-source models, like Llama 3 70b, for free. Create personalized AI assistants for
enhanced productivity.<br>
<br>
Your AI journey, your privacy!
</p>
<a href="https://chat.libertai.io">
<l-button class="w-fit" light text="TRY FOR FREE" />
</a>
</div>
</div>
</template>

<style scoped>
div.image-background {
background-image: url("../../assets/hero.png");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
</style>
6 changes: 5 additions & 1 deletion src/pages/Home/index.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<script lang="ts" setup>
import Hero from "./HeroSection.vue";
</script>

<template>
<p>Hello world!</p>
<Hero />
</template>;

0 comments on commit 5535e2d

Please sign in to comment.