Credit the course in one line.

Every app that shows GolfCore course data credits GolfCore and links the course page the data came from. Use the wording, a badge, or both. Every snippet below takes the url field each course result already carries.

Course data by GolfCore Course data by GolfCore
Course data by GolfCore Course data by GolfCore

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 url on 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

FilePixels
golfcore-badge-light.svg195 × 32
golfcore-badge-dark.svg195 × 32
golfcore-badge-light@3x.png585 × 96
golfcore-badge-dark@3x.png585 × 96
golfcore-mark.svg32 × 24
golfcore-mark@3x.png96 × 72

Every size, with 1x and 2x PNGs, is listed in attribution.md, the same guide in Markdown for coding agents.

Snippets

HTML, text link
<a href="{course.url}" target="_blank" rel="noopener">Course data by GolfCore</a>
Markdown
[Course data by GolfCore]({course.url})
Plain text, where links are impossible (print, a watch face, a PDF)
Course data by GolfCore · golfcore.org
HTML, badge
<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>
HTML, G mark in a map corner
<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>
React
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>
  );
}
React Native (React Native's `Image` does not render SVG, so use the @3x PNG)
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>
  );
}
SwiftUI (or add the three PNGs to your asset catalog and use `Image("golfcore-badge-light")`)
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")
    }
}
Jetpack Compose (uses Coil's `AsyncImage`; or put the PNGs in `res/drawable-*dpi` and use `painterResource`)
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) }
    )
}