_layouts/feature.html in appscms-tools-theme-0.3.0 vs _layouts/feature.html in appscms-tools-theme-0.3.1

- old
+ new

@@ -1,5 +1,10 @@ + +{% assign file = page.fileName %} +{% assign lang = page.lang %} +{% assign dataArr = site.data.feature[lang][file] %} +{% assign dataToShow = dataArr %} <!DOCTYPE html> <html lang="en" data-tool="landing"> {% include head/index.html %} <body> @@ -14,13 +19,13 @@ <path d="M6,6 L9,18 L6,30 L18,27 L30,30 L27,18 L30,6 L18,9 L6,6 Z M3,3 L18,6.75 L33,3 L29.25,18 L33,33 L18,29.25 L3,33 L6.75,18 L3,3 Z"> </path> </svg></div> </span> - <h1 class="sc-17y9jfw-2 lpnhkH">Compress PDF</h1> + <h1 class="sc-17y9jfw-2 lpnhkH">{{dataToShow.H1}}</h1> </div> - <h2 class="sc-17y9jfw-3 lpvDOQ">Reduce the size of your PDF online</h2> + <h2 class="sc-17y9jfw-3 lpvDOQ">{{dataToShow.H2}}</h2> </div> </div> </div> <!-- h1 and h2 End --> @@ -86,70 +91,39 @@ </div> </div> </div> <!-- Uploader End --> - <!-- Feature content start --> + <!-- Feature/Texual content start --> <div class="sc-1ttxsn1-0 fxCLCz"> <div class="sc-1ttxsn1-1 hvHwmD"> <div class="tie4x1-0 esoOLU"> - <div class="sc-7ukfwr-0 kmltsK"><img class="sc-7ukfwr-1 kmtPWT" src="/assets/bulb.svg" - alt="How to compress a PDF"> - <div class="sc-7ukfwr-2 kmCmBc">How to compress a PDF</div> - <div class="sc-7ukfwr-3 kmKJfl">Just drag-and-drop your PDF file in the box above, wait for the - compression to complete and download your file. It's that simple.</div> + {% for data in dataToShow.TEXTUAL_CONTENT %} + <div class="sc-7ukfwr-0 kmltsK"><img class="sc-7ukfwr-1 kmtPWT" src="{{data.logoUrl}}" + alt={{data.header}}> + <div class="sc-7ukfwr-2 kmCmBc">{{data.header}}</div> + <div class="sc-7ukfwr-3 kmKJfl">{{data.content}}</div> </div> - <div class="sc-7ukfwr-0 kmltsK"><img class="sc-7ukfwr-1 kmtPWT" src="/assets/guaranty.svg" - alt="Security guaranteed"> - <div class="sc-7ukfwr-2 kmCmBc">Security guaranteed</div> - <div class="sc-7ukfwr-3 kmKJfl">Your files will be permanently deleted from our server after one - hour. No one has access to your files and privacy is 100% guaranteed.</div> - </div> - <div class="sc-7ukfwr-0 kmltsK"><img class="sc-7ukfwr-1 kmtPWT" src="/assets/support.svg" - alt="All platforms supported"> - <div class="sc-7ukfwr-2 kmCmBc">All platforms supported</div> - <div class="sc-7ukfwr-3 kmKJfl">pdf.com is browser-based and works for all platforms. It doesn't - matter if you use Mac, Windows or Linux.</div> - </div> - <div class="sc-7ukfwr-0 kmltsK"><img class="sc-7ukfwr-1 kmtPWT" src="/assets/protect.svg" - alt="Perfect quality"> - <div class="sc-7ukfwr-2 kmCmBc">Perfect quality</div> - <div class="sc-7ukfwr-3 kmKJfl">Reduce your scanned PDF files to 144 dpi which is perfect for - uploading files to the web and through email.</div> - </div> - <div class="sc-7ukfwr-0 kmltsK"><img class="sc-7ukfwr-1 kmtPWT" src="/assets/easy.svg" - alt="Easy to use"> - <div class="sc-7ukfwr-2 kmCmBc">Easy to use</div> - <div class="sc-7ukfwr-3 kmKJfl">The file size limit is 5GB. Even with large PDFs, it will take a few - seconds for our compression tool to work its magic.</div> - </div> - <div class="sc-7ukfwr-0 kmltsK"><img class="sc-7ukfwr-1 kmtPWT" src="/assets/cloud.svg" - alt="In the cloud"> - <div class="sc-7ukfwr-2 kmCmBc">In the cloud</div> - <div class="sc-7ukfwr-3 kmKJfl">All the file compressing takes place in the cloud and will not - consume any capacity from your own computer.</div> - </div> + {% endfor %} </div> </div> </div> - <!-- Feature content End --> + <!-- Feature/Texual content End --> <!-- How to section start --> <div style="display:flex" id="__cond-1011327"> <div class="sc-1xhbmbb-0 gBHowc"> <div class="sc-1ttxsn1-0 fxCLCz"> <div class="sc-1ttxsn1-1 hvHwmD"> <div class="sc-1xhbmbb-1 gBPLal"> - <div class="sc-1xhbmbb-3 gCgEiD"><img class="sc-1xhbmbb-4 gCpaMM" src="/assets/pdf.svg" + <div class="sc-1xhbmbb-3 gCgEiD"><img class="sc-1xhbmbb-4 gCpaMM" src="{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}" alt="How to reduce a PDF size online:"></div> <div class="sc-1xhbmbb-5 gCxxqV"> - <h3 class="sc-1xhbmbb-2 gBYhEu">How to reduce a PDF size online:</h3> + <h3 class="sc-1xhbmbb-2 gBYhEu">{{dataToShow.HOW_TO_CONTENT.heading}}</h3> <ol class="sc-1xhbmbb-6 gCFTVe"> - <li class="sc-1xhbmbb-7 gCOqzn">To start, upload your file to our PDF compressor.</li> - <li class="sc-1xhbmbb-7 gCOqzn">Our tool will automatically start to shrink the file. - </li> - <li class="sc-1xhbmbb-7 gCOqzn">Continue to modify your PDF document if needed.</li> - <li class="sc-1xhbmbb-7 gCOqzn">Download the compressed PDF file to your computer.</li> + {% for data in dataToShow.HOW_TO_CONTENT.steps %} + <li class="sc-1xhbmbb-7 gCOqzn">{{data}}</li> + {% endfor %} </ol> </div> </div> </div> </div> @@ -159,172 +133,21 @@ <!-- FAQ section start --> <div class="faq"> <div class="faq-container"> <h2 class="lpnhkH">Frequently Asked Questions</h2> <ul class="faq-list"> + {% for data in dataToShow.FAQ %} <li> - <h3 class="kmCmBc-q" itemprop="name">Is the JBVD java decompiler better than JD java decompiler?<em + <h3 class="kmCmBc-q" itemprop="name">{{data.question}}<em style="transform: rotate(-135deg);"> <i></i></em> </h3> <div style="display: block;"> - <p class="kmKJfl-p" itemprop="text">Both JBVD and JD are excellent Java decompilers. Even though - they both have quite similar features; JD is available for Windows, Mac and Linux too - whereas JBVD is strictly for windows. So, as per your needs you should choose what's best - for you.</p> + <p class="kmKJfl-p" itemprop="text">{{data.answer}}</p> </div> </li> <hr> - <li> - <h3 class="kmCmBc-q" itemprop="name">Does DJ Java decompiler have more errors than JD Java - decompiler?<em style="transform: rotate(-135deg);"> - <i></i></em> - </h3> - <div style="display: block;"> - <p class="kmKJfl-p" itemprop="text">Actually DJ Java decompiler have significantly less syntax - errors in the reconstructed code than the JD Java decompiler; so the myth of errors with DJ - Java decompiler is completely false.</p> - </div> - </li> - <hr> - <li> - <h3 class="kmCmBc-q" itemprop="name">Is Cavaj available for Mac and Linux?<em - style="transform: rotate(-135deg);"> - <i></i></em> - </h3> - <div style="display: block;"> - <p class="kmKJfl-p" itemprop="text">No, unfortunately Cavaj is currently not available for Mac - and Linux Operating systems and is strictly a Windows Java decompiler.</p> - </div> - </li> - <hr> - <li> - <h3 class="kmCmBc-q" itemprop="name">Does JD-GUI support color coded Java codes?<em - style="transform: rotate(-135deg);"> - <i></i></em> - </h3> - <div style="display: block;"> - <p class="kmKJfl-p" itemprop="text">Yes, JD-GUI supports and displays color coded Java source - codes.</p> - </div> - </li> - <hr> - <li> - <h3 class="kmCmBc-q" itemprop="name">What type of files does JD-GUI support?<em - style="transform: rotate(-135deg);"> - <i></i></em> - </h3> - <div style="display: block;"> - <p class="kmKJfl-p" itemprop="text">You will be glad to know that JD-GUI supports many file - formats. Currently JD-GUI supports CLASS, JAR, WAR, EAR, AAR, KAR, JMOD &amp; ZIP file - types.</p> - </div> - </li> - <hr> - <li> - <h3 class="kmCmBc-q" itemprop="name">Which compilers with which JD-Core can work ?<em - style="transform: rotate(-135deg);"> - <i></i></em> - </h3> - <div style="display: block;"> - <p class="kmKJfl-p" itemprop="text">JD-Core library can work with following compilers : JDK - 1.1.8, JDK 1.3.1, JDK 1.4.2, JDK 1.5.0, JDK 1.6.0, JDK 1.7.0, JDK 1.8.0, JDK 9.0.1, JDK - 10.0.2 jrockit90_150_06 jikes-1.22 harmony-jdk-r533500 Eclipse Java Compiler v_677_R32x, - 3.2.1 release.</p> - </div> - </li> - <hr> - <li> - <h3 class="kmCmBc-q" itemprop="name">Which are the open source Java decompiler projects?<em - style="transform: rotate(-135deg);"> - <i></i></em> - </h3> - <div style="display: block;"> - <p class="kmKJfl-p" itemprop="text">There are a total 3 open source Java decompiler projects. - They are JD-Core, JD-GUI &amp; JD-Eclipse; known as the open source projects released under - the GPLv3 License by Java. From which, JD-Core and JD-GUI are written in Java.</p> - </div> - </li> - <hr> - <li> - <h3 class="kmCmBc-q" itemprop="name">What is the JD-Core library?<em - style="transform: rotate(-135deg);"> - <i></i></em> - </h3> - <div style="display: block;"> - <p class="kmKJfl-p" itemprop="text">JD-Core is a library that reconstructs Java source code from - one or more ".class" files. JD-Core may be used to recover lost source code and explore the - source of Java runtime libraries. New features of Java 5, such as annotations, generics or - type "enum", are supported. JD-GUI and JD-Eclipse include JD-Core library.</p> - </div> - </li> - <hr> - <li> - <h3 class="kmCmBc-q" itemprop="name">Is there any plugin for Eclipse format by Java?<em - style="transform: rotate(-135deg);"> - <i></i></em> - </h3> - <div style="display: block;"> - <p class="kmKJfl-p" itemprop="text">Yes, there is an open source plugin by Java known as - JD-Eclipse. JD-Eclipse is a plug-in for the Eclipse platform. It allows you to display all - the Java sources during your debugging process, even if you do not have them all.</p> - </div> - </li> - <hr> - <li> - <h3 class="kmCmBc-q" itemprop="name">How to instantly access methods and fields of reconstructed - source code in JD project (JD-GUI)?<em style="transform: rotate(-135deg);"> - <i></i></em> - </h3> - <div style="display: block;"> - <p class="kmKJfl-p" itemprop="text">There is a simple way for that, You can browse the - reconstructed source code with the JD-GUI for instant access to methods and fields.</p> - </div> - </li> - <hr> - <li> - <h3 class="kmCmBc-q" itemprop="name">Which version of windows is supported by Appscms' Java - Decompiler ?<em style="transform: rotate(-135deg);"> - <i></i></em> - </h3> - <div style="display: block;"> - <p class="kmKJfl-p" itemprop="text">Appscms Java decompiler supports all versions of Windows - including Windows 7, Windows 8, Windows 10</p> - </div> - </li> - <hr> - <li> - <h3 class="kmCmBc-q" itemprop="name">Can I decompile class files without losing quality ?<em - style="transform: rotate(-135deg);"> - <i></i></em> - </h3> - <div style="display: block;"> - <p class="kmKJfl-p" itemprop="text">Yes. We use most sophisticated best in class algorithms for - decompilation, and provide highest quality of output for decompilation.</p> - </div> - </li> - <hr> - <li> - <h3 class="kmCmBc-q" itemprop="name">How can I use Java decompiler for free ?<em - style="transform: rotate(-135deg);"> - <i></i></em> - </h3> - <div style="display: block;"> - <p class="kmKJfl-p" itemprop="text">You can use Appscms' Java decompiler online for free.</p> - </div> - </li> - <hr> - <li> - <h3 class="kmCmBc-q" itemprop="name">Which versions of Java are supported by this decompiler ?<em - style="transform: rotate(-135deg);"> - <i></i></em> - </h3> - <div style="display: block;"> - <p class="kmKJfl-p" itemprop="text">All versions of Java are supported by Appscms's decompiler. - </p> - </div> - </li> - <hr> + {% endfor %} </ul> </div> </div> <!-- FAQ section End --> <!-- Footer --> \ No newline at end of file