Skip to content

Commit

Permalink
create footer button, format component file and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonWingerAir committed Dec 28, 2023
1 parent 9016988 commit 6b9b394
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 13 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ Redesign based on a [tutorial series](https://www.youtube.com/playlist?list=PL4c

```Dotenv
# GitHub API for Projects page
GH_TOKEN=YOUR_PERSONAL_ACCESS_TOKEN
GH_TOKEN=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
# Optional: Enable search engine crawl & index
# SEO_ENV=production
# Optional: Set port if required
# PORT=3000
Expand All @@ -37,13 +40,9 @@ GH_TOKEN=YOUR_PERSONAL_ACCESS_TOKEN
# NUXT_APP_BASE_URL='/portfolio-nuxt-tailwind-graphql'
```

### How to enable SEO (nuxt.config.ts)

```js
site: { indexable: true },
```
### SEO Configuration (nuxt.config.ts)

Check out the [module documentation](https://nuxtseo.com/robots/getting-started/installation) for more information.
Check out the [robots module documentation](https://nuxtseo.com/robots/getting-started/installation) for more information.

### Make sure to install the dependencies

Expand Down
11 changes: 9 additions & 2 deletions components/EstimateLinkBtn.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<template>
<a href="https://brandonwinger-air.com/web-project-calculator/" target="_blank" class="hidden md:block justify-self-end mt-12">
<button type="button" class="w-42 h-14 text-gray-900 bg-gray-100 hover:bg-gray-200 focus:outline-none focus:ring-4 focus:ring-gray-300 font-medium rounded-md text-sm px-5 py-1 me-2 mb-2 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700 opacity-90 border-neutral-800">
<a
href="https://brandonwinger-air.com/web-project-calculator/"
target="_blank"
class="hidden md:block justify-self-end mt-12"
>
<button
type="button"
class="w-42 h-14 text-gray-900 bg-gray-100 hover:bg-gray-200 focus:outline-none focus:ring-4 focus:ring-gray-300 font-medium rounded-md text-sm px-5 py-1 me-2 mb-2 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700 opacity-90 border-neutral-800"
>
<Icon name="uil:calculator" size="1.5rem" class="text-cyan-600 mr-1"/> Time & Cost Estimate Calculator
</button>
</a>
Expand Down
17 changes: 13 additions & 4 deletions components/Site/SiteFooter.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
<template>
<footer class="bg-gray-800">
<section class="h-16 mx-auto max-w-7xl px-2 sm:px-4 lg:py-6 text-gray-300 flex flex-row items-center">
<p class="flex-1 ml-1">&copy; Brandon Winger-Air | 2023.</p>
<section class="h-40 md:h-24 lg:h-17 mx-auto max-w-7xl px-2 sm:px-4 lg:py-6 text-gray-300 flex flex-row items-center grid md:grid-cols-3 grid-rows-2 md:grid-rows-1">
<p class="ml-2 lg:ml-3 justify-self-center md:justify-self-start">&copy; Brandon Winger-Air | 2023.</p>

<div class="flex flex-row justify-center gap-4 mr-2">
<a v-for="link in links" :key="link.name" :href="link.href">
<a href="https://streamelements.com/brandonwinger-air/tip" target="_blank" class="justify-self-center">
<button
type="button"
class="w-42 h-10 text-white bg-emerald-600 hover:bg-emerald-700 focus:outline-none focus:ring-4 focus:ring-emerald-300 font-semibold rounded-md text-sm px-5 py-1 dark:bg-emerald-100 dark:hover:bg-emerald-200 dark:focus:ring-emerald-200 dark:border-emerald-200 opacity-90 border-neutral-400 mb-5 sm:mb-0 ml-1 lg:ml-0"
>
Support future development <Icon name="uil:coffee" size="1.5rem" class="text-amber-900 hover:text-amber-400"/>
</button>
</a>

<div class="justify-self-center md:justify-self-end flex flex-row justify-center gap-4 mr-5 mb-4 sm:mb-0">
<a v-for="link in links" :key="link.name" :href="link.href" target="_blank">
<Icon :name="link.icon" size="1.5rem" class="text-gray-300"/>
</a>
</div>
Expand Down

0 comments on commit 6b9b394

Please sign in to comment.