Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 50 additions & 7 deletions src/app/docs/contributing/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function ContributingPage() {
<p>
Open a{" "}
<a
href="https://github.com/AnayDhawan/StudyMap/issues/new"
href="https://github.com/StudentSuite/StudyMap/issues/new"
target="_blank"
rel="noreferrer"
className="font-medium text-primary hover:underline"
Expand All @@ -55,8 +55,8 @@ export default function ContributingPage() {
<ul className="ml-4 list-disc space-y-1">
<li>Place name</li>
<li>Full address</li>
<li>Type (exam centre, library, book shop, stationery, internet cafe, train station, airport, or important location)</li>
<li>City: Mumbai, Thane, or Navi Mumbai</li>
<li>Type: SAT centre, foreign language exam centre, library, government office (passport office, RTO, post office), airport, or other place</li>
<li>City and country (SAT and foreign language centres are listed worldwide; other categories currently focus on the Mumbai region)</li>
<li>Google Maps link</li>
</ul>
<p className="text-xs text-muted-foreground">
Expand All @@ -75,7 +75,7 @@ export default function ContributingPage() {
<li>
Fork the{" "}
<a
href="https://github.com/AnayDhawan/StudyMap"
href="https://github.com/StudentSuite/StudyMap"
target="_blank"
rel="noreferrer"
className="font-medium text-primary hover:underline"
Expand Down Expand Up @@ -112,8 +112,8 @@ export default function ContributingPage() {
</div>

<p className="text-xs text-muted-foreground mt-2">
ID format: <code className="bg-muted px-1 rounded">mum</code> / <code className="bg-muted px-1 rounded">thn</code> / <code className="bg-muted px-1 rounded">nvm</code> prefix, then type, then next available number.
Lat/lng range: lat 18-20, lng 72-73.
ID format: a short city-code prefix (<code className="bg-muted px-1 rounded">mum</code>, <code className="bg-muted px-1 rounded">thn</code>, <code className="bg-muted px-1 rounded">nvm</code>, <code className="bg-muted px-1 rounded">blr</code>, and so on), then the type, then the next available number in that file.
Coordinates come straight from Google Maps, so there is no fixed range: SAT and foreign language centres span the globe.
</p>
</CardContent>
</Card>
Expand All @@ -129,7 +129,7 @@ export default function ContributingPage() {
edit the existing entry in the relevant JSON file and update the field.
</p>
<a
href="https://github.com/AnayDhawan/StudyMap/blob/main/data/CONTRIBUTING.md"
href="https://github.com/StudentSuite/StudyMap/blob/main/data/CONTRIBUTING.md"
target="_blank"
rel="noreferrer"
className="inline-flex items-center gap-1.5 font-medium text-primary hover:underline"
Expand All @@ -138,6 +138,49 @@ export default function ContributingPage() {
</a>
</CardContent>
</Card>

<Card>
<CardHeader>
<CardTitle>Adding SAT centres for a new country</CardTitle>
<CardDescription>Help expand the map beyond India</CardDescription>
</CardHeader>
<CardContent className="space-y-3 text-sm text-foreground/80">
<p>
We are adding SAT centres country by country. Several countries
already have open tracking issues (Germany, France, UK, UAE,
Australia, and more).
</p>
<ol className="ml-4 list-decimal space-y-2">
<li>
Check the{" "}
<a
href="https://github.com/StudentSuite/StudyMap/issues?q=is%3Aissue+is%3Aopen+%22Add+SAT+centres%22"
target="_blank"
rel="noreferrer"
className="font-medium text-primary hover:underline"
>
open country requests
</a>
. If your country is listed, comment there or open a PR that
closes it. If not, open a new issue for it.
</li>
<li>
Add each centre to{" "}
<code className="rounded bg-muted px-1.5 py-0.5 font-mono">
data/places/sat_centre.json
</code>{" "}
with <code className="rounded bg-muted px-1 font-mono">type</code>{" "}
set to <code className="rounded bg-muted px-1 font-mono">sat_centre</code>,
plus <code className="rounded bg-muted px-1 font-mono">exam: &quot;SAT&quot;</code>{" "}
and a <code className="rounded bg-muted px-1 font-mono">valid_till</code> date.
</li>
<li>
Use the real city name and coordinates from Google Maps. Centres
outside India are welcome and expected here.
</li>
</ol>
</CardContent>
</Card>
</div>
</PageContainer>
);
Expand Down
12 changes: 12 additions & 0 deletions src/app/docs/exam-centres/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,18 @@ export default function ExamCentresPage() {
If you know of a SAT or foreign language exam centre that is not on
the map, or an existing entry has moved or closed, please report it.
</p>
<p>
We are also expanding SAT coverage country by country. See the{" "}
<a
href="https://github.com/StudentSuite/StudyMap/issues?q=is%3Aissue+is%3Aopen+%22Add+SAT+centres%22"
target="_blank"
rel="noreferrer"
className="font-medium text-primary hover:underline"
>
open country requests
</a>{" "}
to add centres for your country.
</p>
<Link
href="/docs/contributing"
className="inline-flex items-center gap-1.5 font-medium text-primary hover:underline"
Expand Down
7 changes: 5 additions & 2 deletions src/app/docs/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const DOCS = [
href: "/docs/exam-centres",
title: "Finding Exam Centres",
description:
"Use the map to locate SAT, IB, and IGCSE exam centres across Mumbai, Thane, and Navi Mumbai.",
"Use the map to locate verified SAT centres and foreign language exam centres across India and worldwide.",
},
{
href: "/docs/contributing",
Expand All @@ -34,7 +34,10 @@ export default function DocsIndexPage() {
<PageContainer>
<h1 className="font-heading text-3xl font-bold tracking-tight">Docs</h1>
<p className="mt-2 max-w-2xl text-muted-foreground">
Student guides for StudyMap and the tools around it.
Student guides for StudyMap and the tools around it. The map covers
libraries, SAT centres, foreign language exam centres, government
offices (passport offices, RTOs, post offices), airports, and other
student-relevant places.
</p>

<div className="mt-8 grid gap-4 sm:grid-cols-3">
Expand Down
Loading