Skip to content

Commit b2bebb2

Browse files
chore(deps): upgrade to @nuxt/ui v4 (#175)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
1 parent bf220c8 commit b2bebb2

File tree

12 files changed

+262
-272
lines changed

12 files changed

+262
-272
lines changed

.env.example

Lines changed: 0 additions & 2 deletions
This file was deleted.

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
# Nuxt Landing Template
22

3-
[![Nuxt UI Pro](https://img.shields.io/badge/Made%20with-Nuxt%20UI%20Pro-00DC82?logo=nuxt&labelColor=020420)](https://ui.nuxt.com/pro)
4-
[![Deploy to NuxtHub](https://img.shields.io/badge/Deploy%20to-NuxtHub-00DC82?logo=nuxt&labelColor=020420)](https://hub.nuxt.com/new?repo=nuxt-ui-pro/landing)
3+
[![Nuxt UI](https://img.shields.io/badge/Made%20with-Nuxt%20UI-00DC82?logo=nuxt&labelColor=020420)](https://ui.nuxt.com)
54

6-
This template lets you build a landing page with [Nuxt UI Pro](https://ui.nuxt.com/pro) quickly.
5+
Use this template to build your own landing page with [Nuxt UI](https://ui.nuxt.com) quickly.
76

87
- [Live demo](https://landing-template.nuxt.dev/)
9-
- [Documentation](https://ui.nuxt.com/getting-started/installation/pro/nuxt)
8+
- [Documentation](https://ui.nuxt.com/getting-started/installation/nuxt)
109

1110
<a href="https://landing-template.nuxt.dev/" target="_blank">
1211
<picture>
13-
<source media="(prefers-color-scheme: dark)" srcset="https://assets.hub.nuxt.com/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2xhbmRpbmctdGVtcGxhdGUubnV4dC5kZXYiLCJpYXQiOjE3Mzk0NjMzNzV9.ja2nUDVOoIFvyaMmg9Jn51uNMoYYt4WA1KWUQBWwUPo.jpg?theme=dark">
14-
<source media="(prefers-color-scheme: light)" srcset="https://assets.hub.nuxt.com/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2xhbmRpbmctdGVtcGxhdGUubnV4dC5kZXYiLCJpYXQiOjE3Mzk0NjMzNzV9.ja2nUDVOoIFvyaMmg9Jn51uNMoYYt4WA1KWUQBWwUPo.jpg?theme=light">
15-
<img alt="Nuxt Landing Template" src="https://assets.hub.nuxt.com/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2xhbmRpbmctdGVtcGxhdGUubnV4dC5kZXYiLCJpYXQiOjE3Mzk0NjMzNzV9.ja2nUDVOoIFvyaMmg9Jn51uNMoYYt4WA1KWUQBWwUPo.jpg">
12+
<source media="(prefers-color-scheme: dark)" srcset="https://ui4.nuxt.com/assets/templates/nuxt/landing-dark.png">
13+
<source media="(prefers-color-scheme: light)" srcset="https://ui4.nuxt.com/assets/templates/nuxt/landing-light.png">
14+
<img alt="Nuxt Landing Template" src="https://ui4.nuxt.com/assets/templates/nuxt/landing-light.png">
1615
</picture>
1716
</a>
1817

1918
## Quick Start
2019

2120
```bash [Terminal]
22-
npx nuxi init -t github:nuxt-ui-pro/landing
21+
npx nuxi init -t github:nuxt-ui-templates/landing
2322
```
2423

2524
## Setup

app/app.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ const appear = ref(false)
2020
const appeared = ref(false)
2121
2222
useSeoMeta({
23-
ogImage: 'https://assets.hub.nuxt.com/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2xhbmRpbmctdGVtcGxhdGUubnV4dC5kZXYiLCJpYXQiOjE3Mzk0NjMzNzV9.ja2nUDVOoIFvyaMmg9Jn51uNMoYYt4WA1KWUQBWwUPo.jpg?theme=light',
24-
twitterImage: 'https://assets.hub.nuxt.com/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2xhbmRpbmctdGVtcGxhdGUubnV4dC5kZXYiLCJpYXQiOjE3Mzk0NjMzNzV9.ja2nUDVOoIFvyaMmg9Jn51uNMoYYt4WA1KWUQBWwUPo.jpg?theme=light',
23+
ogImage: 'https://ui4.nuxt.com/assets/templates/nuxt/landing-light.png',
24+
twitterImage: 'https://ui4.nuxt.com/assets/templates/nuxt/landing-light.png',
2525
twitterCard: 'summary_large_image'
2626
})
2727

app/assets/css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import "tailwindcss";
2-
@import "@nuxt/ui-pro";
2+
@import "@nuxt/ui";
33

44
@source "../../../content/**/*";
55

app/components/AppFooter.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,29 +89,29 @@ function onSubmit() {
8989

9090
<template #left>
9191
<p class="text-sm text-muted">
92-
Copyright © {{ new Date().getFullYear() }}. All rights reserved.
92+
Built with Nuxt UI • © {{ new Date().getFullYear() }}
9393
</p>
9494
</template>
9595

9696
<template #right>
9797
<UButton
98-
to="#"
98+
to="https://go.nuxt.com/discord"
9999
target="_blank"
100100
icon="i-simple-icons-discord"
101101
aria-label="Discord"
102102
color="neutral"
103103
variant="ghost"
104104
/>
105105
<UButton
106-
to="#"
106+
to="https://go.nuxt.com/x"
107107
target="_blank"
108108
icon="i-simple-icons-x"
109109
aria-label="X"
110110
color="neutral"
111111
variant="ghost"
112112
/>
113113
<UButton
114-
to="https://github.com/nuxt-ui-pro/landing"
114+
to="https://github.com/nuxt-ui-templates/landing"
115115
target="_blank"
116116
icon="i-simple-icons-github"
117117
aria-label="GitHub"

app/components/AppHeader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ nuxtApp.hooks.hookOnce('page:finish', () => {
2929
<UHeader>
3030
<template #left>
3131
<NuxtLink to="/">
32-
<LogoPro class="w-auto h-6 shrink-0" />
32+
<AppLogo class="w-auto h-6 shrink-0" />
3333
</NuxtLink>
3434

3535
<TemplateMenu />

app/components/LogoPro.vue renamed to app/components/AppLogo.vue

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<template>
22
<svg
3-
width="1352"
3+
width="1020"
44
height="200"
5-
viewBox="0 0 1352 200"
5+
viewBox="0 0 1020 200"
66
fill="none"
77
xmlns="http://www.w3.org/2000/svg"
88
>
@@ -28,24 +28,12 @@
2828
/>
2929
<path
3030
d="M958 60.0001H938C933.524 60.0001 929.926 59.9395 927 63C924.074 65.8905 925 67.5792 925 72V141C925 151.372 923.648 156.899 919 162C914.352 166.931 908.468 169 899 169C889.705 169 882.648 166.931 878 162C873.352 156.899 873 151.372 873 141V72.0001C873 67.5793 872.926 65.8906 870 63.0001C867.074 59.9396 863.476 60.0001 859 60.0001H840V141C840 159.023 845.016 173.458 855 184C865.156 194.542 879.893 200 899 200C918.107 200 932.844 194.542 943 184C953.156 173.458 958 159.023 958 141V60.0001Z"
31-
fill="currentColor"
31+
fill="var(--ui-primary)"
3232
/>
3333
<path
3434
fill-rule="evenodd"
3535
clip-rule="evenodd"
3636
d="M1000 60.0233L1020 60V77L1020 128V156.007L1020 181L1020 189.004C1020 192.938 1019.98 194.429 1017 197.001C1014.02 199.725 1009.56 200 1005 200H986.001V181.006L986 130.012V70.0215C986 66.1576 986.016 64.5494 989 62.023C991.819 59.6358 995.437 60.0233 1000 60.0233Z"
37-
fill="currentColor"
38-
/>
39-
<path
40-
d="M1060 200V60H1117C1126.67 60 1134.98 61.2896 1142 65C1149.16 68.7104 1155.29 74.3744 1159 81C1162.71 87.6256 1164 95.3867 1164 104C1164 112.481 1162.71 120.374 1159 127C1155.29 133.626 1149.16 138.157 1142 142C1134.98 145.71 1126.67 148 1117 148H1090V200H1060ZM1115 123C1121.63 123 1126.69 121.578 1130 118C1133.31 114.29 1135 109.433 1135 104C1135 98.567 1133.31 93.5778 1130 90C1126.69 86.2896 1121.63 85 1115 85H1090V123H1115Z"
41-
fill="var(--ui-primary)"
42-
/>
43-
<path
44-
d="M1226 123C1219.37 123 1214.31 124.965 1211 130C1207.69 135.035 1206 142.122 1206 151V200H1178V100H1200C1203.31 100 1206 102.686 1206 106V116C1208.65 109.904 1211.16 106.518 1215 104C1218.98 101.482 1224.77 100 1231 100H1242V123H1226Z"
45-
fill="var(--ui-primary)"
46-
/>
47-
<path
48-
d="M1299 200C1288.93 200 1280.08 197.373 1272 193C1263.92 188.495 1257.51 182.818 1253 175C1248.49 167.049 1246 157.806 1246 148C1246 138.194 1248.49 129.818 1253 122C1257.51 114.049 1263.92 107.373 1272 103C1280.08 98.4946 1288.93 97 1299 97C1309.07 97 1318.92 98.4946 1327 103C1335.08 107.373 1340.49 114.049 1345 122C1349.51 129.818 1352 138.194 1352 148C1352 157.806 1349.51 167.049 1345 175C1340.49 182.818 1335.08 188.495 1327 193C1318.92 197.373 1309.07 200 1299 200ZM1299 176C1306.42 176 1312.36 173.168 1317 168C1321.64 162.832 1324 156.216 1324 148C1324 139.652 1321.64 133.168 1317 128C1312.36 122.832 1306.42 120 1299 120C1291.58 120 1285.64 122.832 1281 128C1276.36 133.168 1274 139.652 1274 148C1274 156.216 1276.36 162.832 1281 168C1285.64 173.168 1291.58 176 1299 176Z"
4937
fill="var(--ui-primary)"
5038
/>
5139
</svg>

app/components/TemplateMenu.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:modal="false"
55
:items="[{
66
label: 'Starter',
7-
to: 'https://ui-pro-starter.nuxt.dev/'
7+
to: 'https://starter-template.nuxt.dev/'
88
}, {
99
label: 'Landing',
1010
to: 'https://landing-template.nuxt.dev/',
@@ -23,6 +23,9 @@
2323
}, {
2424
label: 'Chat',
2525
to: 'https://chat-template.nuxt.dev/'
26+
}, {
27+
label: 'Portfolio',
28+
to: 'https://portfolio-template.nuxt.dev/'
2629
}]"
2730
:ui="{ content: 'w-(--reka-dropdown-menu-trigger-width) min-w-0' }"
2831
size="xs"

content/index.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
seo:
22
title: Nuxt Landing Template
33
description: Boost your coding productivity with AI-driven insights that tell you when and how to code most efficiently.
4-
title: Build your landing with [Nuxt UI Pro]{.text-primary}
4+
title: AI-Powered Developer Productivity Platform
55
description: Boost your coding productivity with AI-driven insights that tell you when and how to code most efficiently.
66
hero:
77
links:
8-
- label: Getting Started
8+
- label: Get started
99
icon: i-lucide-arrow-right
1010
trailing: true
11-
variant: subtle
12-
to: https://ui.nuxt.com/getting-started/installation/pro/nuxt
11+
color: primary
12+
to: https://ui.nuxt.com/getting-started/installation/nuxt
1313
target: _blank
1414
size: xl
1515
- label: Clone on GitHub
1616
icon: i-simple-icons-github
1717
size: xl
1818
color: neutral
19-
variant: ghost
20-
to: https://github.com/nuxt-ui-pro/landing
19+
variant: outline
20+
to: https://github.com/nuxt-ui-templates/landing
2121
target: _blank
2222
section:
2323
title: '[Revolutionize]{.text-primary} your coding experience'
@@ -127,35 +127,35 @@ testimonials:
127127
items:
128128
- quote: Since using this tool, my productivity has doubled. The AI insights helped me find my perfect coding rhythm and now I ship features twice as fast.
129129
user:
130-
name: 'Sarah Doe'
131-
description: 'Full Stack Developer'
130+
name: 'Sarah Moriceau'
131+
description: 'Brand Designer'
132132
target: _blank
133133
avatar:
134134
src: 'https://ipx.nuxt.com/f_auto,s_192x192/gh_avatar/SarahM19'
135135
- quote: Game-changer for our team. The focus tracking and smart alerts helped us reduce meeting interruptions by 40% and increased our sprint velocity.
136136
user:
137-
name: 'Sébastien Doe'
137+
name: 'Sébastien Chopin'
138138
description: 'Lead Software Engineer'
139139
target: _blank
140140
avatar:
141141
src: 'https://ipx.nuxt.com/f_auto,s_192x192/gh_avatar/atinux'
142142
- quote: Finally, a productivity tool that understands developers. The AI features helped me identify my peak coding hours and now I accomplish more in less time.
143143
user:
144-
name: 'Benjamin Doe'
144+
name: 'Benjamin Canac'
145145
description: 'Senior Frontend Developer'
146146
target: _blank
147147
avatar:
148148
src: 'https://ipx.nuxt.com/f_auto,s_192x192/gh_avatar/benjamincanac'
149149
cta:
150-
title: Build your landing page with [Nuxt UI Pro]{.text-primary}
151-
description: Nuxt UI Pro is free in development, but you need a license to use it in production.
150+
title: Ready to build your next Nuxt app?
151+
description: Join thousands of developers building with Nuxt and Nuxt UI. Get this template and start shipping today.
152152
links:
153-
- label: Buy now
154-
to: 'https://ui.nuxt.com/pro/purchase'
153+
- label: Start building
154+
to: 'https://ui.nuxt.com/getting-started/installation/nuxt'
155155
target: _blank
156-
icon: i-lucide-shopping-cart
157-
- label: License
158-
to: 'https://ui.nuxt.com/getting-started/license'
159-
trailingIcon: i-lucide-circle-help
156+
trailingIcon: i-lucide-arrow-right
157+
- label: View on GitHub
158+
to: 'https://github.com/nuxt-ui-templates/landing'
160159
target: _blank
161160
variant: subtle
161+
icon: i-simple-icons-github

nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export default defineNuxtConfig({
33
modules: [
44
'@nuxt/eslint',
55
'@nuxt/image',
6-
'@nuxt/ui-pro',
6+
'@nuxt/ui',
77
'@nuxt/content'
88
],
99

0 commit comments

Comments
 (0)