Customising pages
Create your landing page with Gitlanding
Last updated
Create your landing page with Gitlanding
Last updated
Now, if the previous steps went smoothly, you can start modifying and of adding to the template code as befits your needs ! 🚀
If you wish to import files sush as webm or mp4 files in your project you must declare them as modules. Copy and paste the following example in the src/react-app-env.d.ts
file.
Host your assets by placing them . An then .
In this I create a new article in the Home
page that has an mp4 video along side it. I also added a section devider to seperate it from the article above. You will notice that I do not hard code the text directly inside the component, but I use a translation function that enables me to switch between English and French. See documentation to learn about the translation engine setup.
The components I used are: