The rule
- Show the credit wherever the data is shown: the course screen, the scorecard or the map. One credit per screen is enough.
- Link it to that course's page, the
urlon every API and MCP course result. A screen of many courses links the course directory. - Use the wording "Course data by GolfCore", the badge, or both. Do not recolour, stretch, crop or redraw the badge or the G mark.
- Show the badge at 32 px tall, never below 24 px, with 8 px of clear space. The G mark alone is for map corners and toolbars, at 24 px, never below 20 px.
- Use the light badge on light backgrounds and the dark badge on dark ones. In a native app, open the link in the system browser.
Files
| File | Pixels |
|---|---|
| golfcore-badge-light.svg | 195 × 32 |
| golfcore-badge-dark.svg | 195 × 32 |
| golfcore-badge-light@3x.png | 585 × 96 |
| golfcore-badge-dark@3x.png | 585 × 96 |
| golfcore-mark.svg | 32 × 24 |
| golfcore-mark@3x.png | 96 × 72 |
Every size, with 1x and 2x PNGs, is listed in attribution.md, the same guide in Markdown for coding agents.
Snippets
<a href="{course.url}" target="_blank" rel="noopener">Course data by GolfCore</a> [Course data by GolfCore]({course.url}) Course data by GolfCore · golfcore.org <a href="{course.url}" target="_blank" rel="noopener">
<img src="https://www.golfcore.org/brand/attribution/golfcore-badge-light.svg"
width="195" height="32" alt="Course data by GolfCore">
</a> <a href="{course.url}" target="_blank" rel="noopener" title="Course data by GolfCore"
style="position:absolute;right:8px;bottom:8px">
<img src="https://www.golfcore.org/brand/attribution/golfcore-mark.svg"
width="32" height="24" alt="Course data by GolfCore">
</a> export function GolfCoreAttribution({ course, theme = "light" }) {
return (
<a href={course.url} target="_blank" rel="noopener">
<img
src={`https://www.golfcore.org/brand/attribution/golfcore-badge-${theme}.svg`}
width={195}
height={32}
alt="Course data by GolfCore"
/>
</a>
);
} import { Image, Linking, Pressable } from "react-native";
export function GolfCoreAttribution({ course, theme = "light" }) {
return (
<Pressable
onPress={() => Linking.openURL(course.url)}
accessibilityRole="link"
accessibilityLabel="Course data by GolfCore"
>
<Image
source={{ uri: `https://www.golfcore.org/brand/attribution/golfcore-badge-${theme}@3x.png` }}
style={{ width: 195, height: 32 }}
/>
</Pressable>
);
} import SwiftUI
struct GolfCoreAttribution: View {
let courseURL: URL
var theme = "light"
var body: some View {
Link(destination: courseURL) {
AsyncImage(
url: URL(string: "https://www.golfcore.org/brand/attribution/golfcore-badge-\(theme)@3x.png"),
scale: 3
) { image in
image
} placeholder: {
Text("Course data by GolfCore")
}
.frame(width: 195, height: 32)
}
.accessibilityLabel("Course data by GolfCore")
}
} import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.size
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalUriHandler
import androidx.compose.ui.unit.dp
import coil.compose.AsyncImage
@Composable
fun GolfCoreAttribution(courseUrl: String, theme: String = "light") {
val uriHandler = LocalUriHandler.current
AsyncImage(
model = "https://www.golfcore.org/brand/attribution/golfcore-badge-$theme@3x.png",
contentDescription = "Course data by GolfCore",
modifier = Modifier
.size(195.dp, 32.dp)
.clickable { uriHandler.openUri(courseUrl) }
)
}