|
15 | 15 | import Moustache from "$lib/Moustache.svelte"; |
16 | 16 |
|
17 | 17 | export let data: LayoutData; |
| 18 | +
|
| 19 | + import { t } from "$lib/translations"; |
18 | 20 | </script> |
19 | 21 |
|
20 | 22 | <MetaTags |
|
63 | 65 | tabindex="0" |
64 | 66 | class="menu menu-compact dropdown-content mt-3 p-2 shadow bg-base-100 rounded-box w-52" |
65 | 67 | > |
66 | | - <li><a href="/">Homepage</a></li> |
67 | | - <li><a href="/rail">Rail</a></li> |
68 | | - <li><a href="/ametaverse">Ametaverse</a></li> |
69 | | - <li><a href={ameDokoURL}>AmeDoko App</a></li> |
70 | | - <li><a href="/about">About</a></li> |
| 68 | + <li><a href="/">{$t("layout.header.menu.home")}</a></li> |
| 69 | + <li><a href="/rail">{$t("layout.header.menu.watsonrailways")}</a></li> |
| 70 | + <li><a href="/ametaverse">{$t("layout.header.menu.ametaverse")}</a></li> |
| 71 | + <li><a href={ameDokoURL}>{$t("layout.header.menu.amedoko")}</a></li> |
| 72 | + <li><a href="/about">{$t("layout.header.menu.about")}</a></li> |
71 | 73 | </ul> |
72 | 74 | </div> |
73 | 75 | </div> |
|
108 | 110 |
|
109 | 111 | <footer class="footer p-10 bg-neutral text-neutral-content"> |
110 | 112 | <div> |
111 | | - <span class="footer-title">Services</span> |
112 | | - <a class="link link-hover" href="/rail">Rail</a> |
113 | | - <a class="link link-hover" href="/ametaverse">Ametaverse</a> |
| 113 | + <span class="footer-title">{$t("layout.footer.services.header")}</span> |
| 114 | + <a class="link link-hover" href="/rail">{$t("layout.footer.services.watsonrailways")}</a> |
| 115 | + <a class="link link-hover" href="/ametaverse">{$t("layout.footer.services.ametaverse")}</a> |
| 116 | + <a class="link link-hover" href={ameDokoURL}>{$t("layout.footer.services.amedoko")}</a> |
114 | 117 | <!-- <a class="link link-hover" href="/construction" >Construction</a> --> |
115 | 118 | <!-- <a class="link link-hover" href="/nfat" >NFATs</a> --> |
116 | 119 | <!-- <a class="link link-hover" href="/ai" >AI</a> --> |
117 | | - <a class="link link-hover" href={watsonIndustriesGithubURL}>Apps</a> |
118 | 120 | </div> |
119 | 121 | <div> |
120 | | - <span class="footer-title">Company</span> |
121 | | - <a class="link link-hover" href="/about">About</a> |
| 122 | + <span class="footer-title">{$t("layout.footer.company.header")}</span> |
| 123 | + <a class="link link-hover" href="/about">{$t("layout.footer.company.about")}</a> |
122 | 124 | <!-- <a class="link link-hover" href="/contact" >Contact</a> --> |
123 | | - <a class="link link-hover" href="/credits">Credits</a> |
| 125 | + <a class="link link-hover" href="/credits">{$t("layout.footer.company.credits")}</a> |
| 126 | + <a class="link link-hover" href={watsonIndustriesGithubURL}>{$t("layout.footer.company.github")}</a> |
124 | 127 | </div> |
125 | 128 | <div> |
126 | | - <span class="footer-title">Legal</span> |
127 | | - <a class="link link-hover" href="/privacy">Privacy & Cookie policy</a> |
| 129 | + <span class="footer-title">{$t("layout.footer.legal.header")}</span> |
| 130 | + <a class="link link-hover" href="/privacy">{$t("layout.footer.legal.privacy")}</a> |
128 | 131 | </div> |
129 | 132 | </footer> |
0 commit comments