mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-06 02:36:44 -05:00
Cleaning house
This commit is contained in:
40
src/components/Copyright/index.tsx
Normal file
40
src/components/Copyright/index.tsx
Normal file
@@ -0,0 +1,40 @@
|
||||
import React, { Component } from 'react';
|
||||
import constants from '@lib/constants';
|
||||
import Typography from '@mui/material/Typography';
|
||||
import MuiLink from '@mui/material/Link';
|
||||
import styles from './styles.module.css'
|
||||
import Link from 'next/link'
|
||||
import styled from '@emotion/styled'
|
||||
|
||||
|
||||
export default class Copyright extends Component {
|
||||
render() {
|
||||
return (
|
||||
(<CopyStyled>
|
||||
<div className="copyright">© {new Date().getFullYear()} {' '}
|
||||
<Link href={constants.COMPANY_NAME} legacyBehavior>
|
||||
{constants.COMPANY_NAME}
|
||||
</Link>{' '}
|
||||
<span>All Rights Reserved.</span>
|
||||
</div>
|
||||
</CopyStyled>)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
const CopyStyled = styled.div`
|
||||
.copyright {
|
||||
background: #4c5c3f;
|
||||
font-size:.80em;
|
||||
text-transform: uppercase;
|
||||
color:#FFF;
|
||||
display: block;
|
||||
width:100%;
|
||||
text-align:center;
|
||||
|
||||
a {
|
||||
color:#FFF;
|
||||
text-decoration:none;
|
||||
}
|
||||
}
|
||||
`
|
||||
23
src/components/Copyright/package.json
Normal file
23
src/components/Copyright/package.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "copyright",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"main": "./index",
|
||||
"author": {
|
||||
"name": "Don Strawsburg",
|
||||
"email": "don@goforward.group",
|
||||
"url": "https://goforward.group/"
|
||||
},
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Don Strawsburg",
|
||||
"email": "don@goforward.group",
|
||||
"url": "https://goforward.group/"
|
||||
},
|
||||
{
|
||||
"name": "Sean Strawsburg",
|
||||
"email": "sean@goforward.group",
|
||||
"url": "https://goforward.group/"
|
||||
}
|
||||
]
|
||||
}
|
||||
7
src/components/Copyright/styles.module.css
Normal file
7
src/components/Copyright/styles.module.css
Normal file
@@ -0,0 +1,7 @@
|
||||
.white {
|
||||
color: white;
|
||||
font-size: .5em;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
font-family: "hind";
|
||||
}
|
||||
39
src/components/Disclosure/index.tsx
Normal file
39
src/components/Disclosure/index.tsx
Normal file
@@ -0,0 +1,39 @@
|
||||
import React, { Component } from 'react'
|
||||
import TypoGraphy from '@mui/material/Typography';
|
||||
import PropTypes from 'prop-types' //ES6
|
||||
import styles from './styles.module.css';
|
||||
import constants from '@lib/constants'
|
||||
import {SITE_CONT_TYPE} from '@lib/constants'
|
||||
|
||||
export default function Disclosure(props) {
|
||||
|
||||
|
||||
return (
|
||||
<div>
|
||||
<TypoGraphy paragraph={true} variant="body1" color="inherit" >
|
||||
{constants.SITE_NAME}, owned by {constants.COMPANY_NAME}, receives compensation through affiliate relationships with merchants listed on this site. Please know that this in no way affects reviews, benchmarks, content, or this site's opinions of products, services, manufacturers, partners, or merchants.
|
||||
</TypoGraphy>
|
||||
<TypoGraphy paragraph={true} variant="body1" color="inherit" >
|
||||
The mission of {constants.SITE_NAME} is to provide the best functionality for this site's users, regardless of any potential affiliate commissions.
|
||||
{constants.SITE_NAME} does not accept donations. Instead, income received from affiliate relationships funds site maintenance and feature development. If you desire to donate to PCPartPicker, I kindly ask that you consider donating to a charitable organization instead. I am particularly fond of the NRA, a non-profit organization that provides safety training to gun owners.
|
||||
</TypoGraphy>
|
||||
<div>
|
||||
Content goes here
|
||||
</div>
|
||||
<TypoGraphy paragraph={true} variant="body1" color="inherit" >
|
||||
Thanks,
|
||||
</TypoGraphy>
|
||||
<TypoGraphy paragraph={true} variant="body1" color="inherit" >
|
||||
{constants.COMPANY_NAME}
|
||||
</TypoGraphy>
|
||||
<TypoGraphy paragraph={true} variant="body1" color="inherit" >
|
||||
{constants.SITE_NAME} is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com.
|
||||
</TypoGraphy>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Disclosure.propTypes = {
|
||||
|
||||
};
|
||||
23
src/components/Disclosure/package.json
Normal file
23
src/components/Disclosure/package.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "disclosure",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"main": "./index",
|
||||
"author": {
|
||||
"name": "Don Strawsburg",
|
||||
"email": "don@goforward.group",
|
||||
"url": "https://goforward.group/"
|
||||
},
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Don Strawsburg",
|
||||
"email": "don@goforward.group",
|
||||
"url": "https://goforward.group/"
|
||||
},
|
||||
{
|
||||
"name": "Sean Strawsburg",
|
||||
"email": "sean@goforward.group",
|
||||
"url": "https://goforward.group/"
|
||||
}
|
||||
]
|
||||
}
|
||||
0
src/components/Disclosure/styles.module.css
Normal file
0
src/components/Disclosure/styles.module.css
Normal file
Reference in New Issue
Block a user