by erkken on 12/4/19, 10:35 AM with 62 comments
This landing page should be easily managed for updating content and also have multiple pages. What stack would you use for this today?
I want it to be SEO optimized.
I use Vue for the app but feels overkill for the landing page and also not ideal in terms of SEO. I don't feel like going the SPA+SSR way either.
Is wordpress still a good alternative?
Or maybe just a html+jquery site hosted at for example Firebase?
I don't expect to update it too much with news etc so a CMS is not required.
What would you do?
by tkainrad on 12/5/19, 10:35 AM
- easy SEO optimization, especially compared to SPA
- easy content management, GitOps
- fast, scales well
- free to host via various services (e.g. GitLab and GitHub)
Personally, I like Hugo. They have an amazing gallery of free templates: https://themes.gohugo.io/You might enjoy my blog post on how I host my personal website for free with Hugo and GitLab Pages: https://tkainrad.dev/posts/using-hugo-gitlab-pages-and-cloud...
by r_singh on 12/5/19, 10:38 AM
If you're not well versed with using Wordpress (like me) than there's 2 routes you can take:
Developer route: Use a static site generator. (not meant to be exhaustive)
- Gatsby: if you know React
- Hugo
- Jekyll: ruby
- simple HTML + CSS static website
Non Dev route: If you're not a developer, you could use one of the following paid tools:
- clickfunnels
- hubspot
- mailchimp
- leadpages
- unbounce
- and many more
If you're using a static site generator, it's really easy to host it on AWS Amplify Console for free.
Disclaimer: not associated with any of the above listing products
by ademcan on 12/5/19, 8:10 AM
by TKAB on 12/5/19, 10:17 AM
You have nice static HTML pages with a CDN, super fast, and there's even a CMS option with NetlifyCMS, which works by creating git commits for you and then automatically pushes the new static version on Netlify. The basics in Netlify are free and there are nice add-ons where some are also free (e.g. forms).
Check out the template list here: https://templates.netlify.com
by roosgit on 12/4/19, 12:12 PM
The structure was something like this:
- index.php
- header.php
- sidebar.php
- footer.php
- page-1.php
- page-2.php
...
In `header.php` I used variables for the title, description, etc. and then in each page I specified the values for those variables. This way each page had the same header HTML code, but with a different title, description and so on.by fastbeef on 12/4/19, 11:33 AM
by tiborsaas on 12/5/19, 10:23 AM
No, you just said you don't need a CMS.
I would hand edit the HTML and deploy it on Netlify with a Parcel build step, at least that's what I've done.
parcel build *.html --public-url https://your.page
> I want it to be SEO optimized.It's a complex problem, it all boils down the template you use. I usually hunt hours for free HTML/CSS templates then get mad about them and create one from scratch using some CSS framework :)
by martin_a on 12/5/19, 10:25 AM
by cdolan on 12/5/19, 10:02 PM
You can make simple landing pages, full sites, etc. All with as much or as little custom coding as you want.
It feels like what Squarespace sold me on back in 2011 for my first site... but it actually works, you can export the HTML if you want to self host, or use their backend. Great stuff
by leerob on 12/5/19, 4:15 AM
You mentioned you don't want to do SPA+SSR. With static pre-rendering from Next.js, there isn't a SPA. It's a fully static site.
You also mentioned having multiple pages. Rather than dealing with React Router or other SPA approaches, Next has a `/pages` directory where each file nested inside maps to a route. So `pages/about.js` is /about. It's similar to PHP in that regard.
If you don't need CMS, then you don't need Wordpress. For hosting, I would recommend Zeit's Now. They're also the creators of Next.js, so the tech pairs well together.
It's as simple as `npx create-next-app` to make the app and then `now` to deploy.
by woutr_be on 12/5/19, 10:40 AM
There's tons of themes available: https://www.jekyll-resources.com/
by zelly on 12/6/19, 7:11 AM
- Responsive design (important; you will get penalized otherwise)
- Minimal JavaScript (React still gets penalized)
- Metadata like image alt text, JSON-LD structured data, <meta>, and so on
This is the best you can do for SEO without external resources.
by otherlandlabs on 12/4/19, 11:34 AM
by saviorand on 12/5/19, 3:15 PM
1) you install Hugo following the guide from gohugo.io/getting-started/quick-start .
2) You download any theme from themes.gohugo.io and set them up with instructions on theme's page. For example, the theme I used is for wrenches.io is hyde-hyde .
3) You change general settings for the site and add content by adding and editing files in your website's folder.
That's it! I usually host on netlify and deploy from GitHub, so it also doesn't cost me anything except for domain.
Hugo themes also allow to make many different kinds of websites, and they are fairly easy to use. Another example of a website made the same way is justfindthis.com ; the theme for it is Highlights
by ciocarlia on 12/5/19, 12:15 PM
It enabled me to quickly implement the landing page with Vue and then build it as a static page that I deployed on Netlify. I found it easier and faster to set up than an SSR solution.
There's also a Vue-CLI version of the prerender plugin (https://www.npmjs.com/package/vue-cli-plugin-prerender-spa)
by laurentdc on 12/5/19, 11:44 AM
by codegeek on 12/5/19, 5:17 PM
This is the key point for me. Who will be managing/updating the content ? If it is users who are non technical, then you have limited options and you can go with something like WordPress. The reason is that if you use those static site generators which are awesome btw, the non tech. users will be limited. Not to mention they will have no WYSIWYG builders to work with.
So the answer is it depends. If the people making changes/updates are technical enough, static site builders are great. If not, then go with something like WordPress.
by afloatboat on 12/5/19, 11:38 AM
I'm currently converting a site from static HTML to Gatsby because I got tired of having to copy-paste changes to repeating elements between the different pages. The Vue/React component approach works really well in that regard. And you don't lose out on the static element, nor the SEO.
by ashpreetbedi on 12/5/19, 9:39 PM
The landing page links to: - The App at app.example.com - Docs at docs.example.com - Blog at blog.example.com
I have 0 front-end experience so this is an honest attempt at understanding why I should NOT be using the CRA for a landing page.
The landing page isn't doing much so its a very simple react app. But don't understand the implications on SEO
by thojest on 12/5/19, 11:42 AM
by lbrito on 12/5/19, 11:37 AM
by jacob_rezi on 12/5/19, 11:16 AM
We've used it to build Rezi - https://rezi.io
by stadeschuldt on 12/6/19, 9:20 AM
by nkristoffersen on 12/5/19, 10:13 AM
by Geee on 12/5/19, 11:13 AM
And hosting with Netlify maybe.
by raulgracia on 12/4/19, 2:13 PM
by jcoffland on 12/5/19, 10:21 AM
by amirathi on 12/5/19, 12:40 PM
by rorykoehler on 12/5/19, 11:12 AM
by pryelluw on 12/6/19, 5:37 AM
by Lucasoato on 12/5/19, 11:39 AM
by ufarooqi on 12/6/19, 1:02 AM
by kaushalk on 12/5/19, 12:20 PM
by te_chris on 12/5/19, 11:04 AM
by nadavram on 12/6/19, 9:55 AM
by elkynator on 12/5/19, 10:33 AM
by kaushalk on 12/5/19, 12:16 PM