Skip to content

Commit

Permalink
feat: polished home hero, added scroll indicators
Browse files Browse the repository at this point in the history
  • Loading branch information
rak3rman committed Apr 11, 2024
1 parent 66e0547 commit d4bb1fc
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 116 deletions.
2 changes: 1 addition & 1 deletion nuxt/components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="flex w-full items-center justify-between md:w-auto">
<NuxtLink to="/" class="fade-in-nav flex items-center">
<NuxtImg
class="mb-[1px] h-[1.3rem] w-auto"
class="mb-[1.5px] h-[1.3rem] w-auto"
src="https://imagedelivery.net/5zM6Rdl2uV8Hmr9WxRh20g/874f0866-25fb-4224-cc22-205d60921800/sm"
alt="RAkerman Logo"
/>
Expand Down
9 changes: 8 additions & 1 deletion nuxt/components/content/DocsHero.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="container mx-auto flex min-h-screen items-center" id="hero">
<div class="container relative mx-auto flex min-h-screen items-center" id="hero">
<div class="w-full">
<h6
class="fade-in-hero pb-1 pt-1 text-left text-5xl font-bold text-primary md:text-6xl"
Expand All @@ -14,5 +14,12 @@
<ContentSlot :use="$slots.desc" unwrap="p" />
</h6>
</div>
<div class="absolute bottom-[7%] left-0 right-0 w-full flex justify-center">
<ChevronDoubleDownIcon class="text-neutral h-7 w-7 md:h-8 md:w-8" />
</div>
</div>
</template>

<script setup lang="ts">
import {ChevronDoubleDownIcon} from "@heroicons/vue/24/solid";
</script>
108 changes: 0 additions & 108 deletions nuxt/components/content/DocsNavbar.vue

This file was deleted.

17 changes: 12 additions & 5 deletions nuxt/components/content/HomeHero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
/>
<div class="flex w-full flex-col justify-center overflow-y-hidden">
<h6
class="fade-in-hero py-2 text-left font-mono text-lg leading-normal text-secondary md:text-xl"
class="fade-in-hero py-1 text-left font-mono text-[17px] leading-normal text-secondary md:py-2 md:text-xl"
:style="{ 'transition-delay': 300 + 'ms' }"
>
Hi there, my name is
</h6>
<h6
class="fade-in-hero pb-1 pt-1 text-left text-4xl font-bold leading-tight text-primary md:text-6xl"
class="fade-in-hero py-0 text-left text-4xl font-bold leading-tight text-primary md:py-1 md:text-6xl"
:style="{ 'transition-delay': 400 + 'ms' }"
>
Radison Akerman.
Expand All @@ -37,22 +37,29 @@
</h6>
<NuxtLink
to="https://chickens.rakerman.com"
class="fade-in-hero flex max-w-2xl items-center py-2"
class="fade-in-hero flex max-w-2xl text-left hover:text-accent items-center py-1 sm:py-2 text-warning"
:style="{ 'transition-delay': 600 + 'ms' }"
>
<ButtonPillOutlineLarge
class="border-warning text-warning hover:border-accent hover:text-accent"
>Exploding Chickens: Celebrating 1,250+ Games Played!
class="border-warning hover:border-accent hidden sm:flex"
>Exploding Chickens: Celebrating 1,400+ Games Played!
<ChevronRightIcon class="-mr-1 h-5 w-5" />
</ButtonPillOutlineLarge>
<!-- <h6 class="overflow-hidden text-[1.1rem] leading-normal sm:hidden">-->
<!-- Exploding Chickens: Celebrating 1,400+ Games Played!-->
<!-- </h6>-->
</NuxtLink>
</div>
</div>
</div>
</div>
<div class="absolute bottom-[7%] left-0 right-0 w-full flex justify-center">
<ChevronDoubleDownIcon class="text-neutral h-7 w-7 md:h-8 md:w-8" />
</div>
</div>
</template>

<script setup>
import { ChevronRightIcon } from "@heroicons/vue/16/solid";
import { ChevronDoubleDownIcon } from "@heroicons/vue/24/solid";
</script>
2 changes: 1 addition & 1 deletion nuxt/layouts/home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{ name: 'Projects', href: '#projects' },
{ name: 'Contact', href: '#contact' },
{
name: 'Resume',
name: 'Résumé',
href: '/radison-akerman-resume.pdf',
is_cta: true,
target: '_blank'
Expand Down

0 comments on commit d4bb1fc

Please sign in to comment.