File tree Expand file tree Collapse file tree 4 files changed +69
-2
lines changed Expand file tree Collapse file tree 4 files changed +69
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export default {
3131 [' Meetings' , ' /meetings' ],
3232 [' Leadership' , ' /leadership' ],
3333 [' Contact' , ' /contact' ],
34- [' IBM Fall Fest! ' ,' /ibm ' ]
34+ [' Useful Information & Links ' ,' /helpful_info ' ]
3535 ];
3636 if (loggedIn .value ){
3737 buttons .push (
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import EditEvents from "../views/EditEvents.vue";
1111import EditNotes from "../views/EditNotes.vue" ;
1212import AdminMeetings from "../views/AdminMeetings.vue" ;
1313import FallFest from "../views/FallFest.vue" ;
14+ import HelpPage from "../views/HelpPage.vue" ;
1415import AdminInformation from "../views/AdminInformation.vue" ;
1516
1617export const routes = [
@@ -77,6 +78,15 @@ export const routes = [
7778 } ,
7879 component : FallFest ,
7980 } ,
81+ {
82+ path : '/helpful_info' ,
83+ name : "Useful Links and Information" ,
84+ meta : {
85+ title : "Links and Resources!" ,
86+ description : "A collection of useful links and information for students."
87+ } ,
88+ component : HelpPage ,
89+ } ,
8090 {
8191 path : "/admin" ,
8292 name : "Admin Stuff" ,
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ onMounted(async () => {
4444
4545.fall-fest-container {
4646 background : linear-gradient (to top left , #35c982 , #4683FF );
47- max- width : 1600 px ;
47+ width : 100 % ;
4848 background-repeat : repeat ;
4949 min-height : 50vh ;
5050 padding : 100px ;
Original file line number Diff line number Diff line change 1+ <template >
2+ <div class =" fall-fest-container" >
3+ <h1 style =" margin : auto ; text-align : center ;" >Helpful Resources</h1 >
4+ <InformationCard v-for =" information, j in informations" :key =" information" ref =" "
5+ :information =" information" />
6+ </div >
7+ </template >
8+ <script setup>
9+ import { onMounted , ref } from ' vue' ;
10+ import { remult } from ' remult' ;
11+ import { Information } from " ../../db/entities.js" ;
12+ import InformationCard from " ../components/InformationCard.vue" ;
13+
14+ const informations = ref ([]);
15+ const repo = remult .repo (Information);
16+ onMounted (async () => {
17+ repo .find ()
18+ .then (e => {
19+ informations .value = e;
20+ });
21+ });
22+ </script >
23+ <style scoped lang="scss">
24+ * {
25+ box-sizing : border-box ;
26+ }
27+
28+ .information {
29+ background-color : lightgrey ;
30+ color : darkslategrey ;
31+ width : 100% ;
32+ padding : 15px 15px 15px 15px ;
33+ display : flex ;
34+ align-items : center ;
35+ margin-bottom : 30px ;
36+ max-width : 850px ;
37+ h2 {
38+ margin : 5px 0 ;
39+ }
40+ & :deep (p ) {
41+ margin : 5px 0 ;
42+ }
43+ }
44+
45+ .fall-fest-container {
46+ background : linear-gradient (to top left , #35c982 , #4683FF );
47+ width : 100% ;
48+ background-repeat : repeat ;
49+ min-height : 50vh ;
50+ padding : 100px ;
51+ @media (max-width : 1000px ){
52+ padding : 100px 10px ;
53+ }
54+ overflow : auto ;
55+ }
56+
57+ </style >
You can’t perform that action at this time.
0 commit comments