Hello we are Alpes Capital and this is our landing page's front-end. We always try to keep it to the edge with new technologies and more versatile for the team, so they are able to modify it, without the webpage having performance issues.
The contents of this page are mostly static and use static rendering. Some elements are updated by NextJS in a defined time span (normally every week or month). Does not contain the blog, which is in a different repository.
React streaming is not on!
Download/clone this repo in whichever method you prefer. Access the folders root...
In both cases you must create a env.development file by creating a
.env.development
file containing
NEXT_PUBLIC_SITE_URL='http://localhost:3000'
yarn
or you may use npm if you will by running
npm i
Well, there are two ways to run the project, in production
mode or development
mode
-
Development
...just run
yarn dev
-
Production
...build time
yarn build:test
...runtime
yarn start
In both cases, in the end, a local server will be opened on port
3000
... so access in your browserhttp:///localhost:3000/
and you should be able to see the webpage :D
- Preact: javascript framework to create UI - version 10.6.4
- NextJS: React based web framework - version: 12.0.8-canary.12
- styled-component: CSS-in-JS framework for react - version: 5.3.3
- typescript: strong typing javascript based language - version: 4.4.4
other secondary dependencies and dev dependencies can be seen in the
package.json
file