The requirement docs will be given from Digital marketing team for the task
For Example: We need to create a new page for efile2290tax and the URL is https://www.expresstrucktax.com/hvut/efile2290tax/
Navigate to the homesite project Views → en-us → form 2290 ( as the requirement is related to 2290) → duplicate the file related to 2290 in the same folder as efile2290tax.
Repeat the same procedure for AMP Views → en-us → AMP → form 2290 ( as the requirement is related to 2290) → duplicate the file related to 2290 in the same folder efile2290tax.
Navigate to the form2290controller (control name will be same as folder) “ETT.Homesite → Controllers → form2290Controller.cs”
Need to add route and folder for the file tax
To trigger AMP in mobile we need to add amp file in ViewEngine “ETT.Homesite → ViewEngine →LocalizedRazorViewEngine.cs” find the the command “CheckIsAMPPage”
Inside “CheckIsAmp” command add a line to trigger the amp in mobile view (Applicable only for AMP pages)
Clean and rebuild the project
Once the clean and rebuild is successful
Run the URL in the browser with the respective URL
Also need to ensure that the AMP html is loaded when site is runned in mobile view and its should have a ⚡ in the HTML tag.
Inspect to the developer tools and change responsive to any of the phones that is less than 767px
We can proceed with changes given for new page design.
Want to print your doc? This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (