Skip to content

Commit

Permalink
Merge branch 'main' into feat/vectorize
Browse files Browse the repository at this point in the history
  • Loading branch information
RihanArfan authored Sep 24, 2024
2 parents debceb9 + ef11e94 commit 95f1678
Show file tree
Hide file tree
Showing 10 changed files with 1,525 additions and 1,027 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,39 @@
# Changelog


## v0.7.20

[compare changes](https://github.com/nuxt-hub/core/compare/v0.7.19...v0.7.20)

### 🩹 Fixes

- **proxy:** Read env from request ([bd4de45](https://github.com/nuxt-hub/core/commit/bd4de45))

### 📖 Documentation

- Fix demo video modal ([785df95](https://github.com/nuxt-hub/core/commit/785df95))

### ❤️ Contributors

- Sébastien Chopin ([@atinux](http://github.com/atinux))

## v0.7.19

[compare changes](https://github.com/nuxt-hub/core/compare/v0.7.18...v0.7.19)

### 🚀 Enhancements

- Add `nuxthub preview` command ([#288](https://github.com/nuxt-hub/core/pull/288))

### 📖 Documentation

- Fix usage of `extends` ([9f4a5f0](https://github.com/nuxt-hub/core/commit/9f4a5f0))
- Update ([8e40b8d](https://github.com/nuxt-hub/core/commit/8e40b8d))

### ❤️ Contributors

- Sébastien Chopin ([@atinux](http://github.com/atinux))

## v0.7.18

[compare changes](https://github.com/nuxt-hub/core/compare/v0.7.17...v0.7.18)
Expand Down
4 changes: 4 additions & 0 deletions docs/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ onMounted(() => {
}, 0)
})
useScriptClarity({
id: 'o4ovofrg5c'
})
const links = computed(() => [
...navigation.value.map(item => ({
label: item.title,
Expand Down
5 changes: 3 additions & 2 deletions docs/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ export default defineNuxtConfig({
'@nuxt/content',
'@vueuse/nuxt',
'@nuxt/ui',
'@nuxthq/studio',
// '@nuxthq/studio',
'nuxt-og-image',
'nuxt-cloudflare-analytics',
'@nuxtjs/plausible',
'@nuxt/image'
'@nuxt/image',
'@nuxt/scripts'
],
hooks: {
// Define `@nuxt/ui` components as global to use them in `.md` (feel free to add those you need)
Expand Down
19 changes: 10 additions & 9 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,22 @@
"@iconify-json/heroicons": "^1.2.0",
"@iconify-json/logos": "^1.2.0",
"@iconify-json/ph": "^1.2.0",
"@iconify-json/simple-icons": "^1.2.1",
"@iconify-json/vscode-icons": "^1.2.0",
"@iconify-json/simple-icons": "^1.2.3",
"@iconify-json/vscode-icons": "^1.2.2",
"@nuxt/content": "^2.13.2",
"@nuxt/fonts": "^0.7.2",
"@nuxt/fonts": "^0.8.0",
"@nuxt/image": "^1.8.0",
"@nuxt/ui-pro": "^1.4.1",
"@nuxthq/studio": "^2.0.3",
"@nuxt/scripts": "^0.9.2",
"@nuxt/ui-pro": "^1.4.2",
"@nuxthq/studio": "^2.1.0",
"@nuxtjs/plausible": "^1.0.2",
"@nuxtjs/tailwindcss": "^6.12.1",
"@vueuse/core": "^11.0.3",
"@vueuse/nuxt": "^11.0.3",
"@vueuse/core": "^11.1.0",
"@vueuse/nuxt": "^11.1.0",
"feed": "^4.2.2",
"medium-zoom": "^1.1.0",
"nuxt": "^3.13.1",
"nuxt": "^3.13.2",
"nuxt-cloudflare-analytics": "^1.0.8",
"nuxt-og-image": "^3.0.0-rc.66"
"nuxt-og-image": "^3.0.2"
}
}
27 changes: 27 additions & 0 deletions docs/pages/pricing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,21 @@ defineOgImageComponent('Docs')
const evanTestimonial = computed(() => {
return home.value?.testimonials.items.find(item => item.author.name === 'Evan You')
})
const demoVideoLink = home.value?.deploy?.buttons?.find(link => link.id === 'demo-video') || {}
const videoLink = ref('')
const videoModalOpen = ref(false)
onMounted(() => {
demoVideoLink.click = (e) => {
if (e.ctrlKey || e.metaKey) {
return
}
e?.preventDefault()
videoLink.value = demoVideoLink.to
videoModalOpen.value = true
}
})
</script>

<template>
Expand Down Expand Up @@ -169,6 +184,18 @@ const evanTestimonial = computed(() => {
</div>
</li>
</ul>
<UModal v-model="videoModalOpen" :ui="{ width: 'sm:max-w-4xl lg:max-w-5xl aspect-[16/9]' }">
<div class="p-3 h-full">
<iframe
width="100%"
height="100%"
:src="`https://www.youtube-nocookie.com/embed/${videoLink.split('=')[1]}`"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen
/>
</div>
</UModal>
</ULandingSection>
<ULandingSection :title="page.faq.title" :description="page.faq.description" :ui="{ container: 'max-w-5xl' }">
<ULandingFAQ :items="page?.faq.items" multiple>
Expand Down
20 changes: 8 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nuxthub/core",
"private": false,
"version": "0.7.18",
"version": "0.7.20",
"description": "Build full-stack Nuxt applications on Cloudflare, with zero configuration.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -40,8 +40,8 @@
"dependencies": {
"@cloudflare/workers-types": "^4.20240909.0",
"@nuxt/devtools-kit": "^1.4.2",
"@nuxt/kit": "^3.13.1",
"@uploadthing/mime-types": "^0.2.10",
"@nuxt/kit": "^3.13.2",
"@uploadthing/mime-types": "^0.3.0",
"citty": "^0.1.6",
"confbox": "^0.1.7",
"defu": "^6.1.4",
Expand All @@ -61,20 +61,16 @@
"@nuxt/devtools": "^1.4.2",
"@nuxt/eslint-config": "^0.5.7",
"@nuxt/module-builder": "^0.8.4",
"@nuxt/schema": "^3.13.1",
"@nuxt/schema": "^3.13.2",
"@nuxt/test-utils": "^3.14.2",
"@nuxthub/core": "link:",
"@types/node": "^22.5.4",
"@types/node": "^22.5.5",
"changelogen": "^0.5.5",
"eslint": "^9.10.0",
"nuxt": "^3.13.1",
"nuxt": "^3.13.2",
"typescript": "^5.6.2",
"vitest": "^2.1.0",
"wrangler": "^3.77.0"
},
"resolutions": {
"nuxt": "3.13.0",
"vue": "3.4.38"
"vitest": "^2.1.1",
"wrangler": "^3.78.2"
},
"packageManager": "[email protected]"
}
12 changes: 6 additions & 6 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@
"preview": "nuxi preview"
},
"dependencies": {
"@ai-sdk/vue": "^0.0.45",
"@ai-sdk/vue": "^0.0.49",
"@cloudflare/puppeteer": "^0.0.14",
"@iconify-json/simple-icons": "^1.2.1",
"@iconify-json/simple-icons": "^1.2.3",
"@kgierke/nuxt-basic-auth": "^1.6.0",
"@nuxt/ui": "^2.18.4",
"@nuxthub/core": "latest",
"@nuxtjs/mdc": "^0.8.3",
"ai": "^3.3.26",
"@nuxtjs/mdc": "^0.9.0",
"ai": "^3.3.39",
"drizzle-orm": "^0.33.0",
"nuxt": "^3.13.1",
"nuxt": "^3.13.2",
"postgres": "^3.4.4",
"puppeteer": "^23.3.0"
"puppeteer": "^23.3.1"
},
"devDependencies": {
"@nuxt/devtools": "latest"
Expand Down
Loading

0 comments on commit 95f1678

Please sign in to comment.