<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

?>

<div class="academy-single-course__content-item academy-single-course__content-item--google-classroom-stream">
	<h2 class="academy-google-classroom-stream__title"><?php esc_html_e( 'Google Classroom', 'academy-pro' ); ?></h2>
	<h2 class="academy-google-classroom-stream__secondary-title"><?php echo esc_html( $title ); ?></h2>
	<div class="academy-google-classroom-stream__url-wrapper">
		<div class="academy-google-classroom-stream__code">
			<h3 id="academy-class-code"><?php echo esc_html( $join_code ); ?></h3>
			<span class="academy-icon academy-icon--copy" id="academy-class-code-copy"></span>
		</div>
		<a class="academy-google-classroom-stream__url" href="<?php echo esc_url( $classroom_url ); ?>">
			<?php esc_html_e( 'Go to classroom', 'academy-pro' ); ?>
		</a>
	</div>
</div>

