-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hack Theme Formatting and Repo setup (#4)
* idk i did some initial styles * font changes * fix linting * css i stole from codesandbox * logo color * everything is ORANGE * fix default repos * add codeowners * fix some formatting * update repo name * add credit for styles --------- Co-authored-by: Nikhil Dange <[email protected]>
- Loading branch information
1 parent
51e6bf2
commit 0e30eb7
Showing
9 changed files
with
543 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @acmucsd/acm-hack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
const Logo = () => { | ||
return ( | ||
<svg height="3rem" viewBox="0 0 328 96" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<path | ||
d="M5.97943 53.9794C2.67708 50.6771 2.67708 45.3229 5.97943 42.0206L42.0206 5.97942C45.3229 2.67707 50.6771 2.67707 53.9794 5.97942L90.0206 42.0206C93.3229 45.3229 93.3229 50.6771 90.0206 53.9794L53.9794 90.0206C50.6771 93.3229 45.3229 93.3229 42.0206 90.0206L5.97943 53.9794Z" | ||
fill="#F9A857" | ||
/> | ||
<path | ||
d="M27.4884 54.1875V41.2275H29.7924V46.6275C30.0924 46.1355 30.4944 45.7515 30.9984 45.4755C31.5144 45.1875 32.1024 45.0435 32.7624 45.0435C33.8664 45.0435 34.7184 45.3915 35.3184 46.0875C35.9304 46.7835 36.2364 47.8035 36.2364 49.1475V54.1875H33.9504V49.3635C33.9504 48.5955 33.7944 48.0075 33.4824 47.5995C33.1824 47.1915 32.7024 46.9875 32.0424 46.9875C31.3944 46.9875 30.8544 47.2155 30.4224 47.6715C30.0024 48.1275 29.7924 48.7635 29.7924 49.5795V54.1875H27.4884ZM41.5175 54.4035C40.7495 54.4035 40.1195 54.2835 39.6275 54.0435C39.1355 53.7915 38.7695 53.4615 38.5295 53.0535C38.2895 52.6455 38.1695 52.1955 38.1695 51.7035C38.1695 50.8755 38.4935 50.2035 39.1415 49.6875C39.7895 49.1715 40.7615 48.9135 42.0575 48.9135H44.3255V48.6975C44.3255 48.0855 44.1515 47.6355 43.8035 47.3475C43.4555 47.0595 43.0235 46.9155 42.5075 46.9155C42.0395 46.9155 41.6315 47.0295 41.2835 47.2575C40.9355 47.4735 40.7195 47.7975 40.6355 48.2295H38.3855C38.4455 47.5815 38.6615 47.0175 39.0335 46.5375C39.4175 46.0575 39.9095 45.6915 40.5095 45.4395C41.1095 45.1755 41.7815 45.0435 42.5255 45.0435C43.7975 45.0435 44.7995 45.3615 45.5315 45.9975C46.2635 46.6335 46.6295 47.5335 46.6295 48.6975V54.1875H44.6675L44.4515 52.7475C44.1875 53.2275 43.8155 53.6235 43.3355 53.9355C42.8675 54.2475 42.2615 54.4035 41.5175 54.4035ZM42.0395 52.6035C42.6995 52.6035 43.2095 52.3875 43.5695 51.9555C43.9415 51.5235 44.1755 50.9895 44.2715 50.3535H42.3095C41.6975 50.3535 41.2595 50.4675 40.9955 50.6955C40.7315 50.9115 40.5995 51.1815 40.5995 51.5055C40.5995 51.8535 40.7315 52.1235 40.9955 52.3155C41.2595 52.5075 41.6075 52.6035 42.0395 52.6035ZM53.2022 54.4035C52.2902 54.4035 51.4862 54.2055 50.7902 53.8095C50.0942 53.4135 49.5422 52.8615 49.1342 52.1535C48.7382 51.4455 48.5402 50.6355 48.5402 49.7235C48.5402 48.8115 48.7382 48.0015 49.1342 47.2935C49.5422 46.5855 50.0942 46.0335 50.7902 45.6375C51.4862 45.2415 52.2902 45.0435 53.2022 45.0435C54.3422 45.0435 55.3022 45.3435 56.0822 45.9435C56.8622 46.5315 57.3602 47.3475 57.5762 48.3915H55.1462C55.0262 47.9595 54.7862 47.6235 54.4262 47.3835C54.0782 47.1315 53.6642 47.0055 53.1842 47.0055C52.5482 47.0055 52.0082 47.2455 51.5642 47.7255C51.1202 48.2055 50.8982 48.8715 50.8982 49.7235C50.8982 50.5755 51.1202 51.2415 51.5642 51.7215C52.0082 52.2015 52.5482 52.4415 53.1842 52.4415C53.6642 52.4415 54.0782 52.3215 54.4262 52.0815C54.7862 51.8415 55.0262 51.4995 55.1462 51.0555H57.5762C57.3602 52.0635 56.8622 52.8735 56.0822 53.4855C55.3022 54.0975 54.3422 54.4035 53.2022 54.4035ZM59.6212 54.1875V41.2275H61.9252V48.8775L65.0932 45.2595H67.8292L64.1752 49.3275L68.4232 54.1875H65.5432L61.9252 49.7055V54.1875H59.6212Z" | ||
fill="white" | ||
/> | ||
<path | ||
d="M112.035 63.5L123.555 32H130.035L141.555 63.5H135.435L132.915 56.21H120.63L118.065 63.5H112.035ZM122.205 51.71H131.34L126.75 38.615L122.205 51.71ZM158.076 64.04C154.896 64.04 152.166 63.365 149.886 62.015C147.606 60.635 145.851 58.73 144.621 56.3C143.391 53.84 142.776 51.005 142.776 47.795C142.776 44.585 143.391 41.75 144.621 39.29C145.851 36.83 147.606 34.91 149.886 33.53C152.166 32.15 154.896 31.46 158.076 31.46C161.856 31.46 164.946 32.405 167.346 34.295C169.776 36.155 171.291 38.78 171.891 42.17H165.546C165.156 40.46 164.316 39.125 163.026 38.165C161.766 37.175 160.086 36.68 157.986 36.68C155.076 36.68 152.796 37.67 151.146 39.65C149.496 41.63 148.671 44.345 148.671 47.795C148.671 51.245 149.496 53.96 151.146 55.94C152.796 57.89 155.076 58.865 157.986 58.865C160.086 58.865 161.766 58.415 163.026 57.515C164.316 56.585 165.156 55.31 165.546 53.69H171.891C171.291 56.93 169.776 59.465 167.346 61.295C164.946 63.125 161.856 64.04 158.076 64.04ZM176.99 63.5V32H183.83L193.865 51.98L203.765 32H210.605V63.5H204.845V41.765L196.07 59H191.525L182.75 41.765V63.5H176.99ZM227.709 63.5V32H231.489V45.905H247.824V32H251.604V63.5H247.824V49.01H231.489V63.5H227.709ZM265.451 64.04C263.591 64.04 262.046 63.725 260.816 63.095C259.586 62.465 258.671 61.625 258.071 60.575C257.471 59.525 257.171 58.385 257.171 57.155C257.171 54.875 258.041 53.12 259.781 51.89C261.521 50.66 263.891 50.045 266.891 50.045H272.921V49.775C272.921 47.825 272.411 46.355 271.391 45.365C270.371 44.345 269.006 43.835 267.296 43.835C265.826 43.835 264.551 44.21 263.471 44.96C262.421 45.68 261.761 46.745 261.491 48.155H257.621C257.771 46.535 258.311 45.17 259.241 44.06C260.201 42.95 261.386 42.11 262.796 41.54C264.206 40.94 265.706 40.64 267.296 40.64C270.416 40.64 272.756 41.48 274.316 43.16C275.906 44.81 276.701 47.015 276.701 49.775V63.5H273.326L273.101 59.495C272.471 60.755 271.541 61.835 270.311 62.735C269.111 63.605 267.491 64.04 265.451 64.04ZM266.036 60.845C267.476 60.845 268.706 60.47 269.726 59.72C270.776 58.97 271.571 57.995 272.111 56.795C272.651 55.595 272.921 54.335 272.921 53.015V52.97H267.206C264.986 52.97 263.411 53.36 262.481 54.14C261.581 54.89 261.131 55.835 261.131 56.975C261.131 58.145 261.551 59.09 262.391 59.81C263.261 60.5 264.476 60.845 266.036 60.845ZM292.632 64.04C290.502 64.04 288.582 63.56 286.872 62.6C285.192 61.61 283.857 60.245 282.867 58.505C281.907 56.735 281.427 54.68 281.427 52.34C281.427 50 281.907 47.96 282.867 46.22C283.857 44.45 285.192 43.085 286.872 42.125C288.582 41.135 290.502 40.64 292.632 40.64C295.272 40.64 297.492 41.33 299.292 42.71C301.122 44.09 302.277 45.935 302.757 48.245H298.887C298.587 46.865 297.852 45.8 296.682 45.05C295.512 44.27 294.147 43.88 292.587 43.88C291.327 43.88 290.142 44.195 289.032 44.825C287.922 45.455 287.022 46.4 286.332 47.66C285.642 48.92 285.297 50.48 285.297 52.34C285.297 54.2 285.642 55.76 286.332 57.02C287.022 58.28 287.922 59.24 289.032 59.9C290.142 60.53 291.327 60.845 292.587 60.845C294.147 60.845 295.512 60.47 296.682 59.72C297.852 58.94 298.587 57.845 298.887 56.435H302.757C302.307 58.685 301.167 60.515 299.337 61.925C297.507 63.335 295.272 64.04 292.632 64.04ZM308.036 63.5V31.1H311.816V50.585L320.951 41.18H325.586L315.686 51.26L326.846 63.5H322.031L311.816 51.935V63.5H308.036Z" | ||
fill="currentColor" | ||
/> | ||
</svg> | ||
); | ||
}; | ||
|
||
export default Logo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,14 +10,14 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/shuding/nextra-docs-template.git" | ||
"url": "git+https://github.com/acmucsd/hack-website.git" | ||
}, | ||
"author": "Shu Ding <[email protected]>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/shuding/nextra-docs-template/issues" | ||
"url": "https://github.com/acmucsd/hack-website/issues" | ||
}, | ||
"homepage": "https://github.com/shuding/nextra-docs-template#readme", | ||
"homepage": "https://github.com/acmucsd/hack-website#readme", | ||
"dependencies": { | ||
"next": "^13.0.6", | ||
"nextra": "latest", | ||
|
@@ -40,4 +40,4 @@ | |
"prettier": "^3.0.0", | ||
"typescript": "^4.9.3" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { DM_Sans } from 'next/font/google'; | ||
import '../styles.css'; | ||
|
||
// If loading a variable font, you don't need to specify the font weight | ||
const font = DM_Sans({ subsets: ['latin'], weight: '400' }); | ||
|
||
export default function MyApp({ Component, pageProps }) { | ||
return ( | ||
<main className={font.className}> | ||
<Component {...pageProps} /> | ||
</main> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
{ | ||
"*": { | ||
"type": "page", | ||
"display": "hidden" | ||
} | ||
} | ||
"index": "ACM Hack" | ||
} |
Oops, something went wrong.