|
1 | | -<div class="lang-block is" lang="is"> |
2 | | - |
3 | | -# HiDef Textíll |
4 | | - |
5 | | -Velkomin á opinbera vefinn fyrir **HiDef Textíll** – snjallprjón, rannsóknahugbúnað og miðlun til almennings. |
6 | | - |
7 | | -Þetta verkefni sameinar: |
8 | | -- sjálfbærni |
9 | | -- tækni og hátækni-prjóna |
10 | | -- íslenskan menningararf |
11 | | -- þverfaglegt samstarf við HÍ, LHÍ og fleiri samstarfsaðila |
12 | | - |
13 | | -## Um vefsíðuna |
14 | | -Þetta er tvítyngdur vefur. Sjálfgefið er sýnd Íslenska, en hægt er að skipta yfir í Ensku efst á síðunni. |
15 | | - |
16 | | -## Hvað er framundan? |
17 | | -- Kynning á Hönnunarmars 2026 |
18 | | -- Opin vinnustofa í Hönnunarsafni Íslands sumarið 2026 |
19 | | - |
20 | | ---- |
21 | | - |
22 | | -</div> |
23 | | - |
24 | | - |
25 | | - |
26 | | -<div class="lang-block en" lang="en"> |
27 | | - |
28 | | -# HiDef Textíll |
29 | | - |
30 | | -Welcome to the official website for **HiDef Textíll** – smart knitting, research software, and public engagement. |
31 | | - |
32 | | -This project connects: |
33 | | -- sustainability |
34 | | -- textile technology and machine knitting |
35 | | -- Icelandic cultural heritage |
36 | | -- interdisciplinary collaboration between UI, IUA, and partners |
37 | | - |
38 | | -## About this site |
39 | | -This is a bilingual website. Icelandic is shown by default, but you can switch to English using the toggle at the top of the page. |
40 | | - |
41 | | -## What's coming? |
42 | | -- Exhibition at DesignMarch 2026 |
43 | | -- Open studio at the Museum of Design and Applied Art in summer 2026 |
44 | | - |
45 | | ---- |
46 | | - |
47 | | -</div> |
| 1 | +<script> |
| 2 | + // Redirect to Icelandic home by default, respect saved preference |
| 3 | + (function(){ |
| 4 | + try{ |
| 5 | + const pref = localStorage.getItem('preferred_lang'); |
| 6 | + const target = pref === 'en' ? '/en/' : '/is/'; |
| 7 | + location.replace(target); |
| 8 | + }catch(e){ |
| 9 | + // ignore |
| 10 | + } |
| 11 | + })(); |
| 12 | +</script> |
| 13 | + |
| 14 | +# Welcome / Velkomin |
| 15 | + |
| 16 | +You will be redirected to the Icelandic site by default. |
| 17 | + |
| 18 | +- Íslenska: [/is/](./is/) |
| 19 | +- English: [/en/](./en/) |
0 commit comments