Skip to content

Commit d84ea95

Browse files
authored
Merge pull request #40 from arm-university/Challenge_Page
Added_Metadata_and_Image_correction
2 parents 5efc767 + 8c73943 commit d84ea95

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

docs/Challenge_Page.html

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,26 @@
22
layout: page
33
title: Challenge Page Registration
44
show_title: false
5+
description: Bharat AI-SoC Student Challenge registration page
6+
share_image: images/c2s_meity_logo.jpg
57
---
68

9+
{%- assign resolved_url = site.url -%}
10+
{%- if resolved_url contains '$PREVIEW_URL' -%}
11+
{%- assign resolved_url = site.env.PREVIEW_URL -%}
12+
{%- endif -%}
13+
14+
{%- if page.share_image -%}
15+
<meta property="og:title" content="{{ page.title}}">
16+
<meta property="og:description" content="{{ page.description}}">
17+
<meta property="og:type" content="website">
18+
<meta property="og:url" content="{{ resolved_url }}{{ site.baseurl }}{{ page.url }}">
19+
<meta property="og:image" content="{{ resolved_url }}{{ site.baseurl }}/{{ page.share_image }}">
20+
21+
<meta name="twitter:card" content="summary_large_image">
22+
<meta name="twitter:image" content="{{ resolved_url }}{{ site.baseurl }}/{{ page.share_image }}">
23+
{%- endif -%}
24+
725
<div class="challenge-wrapper">
826
<header class="challenge-header">
927
<div class="ch-header-content">
@@ -33,7 +51,7 @@ <h1>Bharat AI-SoC Student Challenge</h1>
3351
</div>
3452
</div>
3553
<div style="flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; height: 100%; min-width: 180px;">
36-
<img src="/images/c2s_meity_logo.jpg" alt="C2S MeitY Logo" style="height: 180px; width: auto; border-radius: 36px; filter: blur(0.5px) drop-shadow(0 0 40px rgba(120,120,120,0.18)); box-shadow: 0 8px 64px 0 rgba(0,0,0,0.14); background: rgba(255,255,255,0.16); margin-top: 64px; margin-bottom: 64px;" />
54+
<img src="images/c2s_meity_logo.jpg" alt="C2S MeitY Logo" style="height: 180px; width: auto; border-radius: 36px; filter: blur(0.5px) drop-shadow(0 0 40px rgba(120,120,120,0.18)); box-shadow: 0 8px 64px 0 rgba(0,0,0,0.14); background: rgba(255,255,255,0.16); margin-top: 64px; margin-bottom: 64px;" />
3755
</div>
3856
</div>
3957
</div>

0 commit comments

Comments
 (0)