Skip to content

Commit 67e9671

Browse files
committed
Addlink to old site and change title to mate-fizica
1 parent fe1cc1e commit 67e9671

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/components/NewPage.astro

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ const content: FileStructure = pageData.content;
2626
const years: number[] = pageData.years;
2727
const extra: FileStructure = pageData.extra;
2828
29-
const pageTitle = `${subject}-${page} | cuza.pages.dev`;
29+
const pageTitle = (subject === "fizica" && page === "bac")
30+
? "mate-fizica | cuza.pages.dev"
31+
: `${subject}-${page} | cuza.pages.dev`;
3032
---
3133

3234
<Layout title={pageTitle}>
@@ -44,6 +46,15 @@ const pageTitle = `${subject}-${page} | cuza.pages.dev`;
4446
<Extra subject={subject} page={page} extraData={extra} years={years} />
4547
</div>
4648
<CountdownTimer />
49+
<div class="bg-zinc-950/90 rounded-3xl py-3 px-4 w-28 self-end">
50+
<a href="https://old.cuza.pages.dev" target="_blank" rel="noopener noreferrer" class="flex items-center justify-between text-white font-medium hover:text-gray-300 transition-colors">
51+
Old site
52+
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
53+
<path d="M7 17L17 7"/>
54+
<path d="M7 7h10v10"/>
55+
</svg>
56+
</a>
57+
</div>
4758
</aside>
4859
</ContentContainer>
4960
<Footer />

0 commit comments

Comments
 (0)