No, gluons are not made of quarks. Gluons are elementary particles that mediate the strong nuclear force, which is responsible for holding quarks together to form protons, neutrons, and other particles known as hadrons.
Quarks are also elementary particles and are the fundamental building blocks of matter. They come in different flavors: up, down, charm, strange, top, and bottom. Quarks interact with each other through the exchange of gluons. Gluons carry the color charge, which is a property associated with the strong force. The strong force is unique because it is carried by its own particles, the gluons, unlike the electromagnetic force, which is carried by photons.
In summary, gluons and quarks are distinct elementary particles. Quarks are the constituents of matter, while gluons are the force carriers that bind quarks together through the strong nuclear force.