- Repo for opensource odoo website theme (since V13.0)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

206 lines
9.4 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <!-- General Components, Layout -->
  4. <!-- ==== Headers ===== -->
  5. <template id="header_shadow" inherit_id="website.template_header_default" name="Cobalt Header Shadow">
  6. <xpath expr="//nav" position="attributes">
  7. <attribute name="class" remove="shadow-sm" separator=" "/>
  8. </xpath>
  9. </template>
  10. <template id="header_button" inherit_id="website.template_header_default_oe_structure_header_default_1" name="Cobalt Header Button">
  11. <xpath expr="//a[hasclass('btn')]" position="attributes">
  12. <attribute name="class" add="btn-secondary" remove="btn-primary" separator=" "/>
  13. </xpath>
  14. </template>
  15. <!-- Snippets -->
  16. <!-- ==== Image-Text ===== -->
  17. <template id="s_image_text" inherit_id="website.s_image_text" name="Cobalt s_image_text">
  18. <xpath expr="//section" position="attributes">
  19. <attribute name="class" add="pt152 pb128" remove="pt32 pb32" separator=" "/>
  20. <attribute name="data-oe-shape-data">{"shape":"web_editor/Blobs/03","colors":{"c2":"o-color-3"},"flip":[]}</attribute>
  21. </xpath>
  22. <xpath expr="//section/div" position="before">
  23. <div class="o_we_shape o_web_editor_Blobs_03" style="background-image: url(&quot;/web_editor/shape/web_editor/Blobs/03.svg?c2=%23F6F4F2&quot;);"/>
  24. </xpath>
  25. <xpath expr="//div[hasclass('col-lg-6')][2]" position="attributes">
  26. <attribute name="class" add="col-lg-5 offset-lg-1" remove="col-lg-6" separator=" "/>
  27. </xpath>
  28. <xpath expr="//h2" position="replace">
  29. <h1>Reach more People.<br/>Grow your Business.</h1><br/>
  30. </xpath>
  31. <xpath expr="//p" position="replace"/>
  32. <xpath expr="//p" position="replace"/>
  33. <xpath expr="//a[hasclass('btn')]" position="replace">
  34. <a href="#" class="btn btn-primary btn-lg mb-2">START NOW</a>
  35. </xpath>
  36. </template>
  37. <!-- ==== Text-Image ===== -->
  38. <template id="s_text_image" inherit_id="website.s_text_image" name="Cobalt s_text_image">
  39. <xpath expr="//section" position="attributes">
  40. <attribute name="class" add="pt80 pb88" remove="pt32 pb32" separator=" "/>
  41. </xpath>
  42. <xpath expr="//h2" position="replace">
  43. <h2>What we can do, <b>for you</b></h2>
  44. <br/>
  45. </xpath>
  46. <xpath expr="//p" position="replace"/>
  47. <xpath expr="//p" position="replace">
  48. <h5>Digital Transformation</h5>
  49. <p>Leader in digital business, we’re helping companies of all sizes to thrive in an ever-changing landscape.</p>
  50. <br/>
  51. <h5>Web &amp; App Development</h5>
  52. <p>We have collected solid experience in building native and cross-platform mobile applications and websites. Check our portfolio from clients around the world.</p>
  53. <br/>
  54. <h5>Marketing Promotion &amp; Strategy</h5>
  55. <p>We’ll build with you a clear promotion strategy. Thus, you’ll have an actionable plan to influence people about your business, generate more leads, and boost customer engagement.</p>
  56. <br/>
  57. </xpath>
  58. <xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
  59. <attribute name="class" add="col-lg-5" remove="col-lg-6" separator=" "/>
  60. </xpath>
  61. <xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
  62. <attribute name="class" add="col-lg-7" remove="col-lg-6" separator=" "/>
  63. </xpath>
  64. <xpath expr="//a[hasclass('btn')]" position="replace">
  65. <a href="#" class="btn btn-secondary btn-lg mb-2">DISCOVER MORE</a>
  66. </xpath>
  67. </template>
  68. <!-- ======== QUOTES ======== -->
  69. <template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel" name="Cobalt s_quotes_carousel">
  70. <!-- Assign slide3 as 'active' and move it in first position -->
  71. <xpath expr="//div[hasclass('carousel-inner')]/div" position="attributes">
  72. <attribute name="class" remove="active" separator=" "/>
  73. </xpath>
  74. <xpath expr="//div[hasclass('carousel-inner')]/div[3]" position="attributes">
  75. <attribute name="class" add="active" separator=" "/>
  76. </xpath>
  77. <xpath expr="//div[hasclass('carousel-inner')]/div" position="before">
  78. <xpath expr="//div[hasclass('carousel-inner')]/div[3]" position="move"/>
  79. </xpath>
  80. <!-- Adjust (new-)slide3 bg position -->
  81. <xpath expr="//div[hasclass('carousel-inner')]/div[3]" position="attributes">
  82. <attribute name="style" remove="background-position: 50% 50%;" add="background-position: 50% 20%;" separator=";"/>
  83. </xpath>
  84. </template>
  85. <!-- ==== References ===== -->
  86. <template id="s_references" inherit_id="website.s_references" name="Cobalt s_references">
  87. <xpath expr="//section" position="attributes">
  88. <attribute name="class" add="o_cc o_cc2" remove="pt48 pb32" separator=" "/>
  89. </xpath>
  90. <xpath expr="//h2" position="replace"/>
  91. <xpath expr="//p" position="replace"/>
  92. </template>
  93. <!-- ==== Three Columns ===== -->
  94. <template id="s_three_columns" inherit_id="website.s_three_columns" name="Cobalt s_three_columns">
  95. <xpath expr="//section" position="attributes">
  96. <attribute name="class" remove="bg-200 pt32 pb32" add="pt72 pb120" separator=" "/>
  97. <attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/01","colors":{"c2":"o-color-3"},"flip":["x"]}</attribute>
  98. </xpath>
  99. <xpath expr="//section/div" position="before">
  100. <div class="o_we_shape o_web_editor_Bold_01 o_we_flip_x" style="background-image: url(&quot;/web_editor/shape/web_editor/Bold/01.svg?c2=%23F6F4F2&quot;);"/>
  101. </xpath>
  102. <xpath expr="//div[hasclass('row')]" position="before">
  103. <h2 style="text-align: center;">Latest projects</h2>
  104. <p/>
  105. </xpath>
  106. <xpath expr="//div[hasclass('row')]/div/div" position="replace">
  107. <img class="d-block img-fluid figure-img rounded shadow-lg" src="/web/image/website.s_three_columns_default_image_1" alt="s_three_columns_1"/>
  108. <h5>Hey Balàzs!</h5>
  109. <p>This minimalist weather application was created to be multi-platform. It’s available for iPhone or Android phones.</p>
  110. <a href="#" class="btn btn-secondary mb-2">READ MORE</a>
  111. </xpath>
  112. <xpath expr="//div[hasclass('row')]/div[2]/div" position="replace">
  113. <img class="d-block img-fluid figure-img rounded shadow-lg" src="/web/image/website.s_three_columns_default_image_2" alt="s_three_columns_2"/>
  114. <h5>Frank Clothes eCommerce</h5>
  115. <p>We wanted to propose a friendly shopping experience for the fans of Frank Clothes. Read more how we developed it.</p>
  116. <a href="#" class="btn btn-secondary mb-2">READ MORE</a>
  117. </xpath>
  118. <xpath expr="//div[hasclass('row')]/div[3]/div" position="replace">
  119. <img class="d-block img-fluid figure-img rounded shadow-lg" src="/web/image/website.s_three_columns_default_image_3" alt="s_three_columns_3"/>
  120. <h5>Earthquake Monitor</h5>
  121. <p>We developed this application to help the population of Goma living under the threat of a volcano.Now it’s available for every area.</p>
  122. <a href="#" class="btn btn-secondary mb-2">READ MORE</a>
  123. </xpath>
  124. </template>
  125. <!-- ==== Call To Action ===== -->
  126. <template id="s_call_to_action" inherit_id="website.s_call_to_action" name="Cobalt s_call_to_action">
  127. <xpath expr="//a" position="replace">
  128. <a href="/contactus" class="btn btn-primary btn-lg mb-2">START NOW</a>
  129. </xpath>
  130. </template>
  131. <!-- ==== Picture ===== -->
  132. <template id="s_picture" inherit_id="website.s_picture" name="Cobalt s_picture">
  133. <xpath expr="//section" position="attributes">
  134. <attribute name="class" add="bg-o-color-3 pt72 overflow-hidden" remove="bg-200 pt48" separator=" "/>
  135. <attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/01","flip":["y"]}</attribute>
  136. </xpath>
  137. <xpath expr="//section/div" position="before">
  138. <div class="o_we_shape o_web_editor_Bold_01 o_we_flip_y"></div>
  139. </xpath>
  140. <xpath expr="//h2" position="replace"/>
  141. <xpath expr="//p" position="replace"/>
  142. <xpath expr="//p" position="replace"/>
  143. <xpath expr="//img" position="attributes">
  144. <attribute name="class" add="" remove="img-thumbnail padding-large" separator=" "/>
  145. </xpath>
  146. <xpath expr="//figcaption" position="replace">
  147. <figcaption class="text-400"><em>Our offices in Dhaka</em></figcaption>
  148. </xpath>
  149. <xpath expr="//div[hasclass('row')]/div" position="before">
  150. <div class="col col-lg-5">
  151. <h2>Our Offices</h2>
  152. <p/>
  153. <div class="row">
  154. <div class="col-6 pt24 bg-white-75">
  155. <h5>Dhaka</h5>
  156. <p>This is our headquarter. That’s where, we’re building the strategy of the company.</p>
  157. <br/>
  158. <h5>Calgary</h5>
  159. <p>Opened in 2011, this office holds the Sales team for Americas and is composed of 100 people.</p>
  160. </div>
  161. <div class="col-6 pt24 bg-white-75">
  162. <h5>Abu Dhabi</h5>
  163. <p>R&amp;D department. Where the magic happens. We’re recruiting devs, so contact us.</p>
  164. <br/>
  165. <h5>Hong Kong</h5>
  166. <p>Our first step in Asia, opened in 2020. Holds Sales and Services department.</p>
  167. </div>
  168. </div>
  169. </div>
  170. </xpath>
  171. <xpath expr="//div[hasclass('offset-lg-1')]" position="attributes">
  172. <attribute name="class" add="col-lg-6" remove="col-lg-10" separator=" "/>
  173. <attribute name="style" remove="text-align: center;" separator=";"/>
  174. </xpath>
  175. </template>
  176. </odoo>