|
@ -10,11 +10,19 @@ import cloudflare from "@astrojs/cloudflare";
|
|||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: "https://hullcss.org",
|
||||
integrations: [tailwind(), mdx(), partytown(), sitemap(), prefetch()],
|
||||
integrations: [
|
||||
tailwind(),
|
||||
mdx(),
|
||||
partytown(),
|
||||
sitemap(),
|
||||
prefetch()
|
||||
],
|
||||
output: "server",
|
||||
adapter: cloudflare(),
|
||||
redirects: {
|
||||
"/posts": "/blog",
|
||||
"/links": "https://linktr.ee/hullcss",
|
||||
"/links/test": "https://youtu.be/dQw4w9WgXcQ",
|
||||
"/links/discord": "https://discord.gg/AFxbUs5kyA",
|
||||
"/links/facebook": "https://facebook.com/hullCSS",
|
||||
"/links/github": "https://github.com/hullcss",
|
||||
|
@ -22,5 +30,10 @@ export default defineConfig({
|
|||
"/links/instagram": "https://instagram.com/hull_css/",
|
||||
"/links/linkedin": "https://linkedin.com/company/hullcss",
|
||||
"/links/twitter": "https://twitter.com/hull_CSS",
|
||||
"/links/email": "mailto:hullcss@hull.ac.uk",
|
||||
"/links/website": "https://hullcss.org",
|
||||
"/links/address": "https://what3words.com/torch.dips.factor",
|
||||
"/links/freeside": "https://freeside.co.uk",
|
||||
"/links/gradcracker": "https://www.gradcracker.com/student-societies/4305/hull-computer-science-society-css"
|
||||
}
|
||||
});
|
|
@ -11,12 +11,12 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/cloudflare": "^7.6.1",
|
||||
"@astrojs/mdx": "^1.1.2",
|
||||
"@astrojs/mdx": "^1.1.3",
|
||||
"@astrojs/partytown": "^2.0.1",
|
||||
"@astrojs/prefetch": "^0.4.1",
|
||||
"@astrojs/sitemap": "^3.0.2",
|
||||
"@astrojs/tailwind": "^5.0.2",
|
||||
"astro": "^3.3.2",
|
||||
"astro": "^3.4.0",
|
||||
"tailwindcss": "^3.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
viewBox="0 0 640 512"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
sodipodi:docname="discord.svg"
|
||||
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1" />
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="1.221875"
|
||||
inkscape:cx="320"
|
||||
inkscape:cy="256.16368"
|
||||
inkscape:window-width="2546"
|
||||
inkscape:window-height="1396"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<!--! Font Awesome Pro 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
|
||||
<path
|
||||
d="M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"
|
||||
id="path1"
|
||||
style="fill:#abb2bf;fill-opacity:1" />
|
||||
</svg>
|
After Width: | Height: | Size: 2.5 KiB |
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
viewBox="0 0 512 512"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
sodipodi:docname="email.svg"
|
||||
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1" />
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="1.5273438"
|
||||
inkscape:cx="256"
|
||||
inkscape:cy="256"
|
||||
inkscape:window-width="2546"
|
||||
inkscape:window-height="1396"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<!--! Font Awesome Pro 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
|
||||
<path
|
||||
d="M64 112c-8.8 0-16 7.2-16 16v22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1V128c0-8.8-7.2-16-16-16H64zM48 212.2V384c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V212.2L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128C0 92.7 28.7 64 64 64H448c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z"
|
||||
id="path1"
|
||||
style="fill:#abb2bf;fill-opacity:1" />
|
||||
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
viewBox="0 0 496 512"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
sodipodi:docname="github.svg"
|
||||
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1" />
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="1.5766129"
|
||||
inkscape:cx="248"
|
||||
inkscape:cy="256.24552"
|
||||
inkscape:window-width="2546"
|
||||
inkscape:window-height="1396"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<!--! Font Awesome Pro 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
|
||||
<path
|
||||
d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"
|
||||
id="path1"
|
||||
style="fill:#abb2bf;fill-opacity:1" />
|
||||
</svg>
|
After Width: | Height: | Size: 2.5 KiB |
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
viewBox="0 0 448 512"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
sodipodi:docname="instagram.svg"
|
||||
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1" />
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="1.7455357"
|
||||
inkscape:cx="224"
|
||||
inkscape:cy="256.08184"
|
||||
inkscape:window-width="2546"
|
||||
inkscape:window-height="1396"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<!--! Font Awesome Pro 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
|
||||
<path
|
||||
d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"
|
||||
id="path1"
|
||||
style="fill:#abb2bf;fill-opacity:1" />
|
||||
</svg>
|
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 464 KiB After Width: | Height: | Size: 281 KiB |
|
@ -22,9 +22,15 @@
|
|||
},
|
||||
{
|
||||
"src": "favicon.ico",
|
||||
"sizes": "32x32 128x128 180x180 192x192 256x256",
|
||||
"sizes": "32x32 128x128 180x180 192x192 256x256 512x512",
|
||||
"type": "image/x-icon",
|
||||
"purpose": "any maskable"
|
||||
},
|
||||
{
|
||||
"src": "splash.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "any maskable"
|
||||
}
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 10 KiB |
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
import SocialButton from "./SocialButton.astro";
|
||||
---
|
||||
|
||||
<h2 id="about">About</h2>
|
||||
<div class="about">
|
||||
<div class="about-l">
|
||||
<p>
|
||||
if you wish to chat or have any questions or suggestions, feel free to
|
||||
reach out to us on our <a href="/links/instagram">Instagram</a> or <a
|
||||
href="/links/discord">Discord</a
|
||||
>.
|
||||
</p>
|
||||
<p>
|
||||
if you wish to contact us regarding partnerships, sponsorships or general
|
||||
inquiries please email us at <a href="/links/email">hullcss</a>. We aim to
|
||||
respond to all emails within a working week, if you have not received a
|
||||
response within this time please feel free to send us a follow up email.
|
||||
</p>
|
||||
<p>
|
||||
Found a bug? feel free to open an issue or pull request on our <a
|
||||
href="https://github.com/hullcss/website-astro">GitHub</a
|
||||
> page.
|
||||
</p>
|
||||
</div>
|
||||
<div class="about-r">
|
||||
<div class="about-image">
|
||||
<img src="/assets/misc/golf.webp" alt="HullCSS Mini-Golf Social">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
import SocialButton from "./SocialButton.astro";
|
||||
|
||||
---
|
||||
|
||||
|
||||
<div class="contact">
|
||||
<div class="contact-l">
|
||||
<h2 id="contact">Contact us</h2>
|
||||
<p>
|
||||
if you wish to chat or have any questions or suggestions,
|
||||
feel free to reach out to us on our <a href="/links/instagram">Instagram</a> or <a href="/links/discord">Discord</a>.
|
||||
</p>
|
||||
<p>
|
||||
if you wish to contact us regarding partnerships, sponsorships or general inquiries please email us at <a href="/links/email">hullcss</a>.
|
||||
We aim to respond to all emails within a working week, if you have not received a response within this time please feel free to send us a follow up email.
|
||||
</p>
|
||||
<p>
|
||||
Found a bug? feel free to open an issue or pull request on our <a href="https://github.com/hullcss/website-astro">GitHub</a> page.
|
||||
</p>
|
||||
</div>
|
||||
<div class="contact-r">
|
||||
<SocialButton href="/links/instagram" icon="/assets/icons/instagram.svg" text="instagram" id="ig"/>
|
||||
<SocialButton href="/links/discord" icon="/assets/icons/discord.svg" text="discord" id="dc"/>
|
||||
<SocialButton href="/links/email" icon="assets/icons/email.svg" text="email" id="em"/>
|
||||
<SocialButton href="/links/github" icon="assets/icons/github.svg" text="github" id="gh"/>
|
||||
</div>
|
||||
</div>
|
|
@ -21,7 +21,7 @@ const url = `https://github.com/${gh}`;
|
|||
<img src={img_url} alt={name}>
|
||||
</div>
|
||||
<div class="exec-info">
|
||||
<h3><b>{title}: <a href={url}>{name}</a> </b> <i> ({pronouns}) </i></h3>
|
||||
<h4><b>{title}: <a href={url}>{name}</a> </b> <i> ({pronouns}) </i></h3>
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -3,7 +3,7 @@ import Exec from "./Exec.astro";
|
|||
---
|
||||
|
||||
<div class="execs">
|
||||
<h2>Meet the Team: </h2>
|
||||
<h3 id="execs">Meet the Team:</h3>
|
||||
|
||||
<Exec
|
||||
title="President"
|
||||
|
|
|
@ -0,0 +1,53 @@
|
|||
---
|
||||
|
||||
const start_year = 2023;
|
||||
const current_year = new Date().getFullYear();
|
||||
const year = (start_year == current_year) ? start_year : `${start_year} - ${current_year}`;
|
||||
|
||||
|
||||
---
|
||||
|
||||
<footer>
|
||||
<div class="footer-l">
|
||||
<div class="copyright">
|
||||
<p>
|
||||
© HullCSS { year } <span><i>(<a href="https://hullcss.org">https://hullcss.org</a>)</i></span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="info">
|
||||
<p>
|
||||
built <a href="https://astro.dev">#withastro</a> and <3
|
||||
by <a href="https://github.com/ash-entwisle">Ash Entwisle</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="disclaimer">
|
||||
<p>
|
||||
HullCSS is a society under the Hull University Students Union.
|
||||
All views represented are of our own and not that of the University, nor the Students Union.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-r">
|
||||
<div class="socials">
|
||||
<h5>Find us Online:</h5>
|
||||
<ul>
|
||||
<li><a href="/links/facebook">Facebook</a></li>
|
||||
<li><a href="/links/twitter">Twitter</a></li>
|
||||
<li><a href="/links/instagram">Instagram</a></li>
|
||||
<li><a href="/links/github">GitHub</a></li>
|
||||
<li><a href="/links/discord">Discord</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="important">
|
||||
<h5>Important Links:</h5>
|
||||
<ul>
|
||||
<li><a href="/links/constitution">Constitution</a></li>
|
||||
<li><a href="/links/privacy">Privacy Policy</a></li>
|
||||
<li><a href="/links/terms">Terms of Service</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sitemap">
|
||||
<h5>Sitemap:</h5>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
|
@ -21,9 +21,6 @@
|
|||
</div>
|
||||
<div class="header-button">
|
||||
<a href="/links/discord">discord</a>
|
||||
</div>
|
||||
<div class="header-button">
|
||||
<a href="/links/github">github</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
|
||||
export interface Props {
|
||||
href: string;
|
||||
icon: string;
|
||||
text: string;
|
||||
id: string;
|
||||
}
|
||||
|
||||
const props = Astro.props
|
||||
|
||||
---
|
||||
|
||||
<div class="social-button" id={props.text}>
|
||||
<a href={props.href}>
|
||||
<div class="social-button-icon">
|
||||
<img src={props.icon} alt={props.text}/>
|
||||
</div>
|
||||
<div class="social-button-span">
|
||||
<span>{props.text}</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
|
@ -1,9 +1,8 @@
|
|||
---
|
||||
import Boilerplate from "../layouts/Boilerplate.astro";
|
||||
import Landing from "../components/Landing.astro";
|
||||
import About from "../components/About.astro";
|
||||
import Execs from "../components/Execs.astro";
|
||||
import Links from "../components/Links.astro";
|
||||
import ContactUs from "../components/ContactUs.astro";
|
||||
|
||||
const keywords = [
|
||||
"hull", "computer", "science", "society", "hcss",
|
||||
|
@ -17,10 +16,10 @@ const keywords = [
|
|||
description="This is the Hull Computer Science Society website."
|
||||
keywords={keywords}
|
||||
>
|
||||
<Landing />
|
||||
<About />
|
||||
<Execs />
|
||||
<Links />
|
||||
<ContactUs />
|
||||
|
||||
|
||||
</Boilerplate>
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
---
|
||||
# Edit all of this
|
||||
# title: "Example Title"
|
||||
# author: "Ash Entwisle"
|
||||
# title: "Webmaster"
|
||||
# date: "2023-01-31"
|
||||
# description: "Example description"
|
||||
# tags: ["Tag 1", "Tag 2", "..."]
|
||||
# draft: true # set to false to publish
|
||||
title: "Example Title"
|
||||
author: "Ash Entwisle"
|
||||
role: "Webmaster"
|
||||
date: "2023-01-31"
|
||||
description: "Example description"
|
||||
tags: ["Tag 1", "Tag 2", "..."]
|
||||
draft: true # set to false to publish
|
||||
|
||||
# Don't edit this
|
||||
# layout: ../layouts/Blogpost.astro
|
||||
|
|
305
src/styles.scss
|
@ -28,7 +28,7 @@ header {
|
|||
padding-right: 5px;
|
||||
|
||||
// set colors
|
||||
@apply bg-mono_4;
|
||||
@apply bg-mono_5;
|
||||
@apply text-mono_1;
|
||||
|
||||
.header-l {
|
||||
|
@ -56,6 +56,16 @@ header {
|
|||
img {
|
||||
height: 90%;
|
||||
width: 90%;
|
||||
|
||||
&:hover {
|
||||
transition: 0.125s ease-in-out;
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
&:not(:hover) {
|
||||
transition: 0.125s ease-in-out;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -124,34 +134,89 @@ header {
|
|||
}
|
||||
|
||||
main {
|
||||
// add 5% padding to l and r
|
||||
// add 10% padding to l and r
|
||||
padding-left: 10%;
|
||||
padding-right: 10%;
|
||||
|
||||
max-width: 1500px;
|
||||
|
||||
margin-top: 50px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 75px;
|
||||
|
||||
// if screen is greater than 1500, set max width to 1750
|
||||
@media only screen and (min-width: 1500px) {
|
||||
max-width: 1750px;
|
||||
}
|
||||
|
||||
// if screen is greater than 1750, set max width to 2000
|
||||
@media only screen and (min-width: 1750px) {
|
||||
max-width: 2000px;
|
||||
}
|
||||
|
||||
.about {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
.about-l {
|
||||
width: 55%;
|
||||
|
||||
p {
|
||||
max-width: 750px;
|
||||
}
|
||||
}
|
||||
|
||||
.about-r {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
width: 45%;
|
||||
|
||||
.about-image {
|
||||
// center image;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
img {
|
||||
|
||||
width: 90%;
|
||||
min-width: 300px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// if less than 1000, flex about in col
|
||||
@media only screen and (max-width: 1000px) {
|
||||
flex-direction: column;
|
||||
|
||||
.about-l {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.about-r {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.execs {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
h2 {
|
||||
font-size: xx-large;
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.exec {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
padding-bottom: 25px;
|
||||
|
||||
h3 {
|
||||
margin: 0px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
font-size: larger;
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: medium;
|
||||
}
|
||||
|
@ -175,21 +240,6 @@ main {
|
|||
|
||||
max-width: 175px;
|
||||
max-height: 175px;
|
||||
|
||||
@apply bg-mono_5;
|
||||
|
||||
&:hover {
|
||||
transition: 0.2s ease-in-out;
|
||||
transform: scale(1.05);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
// on not hover, transition back to normal
|
||||
&:not(:hover) {
|
||||
transition: 0.1s ease-in-out;
|
||||
transform: scale(1);
|
||||
border-radius: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
// if less than 800, hide exec-pfp
|
||||
|
@ -202,6 +252,151 @@ main {
|
|||
|
||||
}
|
||||
|
||||
.contact {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
.contact-l {
|
||||
width: 60%;
|
||||
|
||||
p {
|
||||
max-width: 750px;
|
||||
}
|
||||
}
|
||||
|
||||
.contact-r {
|
||||
// flex buttons in col
|
||||
// center all buttons
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
width: 40%;
|
||||
margin-top: 50px;
|
||||
|
||||
#instagram {
|
||||
&:hover {
|
||||
@apply border-hue_5a;
|
||||
}
|
||||
}
|
||||
|
||||
#discord {
|
||||
&:hover {
|
||||
@apply border-hue_2a;
|
||||
}
|
||||
}
|
||||
|
||||
#email {
|
||||
&:hover {
|
||||
@apply border-hue_4a;
|
||||
}
|
||||
}
|
||||
|
||||
#github {
|
||||
&:hover {
|
||||
@apply border-hue_3a;
|
||||
}
|
||||
}
|
||||
|
||||
.social-button {
|
||||
width: 300px;
|
||||
|
||||
border: 2.5px solid;
|
||||
|
||||
// add padding
|
||||
padding: 10px;
|
||||
|
||||
// add margin
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
// set bg color
|
||||
@apply bg-mono_5;
|
||||
|
||||
.social-button-span {
|
||||
width: 45%;
|
||||
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
}
|
||||
|
||||
a {
|
||||
// flex row, center all items in row add space between
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: left;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
margin-left: 25%;
|
||||
@apply text-mono_1;
|
||||
}
|
||||
|
||||
img {
|
||||
|
||||
// set width and height
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
|
||||
// set svg color
|
||||
|
||||
|
||||
&:hover {
|
||||
transform: scale(1);
|
||||
border-radius: 0px;
|
||||
}
|
||||
&:not(:hover) {
|
||||
transform: scale(1);
|
||||
border-radius: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
transition: 0.2s ease-in-out;
|
||||
transform: scale(1.05);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
// on not hover, transition back to normal
|
||||
&:not(:hover) {
|
||||
transition: 0.1s ease-in-out;
|
||||
transform: scale(1);
|
||||
border-radius: 15px;
|
||||
|
||||
@apply border-mono_5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// if less than 800, flex contact in col
|
||||
@media only screen and (max-width: 1000px) {
|
||||
flex-direction: column;
|
||||
|
||||
.contact-l {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.contact-r {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
// if screen greater than 1500, increase width of contact-r
|
||||
@media only screen and (min-width: 1500px) {
|
||||
.contact-l {
|
||||
width: 50%;
|
||||
}
|
||||
.contact-r {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
a {
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
|
@ -221,11 +416,40 @@ main {
|
|||
}
|
||||
|
||||
p {
|
||||
margin: 15px;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 15px;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: xx-large;
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
|
||||
padding-bottom: 10px;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: x-large;
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
|
||||
padding-bottom: 10px;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin: 0px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
font-size: larger;
|
||||
}
|
||||
|
||||
code {
|
||||
|
@ -240,6 +464,21 @@ main {
|
|||
|
||||
}
|
||||
|
||||
img {
|
||||
&:hover {
|
||||
transition: 0.2s ease-in-out;
|
||||
transform: scale(1.05);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
// on not hover, transition back to normal
|
||||
&:not(:hover) {
|
||||
transition: 0.1s ease-in-out;
|
||||
transform: scale(1);
|
||||
border-radius: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
markdown {
|
||||
|
|