If you want to make your theme compatible with AMP like the same design in AMP then you need to follow this tutorial.
Create a folder with the name “ampforwp” in your theme which you are currently using.
e.g: if you are using Twenty Seventeen theme then you have to create “ampforwp” folder in the twenty seventeen theme folder
The directory will look like
Add the file which you want to override in this folder.
For example: If you want to override index.php that is your homepage then you need to add your index.php in this folder and it will override the index.php of your AMP version.
Similarly, you can override all files like single, archive etc according to your needs.
That’s it for this tutorial!
We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.