diff --git a/package.json b/package.json index 444b88b..7cfaeaf 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,8 @@ "dependencies": { "@astrojs/tailwind": "^2.1.3", "@astrojs/vue": "^1.2.2", + "@headlessui/vue": "^1.7.13", + "@heroicons/vue": "1.0.6", "astro": "^1.7.2", "tailwindcss": "^3.2.4", "vue": "^3.2.45" diff --git a/public/img/1.jpg b/public/img/1.jpg new file mode 100644 index 0000000..4eacd0d Binary files /dev/null and b/public/img/1.jpg differ diff --git a/public/img/10.jpg b/public/img/10.jpg new file mode 100644 index 0000000..7047c63 Binary files /dev/null and b/public/img/10.jpg differ diff --git a/public/img/11.jpg b/public/img/11.jpg new file mode 100644 index 0000000..91effef Binary files /dev/null and b/public/img/11.jpg differ diff --git a/public/img/12.jpg b/public/img/12.jpg new file mode 100644 index 0000000..1c515aa Binary files /dev/null and b/public/img/12.jpg differ diff --git a/public/img/13.jpg b/public/img/13.jpg new file mode 100644 index 0000000..5324f69 Binary files /dev/null and b/public/img/13.jpg differ diff --git a/public/img/14.jpg b/public/img/14.jpg new file mode 100644 index 0000000..0825363 Binary files /dev/null and b/public/img/14.jpg differ diff --git a/public/img/15.jpeg b/public/img/15.jpeg new file mode 100644 index 0000000..25e8d2c Binary files /dev/null and b/public/img/15.jpeg differ diff --git a/public/img/16.jpeg b/public/img/16.jpeg new file mode 100644 index 0000000..cc739f1 Binary files /dev/null and b/public/img/16.jpeg differ diff --git a/public/img/17.jpeg b/public/img/17.jpeg new file mode 100644 index 0000000..53eb02e Binary files /dev/null and b/public/img/17.jpeg differ diff --git a/public/img/18.jpeg b/public/img/18.jpeg new file mode 100644 index 0000000..e8c71de Binary files /dev/null and b/public/img/18.jpeg differ diff --git a/public/img/19.jpeg b/public/img/19.jpeg new file mode 100644 index 0000000..5c40767 Binary files /dev/null and b/public/img/19.jpeg differ diff --git a/public/img/2.jpg b/public/img/2.jpg new file mode 100644 index 0000000..c4d27fc Binary files /dev/null and b/public/img/2.jpg differ diff --git a/public/img/20.jpeg b/public/img/20.jpeg new file mode 100644 index 0000000..eeabe7d Binary files /dev/null and b/public/img/20.jpeg differ diff --git a/public/img/21.jpeg b/public/img/21.jpeg new file mode 100644 index 0000000..fba8b6e Binary files /dev/null and b/public/img/21.jpeg differ diff --git a/public/img/22.jpg b/public/img/22.jpg new file mode 100644 index 0000000..246ce85 Binary files /dev/null and b/public/img/22.jpg differ diff --git a/public/img/23.jpg b/public/img/23.jpg new file mode 100644 index 0000000..494129b Binary files /dev/null and b/public/img/23.jpg differ diff --git a/public/img/24.jpg b/public/img/24.jpg new file mode 100644 index 0000000..be3fcfb Binary files /dev/null and b/public/img/24.jpg differ diff --git a/public/img/25.jpg b/public/img/25.jpg new file mode 100644 index 0000000..ffaec6a Binary files /dev/null and b/public/img/25.jpg differ diff --git a/public/img/26.jpg b/public/img/26.jpg new file mode 100644 index 0000000..29a5bf8 Binary files /dev/null and b/public/img/26.jpg differ diff --git a/public/img/27.jpg b/public/img/27.jpg new file mode 100644 index 0000000..1b15c47 Binary files /dev/null and b/public/img/27.jpg differ diff --git a/public/img/28.jpg b/public/img/28.jpg new file mode 100644 index 0000000..fa38880 Binary files /dev/null and b/public/img/28.jpg differ diff --git a/public/img/29.jpg b/public/img/29.jpg new file mode 100644 index 0000000..7c78bc2 Binary files /dev/null and b/public/img/29.jpg differ diff --git a/public/img/3.jpg b/public/img/3.jpg new file mode 100644 index 0000000..00dfb7e Binary files /dev/null and b/public/img/3.jpg differ diff --git a/public/img/30.jpg b/public/img/30.jpg new file mode 100644 index 0000000..fcd36fd Binary files /dev/null and b/public/img/30.jpg differ diff --git a/public/img/31.jpg b/public/img/31.jpg new file mode 100644 index 0000000..0c8d5de Binary files /dev/null and b/public/img/31.jpg differ diff --git a/public/img/32.jpg b/public/img/32.jpg new file mode 100644 index 0000000..95b0a5c Binary files /dev/null and b/public/img/32.jpg differ diff --git a/public/img/33.jpg b/public/img/33.jpg new file mode 100644 index 0000000..ba3d010 Binary files /dev/null and b/public/img/33.jpg differ diff --git a/public/img/34.jpg b/public/img/34.jpg new file mode 100644 index 0000000..c823a15 Binary files /dev/null and b/public/img/34.jpg differ diff --git a/public/img/35.jpg b/public/img/35.jpg new file mode 100644 index 0000000..0a8a4ea Binary files /dev/null and b/public/img/35.jpg differ diff --git a/public/img/36.jpg b/public/img/36.jpg new file mode 100644 index 0000000..25a1ca5 Binary files /dev/null and b/public/img/36.jpg differ diff --git a/public/img/4.jpg b/public/img/4.jpg new file mode 100644 index 0000000..2484860 Binary files /dev/null and b/public/img/4.jpg differ diff --git a/public/img/5.jpg b/public/img/5.jpg new file mode 100644 index 0000000..16cc92e Binary files /dev/null and b/public/img/5.jpg differ diff --git a/public/img/6.jpg b/public/img/6.jpg new file mode 100644 index 0000000..c8b6d04 Binary files /dev/null and b/public/img/6.jpg differ diff --git a/public/img/7.jpg b/public/img/7.jpg new file mode 100644 index 0000000..07b29cd Binary files /dev/null and b/public/img/7.jpg differ diff --git a/public/img/8.jpg b/public/img/8.jpg new file mode 100644 index 0000000..ab61548 Binary files /dev/null and b/public/img/8.jpg differ diff --git a/public/img/9.jpg b/public/img/9.jpg new file mode 100644 index 0000000..a972ac0 Binary files /dev/null and b/public/img/9.jpg differ diff --git a/public/img/clg.jpg b/public/img/clg.jpg new file mode 100755 index 0000000..7e2f8c3 Binary files /dev/null and b/public/img/clg.jpg differ diff --git a/public/img/clg_grdnt.jpg b/public/img/clg_grdnt.jpg new file mode 100755 index 0000000..7047c63 Binary files /dev/null and b/public/img/clg_grdnt.jpg differ diff --git a/public/img/clgprin.jpg b/public/img/clgprin.jpg new file mode 100755 index 0000000..67b68f3 Binary files /dev/null and b/public/img/clgprin.jpg differ diff --git a/public/img/favicon.ico b/public/img/favicon.ico new file mode 100755 index 0000000..965c770 Binary files /dev/null and b/public/img/favicon.ico differ diff --git a/public/img/logo3.png b/public/img/logo3.png new file mode 100755 index 0000000..e5e2f9b Binary files /dev/null and b/public/img/logo3.png differ diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 4cf1eb6..bc7b6a8 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,36 +1,32 @@ - \ No newline at end of file +
+
+
+
Important Links
+ +
+
Related Sites
+ +
+
Document Links
+ +
+
+ +
+
diff --git a/src/components/Header.astro b/src/components/Header.astro new file mode 100644 index 0000000..8a4786b --- /dev/null +++ b/src/components/Header.astro @@ -0,0 +1,23 @@ +
+
+
+
+
SREE CHAITANYA COLLEGE
+
+
+ + + +
+
+ + diff --git a/src/components/MainMenu.vue b/src/components/MainMenu.vue new file mode 100644 index 0000000..bb3424a --- /dev/null +++ b/src/components/MainMenu.vue @@ -0,0 +1,1349 @@ + + + + \ No newline at end of file diff --git a/src/pages/documents/[id].astro b/src/pages/documents/[id].astro new file mode 100644 index 0000000..e6b43e9 --- /dev/null +++ b/src/pages/documents/[id].astro @@ -0,0 +1,46 @@ +--- +import Layout from "../../layouts/Layout.astro" +import Header from "../../components/Header.astro" +import MainMenu from "../../components/MainMenu.vue" +import Footer from "../../components/Footer.astro" + +export async function getStaticPaths() { + const response = await fetch('https://api8.siliconpin.com/items/scc22?filter[status][_eq]=published&filter[type][_eq]=documents'); + const data = await response.json(); + const finalData = data.data.map((n: {slug: string | undefined;})=>{ + return {params: {id:n.slug}} + }) + return finalData; +} + +const response = await fetch('https://api8.siliconpin.com/items/scc22?filter[status][_eq]=published&filter[type][_eq]=documents'); +const data = await response.json(); +const { id } = Astro.params; +const idx = data.data.findIndex((n: { slug: string | undefined; }) => n.slug ===id); +--- + +
+ +
+
+
+ +
+
+

{data.data[idx].title}

+
+
+ +
+
+ +
+
+
+
+
+