Let us denote $X=C[0,1]$. As mentioned in the comments and in the other answer, if we check that $F\colon X\to\mathbb R$
$$F\colon g\mapsto\int_0^1 g(t)dt$$
is a linear continuous functional, then $M=\ker F=F^{-1}(\{0\})$ and the continuity of $F$ implies that $M$ is closed.
We are also interested in the norm $\|f+M\|_{X/M}$ for $f(t)=\sin(\pi t)$. This norm can be expressed in several equivalent forms
$$\|f+M\|_{X/M} = \inf_{g\in M} \|f-g\|_{\infty} = \inf_{h\in f+M} \|h\|_\infty.$$
You may notice that $h\in f+M$ is equivalent to $F(h)=F(f)$, this follows again from the fact that $M=\ker F$.
Specifically, for $f=\sin\pi t$ we get $F(f)=\frac2\pi$. So our problem basically reduces to finding the infimum of $\|h\|_\infty$ when we are looking at the functions $h\in C[0,1]$ such that
$$\int_0^1 h(t) dt = \frac2\pi.$$
We can notice that if we choose the constant function $h_0(t)=\frac2\pi$ we have $h_0\in f+M$ and $\|h_0\|_\infty=\frac2\pi$.
We can also notice that for any function we get
$$|F(h)| = \left|\int_0^1 h(t) dt\right| \le \int_0^1 |h(t)| dt \le \sup_{t\in[0,1]} |h(t)| = \|h\|_\infty.$$
This implies that $\|h\|_\infty\ge\frac2\pi$ for any $h\in f+M$.
So together we get that $$\|f+M\|_{X/M} = \frac2\pi.$$