-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add footer content and styling (#10)
* feat: Add footer content and styling * demo: relative pathing for computed img src * fix: Vite image processing peculiarities https://vitejs.dev/guide/assets.html#new-url-url-import-meta-url
- Loading branch information
Showing
7 changed files
with
120 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<template> | ||
<section class="sm:w-80 sm:mx-auto lg:mx-0"> | ||
<div class="flex items-center gap-6"> | ||
<img :src="themeIcon" role="presentation" class="w-8 h-8" /> | ||
<h3 class="font-bold"> | ||
<span><slot name="title" /></span> | ||
</h3> | ||
</div> | ||
<p class="ml-14 text-slate-500"><slot name="text" /></p> | ||
</section> | ||
</template> | ||
|
||
<script setup> | ||
import { computed } from 'vue' | ||
const props = defineProps({ | ||
theme: { | ||
type: String, | ||
default: 'info', | ||
validator(value) { | ||
return ['info', 'mail'].includes(value) | ||
}, | ||
}, | ||
}) | ||
const themeIcon = computed(() => { | ||
switch (props.theme) { | ||
case 'info': | ||
default: | ||
return new URL('@/assets/images/icon-info.png', import.meta.url).href | ||
case 'mail': | ||
return new URL('@/assets/images/icon-envelope.png', import.meta.url).href | ||
} | ||
}) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<template> | ||
<footer class="pb-8"> | ||
<div | ||
class="w-full pt-10 pb-12 text-white lg:pb-5 lg:pt-52 bg-primary-indigo" | ||
> | ||
<div class="ml-8 sm:mx-auto lg:ml-36 w-52 sm:w-96"> | ||
<h2 class="sm:text-lg">Contact Us</h2> | ||
<p class="pt-5 text-2xl font-black sm:text-5xl lg:text-6xl"> | ||
Let's make it pop together. | ||
</p> | ||
</div> | ||
</div> | ||
|
||
<div class="flex flex-col gap-12 px-16 mt-12 sm:flex-row sm:px-10 lg:px-36"> | ||
<FooterSection> | ||
<template #title>About the Creators</template> | ||
|
||
<template #text> | ||
Triple Tech is a tech squad committed to empowering people to land | ||
their dream jobs with confidence and ease. | ||
</template> | ||
</FooterSection> | ||
|
||
<FooterSection class="hidden lg:block"> | ||
<template #title>About the Site</template> | ||
|
||
<template #text> | ||
Pitch Pop-out is a cutting-edge AI solution that empowers job seekers | ||
and users to craft personalized pitch summaries that align with the | ||
requirements of their target positions. With ongoing improvements, the | ||
app will soon offer features for generating tailored resumes that | ||
match specific job descriptions, streamlining the application process | ||
with a single click. | ||
</template> | ||
</FooterSection> | ||
|
||
<FooterSection theme="mail"> | ||
<template #title>How Can We Help?</template> | ||
|
||
<template #text> | ||
<a href="mailto:[email protected]">[email protected]</a> | ||
</template> | ||
</FooterSection> | ||
</div> | ||
</footer> | ||
</template> | ||
|
||
<script setup> | ||
import FooterSection from './FooterSection.vue' | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
937815f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
squadtripletech – ./
squadtripletech.vercel.app
squadtripletech-tripletech.vercel.app
squadtripletech-git-main-tripletech.vercel.app