Skip to content

Commit d9ba0c3

Browse files
committed
📝 reorder korfball and netball; update banner
1 parent e94f2b5 commit d9ba0c3

File tree

4 files changed

+301
-300
lines changed

4 files changed

+301
-300
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22

33
![A screenshot of the web application.](./resources/ice-hockey-screenshot.png)
44

5-
**01/08/23: Ice hockey net, Australian rules football, rugby union, and table
6-
tennis have been added as playing areas**
5+
**01/28/23: Field hockey, Canadian football (pre- and post- 2022), hurling and Gaelic football, korfball, and netball have been added as playing areas!**
76

87
A [web application](https://shot-plotter.netlify.app/) for plotting events on a sport's playing area with a single click, while keeping track of any other details. The application supports download and upload of .csv files to retrieve that plotted data.
98

10-
Currently 23 different playing areas across 17 different sports are supported: ice hockey (NHL, IIHF), ice hockey net (NHL), floorball (IFF), handball (IHF), volleyball (NCAA), table tennis (ITTF), basketball (NBA, NCAA, WNBA), men's lacrosse (NCAA), women's lacrosse (NCAA), field hockey (IHF), American football (NFL, NCAA), Canadian football (CFL, CFL pre-2022 & Amateur), soccer (NCAA), Australian rules football (AFL), rugby union (World Rugby), hurling and Gaelic football (GAA), korfball (IKF), and netball (SSN).
9+
Currently 23 different playing areas across 17 different sports are supported: ice hockey (NHL, IIHF), ice hockey net (NHL), floorball (IFF), handball (IHF), volleyball (NCAA), table tennis (ITTF), basketball (NBA, NCAA, WNBA), korfball (IKF), netball (SSN), men's lacrosse (NCAA), women's lacrosse (NCAA), field hockey (IHF), American football (NFL, NCAA), Canadian football (CFL, CFL pre-2022 & Amateur), soccer (NCAA), Australian rules football (AFL), rugby union (World Rugby), and hurling and Gaelic football (GAA).
1110

1211
![A screenshot of the main page of the web application allowing you to pick between sports.](./resources/sport-select-screenshot.png)
1312

html/index.html

Lines changed: 154 additions & 153 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
<!-- inject:banner -->
3030
<div class="alert alert-info" role="alert">
3131
<b>01/28/23:</b> Field hockey, Canadian football (pre- and post- 2022),
32-
korfball, and netball have been added as playing areas!
32+
hurling and Gaelic football, korfball, and netball have been added as
33+
playing areas!
3334
</div>
3435

3536
<!-- endinject -->
@@ -1818,6 +1819,158 @@ <h6 class="card-title">
18181819
Basketball (WNBA)
18191820
</button>
18201821
</div>
1822+
</a>
1823+
<a href="./korfball" class="card" id="korfball">
1824+
<div class="card-header">
1825+
<!-- inject:cardplayingarea -->
1826+
<svg id ="korfball-svg" xmlns="http://www.w3.org/2000/svg" width="100%" viewBox=" 0 0 40 20">
1827+
<g id="transformations">
1828+
<clipPath id="clipBorder">
1829+
<rect x="0" y="0" width="40" height="20"></rect>
1830+
</clipPath>
1831+
<rect id="background" x="0" y="0" width="40" height="20" fill="#eacda6"></rect>
1832+
<g id="center-markings">
1833+
<line id="center-line" x1="20" y1="0" x2="20" y2="20" stroke="#a5015b" stroke-width="0.05"></line>
1834+
<circle id="center-dot" cx="20" cy="10" r="0.15" fill="#a5015b"></circle>
1835+
</g>
1836+
<g id="left-side">
1837+
<circle id="left-free-pass" cx="9.177" cy="10" r="2.5" stroke="#a5015b" stroke-width="0.05" fill="#e2b983"></circle>
1838+
<circle id="left-goal" cx="6.87" cy="10" r="0.2" fill="transparent" stroke="#a5015b" stroke-width="0.05"></circle>
1839+
<path id="left-penalty-area" fill="transparent" stroke="#a5015b" stroke-width="0.05" d="
1840+
M 9.17 12.5
1841+
L 6.67 12.5
1842+
A 2.5 2.5 0 0 1 4.17 10
1843+
A 2.5 2.5 0 0 1 6.67 7.5
1844+
L 9.17 7.5">
1845+
</path>
1846+
<line id="left-penalty-spot" x1="9.17" x2="9.17" y1="9.8" y2="10.2" stroke="#a5015b" stroke-width="0.05"/>
1847+
</g>
1848+
<g id="right-side">
1849+
<circle id="right-free-pass" cx="30.83" cy="10" r="2.5" stroke="#a5015b" stroke-width="0.05" fill="#e2b983"></circle>
1850+
<circle id="right-goal" cx="33.13" cy="10" r="0.2" fill="transparent" stroke="#a5015b" stroke-width="0.05"></circle>
1851+
<path id="right-penalty-area" fill="transparent" stroke="#a5015b" stroke-width="0.05" d="
1852+
M 30.83 12.5
1853+
L 33.33 12.5
1854+
A 2.5 2.5 0 0 0 35.83 10
1855+
A 2.5 2.5 0 0 0 33.33 7.5
1856+
L 30.83 7.5"></path>
1857+
<line id="right-penalty-spot" x1="30.83" x2="30.83" y1="9.8" y2="10.2" stroke="#a5015b" stroke-width="0.05"/>
1858+
</g>
1859+
<path id="outside-perimeter" d="
1860+
M 0 0
1861+
L 40 0
1862+
L 40 20
1863+
L 0 20
1864+
Z" stroke="#000" fill="transparent" stroke-width="0.05"></path>
1865+
</g>
1866+
</svg>
1867+
1868+
<!-- endinject -->
1869+
</div>
1870+
<div class="card-body">
1871+
<h6 class="card-title">
1872+
Korfball
1873+
</h6>
1874+
<div class="card-text">
1875+
<div>
1876+
<span class="bold">Dimensions: </span><span>
1877+
40 x 20
1878+
</span>
1879+
</div>
1880+
<div>
1881+
<span class="bold">Units: </span><span>
1882+
meters
1883+
</span>
1884+
</div>
1885+
<div>
1886+
<span class="bold">Specifications: </span><span>
1887+
International Korfball Federation (2022)
1888+
</span>
1889+
</div>
1890+
</div>
1891+
</div>
1892+
<div class="card-footer text-center white-bg">
1893+
<button type="button" class="grey-btn card-btn">
1894+
Go To
1895+
Korfball
1896+
</button>
1897+
</div>
1898+
</a>
1899+
<a href="./netball-ssn" class="card" id="netball-ssn">
1900+
<div class="card-header">
1901+
<!-- inject:cardplayingarea -->
1902+
<svg id ="netball-ssn-svg" xmlns="http://www.w3.org/2000/svg" width="100%" viewBox=" 0 0 30.5 15.25">
1903+
<g id="transformations">
1904+
<clipPath id="clipBorder">
1905+
<rect x="0" y="0" width="30.5" height="15.25"></rect>
1906+
</clipPath>
1907+
<rect id="background" x="0" y="0" width="30.5" height="15.25" fill="#eacda6"></rect>
1908+
<g id="center-markings">
1909+
<circle id="center-circle" cx="15.625" cy="7.625" r="0.45" stroke="black" stroke-width="0.05" fill="transparent"></circle>
1910+
</g>
1911+
<g id="left-third">
1912+
<line id="left-transverse-line" x1="10.167" y1="0" x2="10.167" y2="15.25" stroke="black" stroke-width="0.05"></line>
1913+
<path id="left-goal-circle" fill="#e0ac67" stroke="black" stroke-width="0.05" d="
1914+
M 0 2.725
1915+
A 4.9 4.9 0 0 1 0 12.525">
1916+
</path>
1917+
<path id="left-super-zone" fill="#eacda6" stroke="black" stroke-width="0.05" d="
1918+
M 0 4.625
1919+
A 3 3 0 0 1 0 10.625">
1920+
</path>
1921+
<circle id="left-goal" cx="0.2" cy="7.625" r="0.2" fill="#eacda6" stroke="black" stroke-width="0.05"></circle>
1922+
</g>
1923+
<g id="right-third">
1924+
<line id="right-transverse-line" x1="21.25" y1="0" x2="21.25" y2="15.25" stroke="black" stroke-width="0.05"></line>
1925+
<path id="right-goal-circle" fill="#e0ac67" stroke="black" stroke-width="0.05" d="
1926+
M 30.5 2.725
1927+
A 4.9 4.9 0 0 0 30.5 12.525">
1928+
</path>
1929+
<path id="right-super-zone" fill="#eacda6" stroke="black" stroke-width="0.05" d="
1930+
M 30.5 4.625
1931+
A 3 3 0 0 0 30.5 10.625">
1932+
</path>
1933+
<circle id="right-goal" cx="30.3" cy="7.625" r="0.2" fill="#eacda6" stroke="black" stroke-width="0.05"></circle>
1934+
</g>
1935+
<path id="outside-perimeter" d="
1936+
M 0 0
1937+
L 30.5 0
1938+
L 30.5 15.25
1939+
L 0 15.25
1940+
Z" stroke="#000" fill="transparent" stroke-width="0.05"></path>
1941+
</g>
1942+
</svg>
1943+
1944+
<!-- endinject -->
1945+
</div>
1946+
<div class="card-body">
1947+
<h6 class="card-title">
1948+
Netball (SSN)
1949+
</h6>
1950+
<div class="card-text">
1951+
<div>
1952+
<span class="bold">Dimensions: </span><span>
1953+
30.5 x 15.25
1954+
</span>
1955+
</div>
1956+
<div>
1957+
<span class="bold">Units: </span><span>
1958+
meters
1959+
</span>
1960+
</div>
1961+
<div>
1962+
<span class="bold">Specifications: </span><span>
1963+
Suncorp Super Netball (2022)
1964+
</span>
1965+
</div>
1966+
</div>
1967+
</div>
1968+
<div class="card-footer text-center white-bg">
1969+
<button type="button" class="grey-btn card-btn">
1970+
Go To
1971+
Netball (SSN)
1972+
</button>
1973+
</div>
18211974
</a>
18221975
<a href="./mens-lacrosse" class="card" id="mens-lacrosse">
18231976
<div class="card-header">
@@ -4584,158 +4737,6 @@ <h6 class="card-title">
45844737
Hurling and Gaelic Football
45854738
</button>
45864739
</div>
4587-
</a>
4588-
<a href="./korfball" class="card" id="korfball">
4589-
<div class="card-header">
4590-
<!-- inject:cardplayingarea -->
4591-
<svg id ="korfball-svg" xmlns="http://www.w3.org/2000/svg" width="100%" viewBox=" 0 0 40 20">
4592-
<g id="transformations">
4593-
<clipPath id="clipBorder">
4594-
<rect x="0" y="0" width="40" height="20"></rect>
4595-
</clipPath>
4596-
<rect id="background" x="0" y="0" width="40" height="20" fill="#eacda6"></rect>
4597-
<g id="center-markings">
4598-
<line id="center-line" x1="20" y1="0" x2="20" y2="20" stroke="#a5015b" stroke-width="0.05"></line>
4599-
<circle id="center-dot" cx="20" cy="10" r="0.15" fill="#a5015b"></circle>
4600-
</g>
4601-
<g id="left-side">
4602-
<circle id="left-free-pass" cx="9.177" cy="10" r="2.5" stroke="#a5015b" stroke-width="0.05" fill="#e2b983"></circle>
4603-
<circle id="left-goal" cx="6.87" cy="10" r="0.2" fill="transparent" stroke="#a5015b" stroke-width="0.05"></circle>
4604-
<path id="left-penalty-area" fill="transparent" stroke="#a5015b" stroke-width="0.05" d="
4605-
M 9.17 12.5
4606-
L 6.67 12.5
4607-
A 2.5 2.5 0 0 1 4.17 10
4608-
A 2.5 2.5 0 0 1 6.67 7.5
4609-
L 9.17 7.5">
4610-
</path>
4611-
<line id="left-penalty-spot" x1="9.17" x2="9.17" y1="9.8" y2="10.2" stroke="#a5015b" stroke-width="0.05"/>
4612-
</g>
4613-
<g id="right-side">
4614-
<circle id="right-free-pass" cx="30.83" cy="10" r="2.5" stroke="#a5015b" stroke-width="0.05" fill="#e2b983"></circle>
4615-
<circle id="right-goal" cx="33.13" cy="10" r="0.2" fill="transparent" stroke="#a5015b" stroke-width="0.05"></circle>
4616-
<path id="right-penalty-area" fill="transparent" stroke="#a5015b" stroke-width="0.05" d="
4617-
M 30.83 12.5
4618-
L 33.33 12.5
4619-
A 2.5 2.5 0 0 0 35.83 10
4620-
A 2.5 2.5 0 0 0 33.33 7.5
4621-
L 30.83 7.5"></path>
4622-
<line id="right-penalty-spot" x1="30.83" x2="30.83" y1="9.8" y2="10.2" stroke="#a5015b" stroke-width="0.05"/>
4623-
</g>
4624-
<path id="outside-perimeter" d="
4625-
M 0 0
4626-
L 40 0
4627-
L 40 20
4628-
L 0 20
4629-
Z" stroke="#000" fill="transparent" stroke-width="0.05"></path>
4630-
</g>
4631-
</svg>
4632-
4633-
<!-- endinject -->
4634-
</div>
4635-
<div class="card-body">
4636-
<h6 class="card-title">
4637-
Korfball
4638-
</h6>
4639-
<div class="card-text">
4640-
<div>
4641-
<span class="bold">Dimensions: </span><span>
4642-
40 x 20
4643-
</span>
4644-
</div>
4645-
<div>
4646-
<span class="bold">Units: </span><span>
4647-
meters
4648-
</span>
4649-
</div>
4650-
<div>
4651-
<span class="bold">Specifications: </span><span>
4652-
International Korfball Federation (2022)
4653-
</span>
4654-
</div>
4655-
</div>
4656-
</div>
4657-
<div class="card-footer text-center white-bg">
4658-
<button type="button" class="grey-btn card-btn">
4659-
Go To
4660-
Korfball
4661-
</button>
4662-
</div>
4663-
</a>
4664-
<a href="./netball-ssn" class="card" id="netball-ssn">
4665-
<div class="card-header">
4666-
<!-- inject:cardplayingarea -->
4667-
<svg id ="netball-ssn-svg" xmlns="http://www.w3.org/2000/svg" width="100%" viewBox=" 0 0 30.5 15.25">
4668-
<g id="transformations">
4669-
<clipPath id="clipBorder">
4670-
<rect x="0" y="0" width="30.5" height="15.25"></rect>
4671-
</clipPath>
4672-
<rect id="background" x="0" y="0" width="30.5" height="15.25" fill="#eacda6"></rect>
4673-
<g id="center-markings">
4674-
<circle id="center-circle" cx="15.625" cy="7.625" r="0.45" stroke="black" stroke-width="0.05" fill="transparent"></circle>
4675-
</g>
4676-
<g id="left-third">
4677-
<line id="left-transverse-line" x1="10.167" y1="0" x2="10.167" y2="15.25" stroke="black" stroke-width="0.05"></line>
4678-
<path id="left-goal-circle" fill="#e0ac67" stroke="black" stroke-width="0.05" d="
4679-
M 0 2.725
4680-
A 4.9 4.9 0 0 1 0 12.525">
4681-
</path>
4682-
<path id="left-super-zone" fill="#eacda6" stroke="black" stroke-width="0.05" d="
4683-
M 0 4.625
4684-
A 3 3 0 0 1 0 10.625">
4685-
</path>
4686-
<circle id="left-goal" cx="0.2" cy="7.625" r="0.2" fill="#eacda6" stroke="black" stroke-width="0.05"></circle>
4687-
</g>
4688-
<g id="right-third">
4689-
<line id="right-transverse-line" x1="21.25" y1="0" x2="21.25" y2="15.25" stroke="black" stroke-width="0.05"></line>
4690-
<path id="right-goal-circle" fill="#e0ac67" stroke="black" stroke-width="0.05" d="
4691-
M 30.5 2.725
4692-
A 4.9 4.9 0 0 0 30.5 12.525">
4693-
</path>
4694-
<path id="right-super-zone" fill="#eacda6" stroke="black" stroke-width="0.05" d="
4695-
M 30.5 4.625
4696-
A 3 3 0 0 0 30.5 10.625">
4697-
</path>
4698-
<circle id="right-goal" cx="30.3" cy="7.625" r="0.2" fill="#eacda6" stroke="black" stroke-width="0.05"></circle>
4699-
</g>
4700-
<path id="outside-perimeter" d="
4701-
M 0 0
4702-
L 30.5 0
4703-
L 30.5 15.25
4704-
L 0 15.25
4705-
Z" stroke="#000" fill="transparent" stroke-width="0.05"></path>
4706-
</g>
4707-
</svg>
4708-
4709-
<!-- endinject -->
4710-
</div>
4711-
<div class="card-body">
4712-
<h6 class="card-title">
4713-
Netball (SSN)
4714-
</h6>
4715-
<div class="card-text">
4716-
<div>
4717-
<span class="bold">Dimensions: </span><span>
4718-
30.5 x 15.25
4719-
</span>
4720-
</div>
4721-
<div>
4722-
<span class="bold">Units: </span><span>
4723-
meters
4724-
</span>
4725-
</div>
4726-
<div>
4727-
<span class="bold">Specifications: </span><span>
4728-
Suncorp Super Netball (2022)
4729-
</span>
4730-
</div>
4731-
</div>
4732-
</div>
4733-
<div class="card-footer text-center white-bg">
4734-
<button type="button" class="grey-btn card-btn">
4735-
Go To
4736-
Netball (SSN)
4737-
</button>
4738-
</div>
47394740
</a>
47404741
<!-- endinject -->
47414742
</div>

preprocessing/banner.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<div class="alert alert-info" role="alert">
22
<b>01/28/23:</b> Field hockey, Canadian football (pre- and post- 2022),
3-
korfball, and netball have been added as playing areas!
3+
hurling and Gaelic football, korfball, and netball have been added as
4+
playing areas!
45
</div>

0 commit comments

Comments
 (0)