Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
docs: add back the newsletter (#10032)
Browse files Browse the repository at this point in the history
* docs: add newsletter sections

* chore: update

* chore: add newsletter page

* chore: bump version of theme

* chore: update theme

* chore: up

* chore(docs): update to edge nuxt/nitropack

Co-authored-by: Daniel Roe <daniel@roe.dev>
  • Loading branch information
atinux and danielroe committed Jan 11, 2023
1 parent 698a310 commit 104bcbd
Show file tree
Hide file tree
Showing 6 changed files with 901 additions and 323 deletions.
4 changes: 4 additions & 0 deletions docs/.env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Local version of the website theme
WEBSITE_THEME=/my/path/to/website-theme

NUXT_SENDGRID_API_KEY=
NUXT_SENDGRID_LIST_ID=

NUXT_OPEN_COLLECTIVE_API_KEY=

NUXT_GITHUB_TOKEN=
16 changes: 13 additions & 3 deletions docs/content/0.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ Nuxt is composed of web builders all over the world who like to craft beautiful
titleClass: 'text-5xl font-semibold u-text-gray-900'
---
#title
56M
60M
#description
npm downloads
:::
Expand All @@ -251,7 +251,7 @@ Nuxt is composed of web builders all over the world who like to craft beautiful
titleClass: 'text-5xl font-semibold u-text-gray-900'
---
#title
55k
60k
#description
GitHub stars
:::
Expand All @@ -262,12 +262,22 @@ Nuxt is composed of web builders all over the world who like to craft beautiful
titleClass: 'text-5xl font-semibold u-text-gray-900'
---
#title
76k
78k
#description
Twitter followers
:::
::

::home-section
#title
The Nuxt Newsletter
#description
Get the latest releases and news about Nuxt and its ecosystem with our newsletter.
#extra
:newsletter-form{.pt-6}
::


::home-section
---
buttons:
Expand Down
39 changes: 14 additions & 25 deletions docs/content/1.docs/5.community/1.nuxt-community.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ image:
Nuxt Community
#description
Nuxt would not be what it is today without its community of maintainers, contributors and users.
#extra
:newsletter-form
::

::community-section
Expand Down Expand Up @@ -50,7 +52,7 @@ The development of Nuxt and its ecosystem is led by an international team. Our c
backgroundClass: 'bg-transparent'
---
#title
50M
60M
#description
npm downloads
:::
Expand All @@ -65,7 +67,7 @@ The development of Nuxt and its ecosystem is led by an international team. Our c
backgroundClass: 'bg-transparent'
---
#title
10,6K
75K
#description
Stars
:::
Expand Down Expand Up @@ -95,7 +97,7 @@ The development of Nuxt and its ecosystem is led by an international team. Our c
backgroundClass: 'bg-transparent'
---
#title
998
1K
#description
Forks
:::
Expand All @@ -109,28 +111,15 @@ From users to [Contributors]{.text-transparent .bg-clip-text .bg-gradient-to-r .
#description
From contributors to advocates, the community is made of members with different horizons and skills. We are happy to see new members every day and encourage anyone to help in any way (answering questions, giving a talk, creating modules and contributing to the core).
#extra
::contributors-card
#title
Sharing is caring
::contributors-card-item
#numbers
1.
#description
Hundreds of conferences, meetups and workshop all around the world since the creation of Nuxt.
::
::contributors-card-item
#numbers
2.
#description
An active contribution on the framework but also on the different Nuxt open source projects: bug fixes, pull requests...
::
::contributors-card-item
#numbers
3.
#description
A lovely and precious help to teach you, help you and nuxtify the world.
::
::
::contributors-card
#title
Sharing is caring
#default
1. Hundreds of conferences, meetups and workshop all around the world since the creation of Nuxt.
2. An active contribution on the framework but also on the different Nuxt open source projects: bug fixes, pull requests...
3. A lovely and precious help to teach you, help you and nuxtify the world.
::
::


::community-section
Expand Down
35 changes: 35 additions & 0 deletions docs/content/newsletter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: Nuxt Newsletter
description: 'Get the latest releases and news about Nuxt and its ecosystem with our newsletter.'
navigation: false
---

::home-section
#title
The Nuxt Newsletter
#description
Get the latest releases and news about Nuxt and its ecosystem with our newsletter.
#extra
:newsletter-form{.pt-6}
::

:::home-section{ .mb-20 }
---
sectionAlign: 'row'
buttons:
- label: 'Get started'
size: 'xl'
variant: 'primary-gradient'
to: '/docs/getting-started/introduction'
- label: 'Explore Examples'
size: 'xl'
variant: 'secondary'
to: '/docs/examples/essentials/hello-world'
---
#sectionTitle
GETTING STARTED
#title
Start your Nuxt Journey
#description
Learn everything you need to know, from beginner to master.
:::
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"devDependencies": {
"jiti": "^1.16.2",
"nuxt": "^3.0.0",
"nuxt": "npm:nuxt3@latest",
"nuxt-website-theme": "^0.3.3",
"pathe": "^1.0.0",
"scule": "^1.0.0",
Expand Down
Loading

0 comments on commit 104bcbd

Please sign in to comment.