1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < title > Meet CoreControl</ title >
7+
8+ < script src ="https://cdn.tailwindcss.com "> </ script >
9+
10+ < link href ="https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;700;900&display=swap " rel ="stylesheet ">
11+ < link href ="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap " rel ="stylesheet ">
12+
13+ < link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/dracula.min.css ">
14+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js "> </ script >
15+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/groovy.min.js "> </ script >
16+
17+ < style >
18+ body {
19+ font-family : 'Figtree' , sans-serif;
20+ background-image : url ('background.png' );
21+ background-size : cover;
22+ background-position : center;
23+ background-attachment : fixed;
24+ }
25+
26+ pre , code , .font-mono {
27+ font-family : 'JetBrains Mono' , monospace;
28+ }
29+
30+ body ::-webkit-scrollbar {
31+ display : none;
32+ }
33+ body {
34+ scrollbar-width : none;
35+ }
36+ body {
37+ -ms-overflow-style : none;
38+ }
39+
40+ pre code ::-webkit-scrollbar {
41+ width : 8px ;
42+ height : 8px ;
43+ }
44+ pre code ::-webkit-scrollbar-track {
45+ background : # 1e1e1e ;
46+ border-radius : 4px ;
47+ }
48+ pre code ::-webkit-scrollbar-thumb {
49+ background : # 4a4a4a ;
50+ border-radius : 4px ;
51+ }
52+ pre code ::-webkit-scrollbar-thumb : hover {
53+ background : # 5a5a5a ;
54+ }
55+ </ style >
56+ </ head >
57+ < body class ="text-gray-200 overflow-y-auto ">
58+
59+ < main class ="relative flex flex-col items-center w-full max-w-2xl mx-auto p-4 py-10 ">
60+
61+ < div class ="flex justify-center mb-6 ">
62+ < img src ="logo.png "
63+ alt ="CoreControl Logo "
64+ class ="w-48 ">
65+ </ div >
66+
67+ < h1 class ="text-3xl md:text-4xl font-bold text-center mb-2 ">
68+ < span class ="text-black "> Meet the CoreControl Library</ span >
69+ </ h1 >
70+ < p class ="text-lg md:text-xl text-center text-gray-800 mb-8 ">
71+ Docs website coming soon.
72+ </ p >
73+
74+ < a href ="https://github.com/CoreControlLib/CoreControlQuickstart "
75+ target ="_blank "
76+ rel ="noopener noreferrer "
77+ class ="inline-flex items-center justify-center bg-gray-500 hover:bg-gray-600 text-white font-bold py-3 px-6 rounded-lg text-lg transition duration-200 transform hover:scale-105 shadow-lg mb-6 ">
78+ < span > Get the Quickstart Repo</ span >
79+ < svg class ="w-5 h-5 ml-2 " xmlns ="http://www.w3.org/2000/svg " fill ="none " viewBox ="0 0 24 24 " stroke-width ="2 " stroke ="currentColor ">
80+ < path stroke-linecap ="round " stroke-linejoin ="round " d ="M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25 " />
81+ </ svg >
82+ </ a >
83+
84+ < p class ="text-center text-gray-800 mb-4 ">
85+ Or add it to an existing project like this:
86+ </ p >
87+
88+ < div class ="w-full rounded-t-lg px-4 py-2 " style ="background-color: #282a36; ">
89+ < span class ="font-mono text-sm text-white "> TeamCode/build.gradle</ span >
90+ </ div >
91+
92+ < div class ="relative w-full rounded-b-lg shadow-inner " style ="background-color: #3a3c4a; ">
93+
94+ < pre class ="px-4 py-4 overflow-x-auto " style ="background-color: #3a3c4a; "> < code class ="language-groovy " id ="code-snippet "> apply from: '../build.common.gradle'
95+ apply from: '../build.dependencies.gradle'
96+
97+ android {
98+ namespace = 'org.firstinspires.ftc.teamcode'
99+
100+ packagingOptions {
101+ jniLibs.useLegacyPackaging true
102+ }
103+ }
104+
105+ repositories {
106+ maven {
107+ url "https://corecontrollib.github.io/Release/"
108+ }
109+ }
110+
111+ dependencies {
112+ implementation project(':FtcRobotController')
113+ implementation 'com.andreidurlea:corecontrol:1.1.0'
114+ }</ code > </ pre >
115+ </ div >
116+
117+ </ main >
118+
119+ </ body >
120+ </ html >
0 commit comments