Ron Au commited on
Commit
0483b0c
1 Parent(s): 41a0653

fix(links): Open iframe links in new window

Browse files

- Avoids needing to configure `X-Frame-Options` or
`allow-top-navigation-by-user-activation`

Files changed (2) hide show
  1. static/index.html +3 -4
  2. static/js/card-html.js +2 -4
static/index.html CHANGED
@@ -34,10 +34,9 @@
34
  </form>
35
  </label>
36
  <p>
37
- Each illustration is <strong>generated with AI</strong> using a <a href="https://rudalle.ru/en/">ruDALL-E</a>
38
- model <a href="https://huggingface.co/minimaxir/ai-generated-pokemon-rudalle"
39
- >fine-tuned by Max Woolf.</a> Over
40
- <a href="https://huggingface.co/models">30,000 such models</a> are hosted on Hugging Face for immediate use.</a
41
  >
42
  </p>
43
  </section>
34
  </form>
35
  </label>
36
  <p>
37
+ Each illustration is <strong>generated with AI</strong> using a <a href="https://rudalle.ru/en/" target="_blank">ruDALL-E</a>
38
+ model <a href="https://huggingface.co/minimaxir/ai-generated-pokemon-rudalle" target="_blank">fine-tuned by Max Woolf.</a> Over
39
+ <a href="https://huggingface.co/models" target="_blank">30,000 such models</a> are hosted on Hugging Face for immediate use.</a
 
40
  >
41
  </p>
42
  </section>
static/js/card-html.js CHANGED
@@ -115,12 +115,10 @@ export const cardHTML = (details) => {
115
  <p class="description frame">${description}</p>
116
  <div class="footer">
117
  <span
118
- ><a
119
- href="https://huggingface.co/minimaxir/ai-generated-pokemon-rudalle"
120
- >Illus. Max Woolf</a
121
  ></span
122
  >
123
- <span><a href="https://huggingface.co/spaces/launch">${new Date().getFullYear()} Hugging Face</a></span>
124
  <span title="Rarity">${rarity}</span>
125
  </div>
126
  </div>
115
  <p class="description frame">${description}</p>
116
  <div class="footer">
117
  <span
118
+ ><a href="https://huggingface.co/minimaxir/ai-generated-pokemon-rudalle" target="_blank">Illus. Max Woolf</a
 
 
119
  ></span
120
  >
121
+ <span><a href="https://huggingface.co/spaces/launch" target="_blank">${new Date().getFullYear()} Hugging Face</a></span>
122
  <span title="Rarity">${rarity}</span>
123
  </div>
124
  </div>