Skip to content

Commit

Permalink
add redirect and meta
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman4437 committed Jan 18, 2024
1 parent 8aa53d3 commit a46d397
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 6 deletions.
8 changes: 4 additions & 4 deletions components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
</div>
<div class="flex flex-col gap-3 order-2 md:order-3">
<b>Community</b>
<NuxtLink class="hover:underline" to="https://github.com/epicmaxco/vuestic-admin" target="_blank">GitHub</NuxtLink>
<NuxtLink class="hover:underline" to="https://discord.gg/invite/u7fQdqQt8c" target="_blank">Discord</NuxtLink>
<NuxtLink class="hover:underline" to="https://www.facebook.com/epicmaxco" target="_blank">Facebook</NuxtLink>
<NuxtLink class="hover:underline" to="https://twitter.com/epicmaxco" target="_blank">Twitter</NuxtLink>
<NuxtLink class="hover:underline w-fit" to="https://github.com/epicmaxco/vuestic-admin" target="_blank">GitHub</NuxtLink>
<NuxtLink class="hover:underline w-fit" to="https://discord.gg/invite/u7fQdqQt8c" target="_blank">Discord</NuxtLink>
<NuxtLink class="hover:underline w-fit" to="https://www.facebook.com/epicmaxco" target="_blank">Facebook</NuxtLink>
<NuxtLink class="hover:underline w-fit" to="https://twitter.com/epicmaxco" target="_blank">Twitter</NuxtLink>
</div>
<div class="flex flex-col gap-3 order-4">
<b>Contact Us</b>
Expand Down
4 changes: 2 additions & 2 deletions components/HeaderBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</div>
<div class="flex-1">
<VaButton
href="https://epicmax.co/?ref=vuestic-header"
target="blank"
to="https://epicmax.co/?ref=vuestic-header"
target="_blank"
class="text-regularSmall"
size="small"
color="#FF0"
Expand Down
5 changes: 5 additions & 0 deletions middleware/middleware.global.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default defineNuxtRouteMiddleware((to, from) => {
if (to.path !== '/') {
return navigateTo('/')
}
})
67 changes: 67 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,71 @@
export default defineNuxtConfig({
app: {
head: {
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
],

title: 'Vuestic Admin — Vue 3 admin template',

meta: [
{ charset: 'utf-8' },
{ name: 'theme-color', content: '#154EC1' },
{ 'http-equiv': 'X-UA-Compatible', content: 'IE=edge' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1.0, minimum-scale=1.0' },
{
hid: 'description',
name: 'description',
content: 'Vuestic Admin is a modern admin template utilizing Vue 3, Vite, Pinia, and Tailwind CSS'
},
{
vmid: 'keywords',
name: 'keywords',
content: 'vue, vue components, vuestic admin, vuestic, vuestic-ui, component framework'
},
{
vmid: 'og:description',
property: "og:description",
content: 'Vuestic Admin is a modern admin template utilizing Vue 3, Vite, Pinia, and Tailwind CSS'
},
{
vmid: 'og:image',
property: "og:image",
content: 'https://raw.githubusercontent.com/epicmaxco/vuestic-ui/develop/.github/assets/vuestic-ui-social.png'
},
{
vmid: 'og:site_name',
property: "og:site_name",
content: 'Vuestic Admin'
},
{
vmid: 'og:title',
property: "og:title",
content: 'Vuestic Admin — Vue 3 admin template'
},
{
vmid: 'og:type',
property: "og:type",
content: 'website'
},
{
vmid: 'twitter:card',
property: 'twitter:card',
content: 'https://raw.githubusercontent.com/epicmaxco/vuestic-ui/develop/.github/assets/vuestic-ui-social.png'
},
{
vmid: 'twitter:domain',
property: 'twitter:domain',
content: 'https://admin.vuestic.dev/admin/dashboard'
},
{
vmid: 'twitter:site',
property: 'twitter:site',
content: 'Vuestic Admin'
},
]
},
},

modules: [
'@vuestic/nuxt',
'@nuxtjs/google-fonts'
Expand Down
Binary file removed public/landing/admin/open_source2.png
Binary file not shown.

0 comments on commit a46d397

Please sign in to comment.