diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 5b3f522e..0dea419d 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -3,7 +3,7 @@ import type * as Preset from "@docusaurus/preset-classic"; const config: Config = { title: "DormCon", - tagline: "MIT's Dormitory Council", + tagline: "Welcome to MIT's Dormitory Council!", url: "https://dormcon.mit.edu", baseUrl: "/", onBrokenLinks: "throw", diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 53522f53..b4964e09 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -159,24 +159,39 @@ export default function Home() { description={siteConfig.tagline} >
-
- {/* - Happening Now - */} - - {header.title} - -

{header.subtitle}

-
- - {header.button} - +
+
+
+ + {header.title} + +

+ {header.subtitle} +

+
+ + {header.button} + +
+
+ +
+ DormCon! +
diff --git a/src/pages/styles.module.css b/src/pages/styles.module.css index 2142d846..2ed329bf 100644 --- a/src/pages/styles.module.css +++ b/src/pages/styles.module.css @@ -6,10 +6,11 @@ */ .heroBanner { - padding: 4rem 0; + padding: 4rem 12rem 0rem 12rem; text-align: center; position: relative; overflow: hidden; + display: flex; } @media screen and (max-width: 966px) { @@ -18,6 +19,28 @@ } } +.heroSubtitle { + text-align: left; +} +@media screen and (max-width: 966px) { + .heroSubtitle { + text-align: center; + } +} + +.leftHero { + display: flex; + align-items: flex-start; + justify-content: flex-start; + flex-direction: column; +} +@media screen and (max-width: 966px) { + .leftHero { + text-align: center; + align-items: center; + } +} + .buttons { display: flex; align-items: center; @@ -35,13 +58,3 @@ height: 200px; width: 200px; } - -.heroButton { - background-position: 0%; - background-size: 200% 100%; -} - -.heroButton:hover { - background-position-x: 100%; - transform: scale(1.1); -} diff --git a/static/img/dormcon-sticker.svg b/static/img/dormcon-sticker.svg new file mode 100644 index 00000000..aa31438a --- /dev/null +++ b/static/img/dormcon-sticker.svg @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file