Skip to content

Commit b87420d

Browse files
authored
Merge pull request #3 from itk-dev/feature/add-mockup-banner-and-noindex
feat: add mockup banner and block search engine indexing
2 parents 8abf9b0 + ba6f8a4 commit b87420d

5 files changed

Lines changed: 28 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
99

1010
### Added
1111

12+
- Mockup banner displayed on all pages to distinguish from the real application
13+
- `robots.txt` and `noindex` meta tag to prevent search engine indexing
1214
- GitHub Actions workflow to auto-deploy to GitHub Pages on push to `main`
1315
- Registration page (`/register`) with standalone auth layout (no sidebar/nav shell)
1416
- Registration form with standard fields (name, email, password) and custom profile fields (category, role, organisation)

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<meta name="robots" content="noindex, nofollow" />
78
<title>BIPED – Civora</title>
89
<link rel="preconnect" href="https://fonts.googleapis.com">
910
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

public/robots.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
User-agent: *
2+
Disallow: /

src/App.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<template>
2+
<MockBanner />
23
<AppLayout v-if="!isStandalone">
34
<router-view />
45
</AppLayout>
@@ -9,6 +10,7 @@
910
import { computed } from 'vue'
1011
import { useRoute } from 'vue-router'
1112
import AppLayout from './components/layout/AppLayout.vue'
13+
import MockBanner from './components/MockBanner.vue'
1214
1315
const route = useRoute()
1416
const isStandalone = computed(() => route.meta.standalone)

src/components/MockBanner.vue

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<template>
2+
<div class="mock-banner">
3+
This is a mockup — not the real application
4+
</div>
5+
</template>
6+
7+
<style scoped>
8+
.mock-banner {
9+
background-color: var(--color-accent-orange-bg);
10+
color: var(--color-accent-orange);
11+
text-align: center;
12+
padding: var(--space-xs) var(--space-md);
13+
font-family: var(--font-primary);
14+
font-size: 0.85rem;
15+
font-weight: 600;
16+
letter-spacing: 0.02em;
17+
line-height: 1.4;
18+
z-index: 1000;
19+
position: relative;
20+
}
21+
</style>

0 commit comments

Comments
 (0)