Skip to content

Commit 557279c

Browse files
committed
Initial commit
1 parent 9aa6599 commit 557279c

File tree

4 files changed

+15
-5253
lines changed

4 files changed

+15
-5253
lines changed

frontend/src/components/App.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class GradientText extends React.Component {
9696
render() {
9797
return (
9898
<span
99-
className={`w-min whitespace-nowrap bg-clip-text text-transparent bg-gradient-to-r from-${this.props.startColor} to-${this.props.endColor}`}
99+
className={`w-min whitespace-nowrap bg-clip-text text-transparent bg-gradient-to-r ${this.props.startColor} ${this.props.endColor}`}
100100
>
101101
{this.props.text}
102102
</span>
@@ -114,26 +114,26 @@ class Showcase extends React.Component {
114114
<div className="flex flex-col content-center pl-4 md:pl-20 lg:pl-32 py-4 space-y-6 text-7xl md:text-9xl font-sans font-black md:tracking-wide">
115115
<GradientText
116116
text="Forms"
117-
startColor="purple-50"
118-
endColor="purple-100"
117+
startColor="from-purple-50"
118+
endColor="to-purple-100"
119119
/>
120120

121121
<GradientText
122122
text="Create"
123-
startColor="purple-50"
124-
endColor="purple-200"
123+
startColor="from-purple-50"
124+
endColor="to-purple-200"
125125
/>
126126

127127
<GradientText
128128
text="Publish"
129-
startColor="purple-50"
130-
endColor="purple-300"
129+
startColor="from-purple-50"
130+
endColor="to-purple-300"
131131
/>
132132

133133
<GradientText
134134
text={"Collect" + this.information}
135-
startColor="purple-500"
136-
endColor="purple-900"
135+
startColor="from-purple-500"
136+
endColor="to-purple-900"
137137
/>
138138
</div>
139139
);

frontend/src/store.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ const store = createStore(
1111
initialState,
1212
compose(
1313
applyMiddleware(...middleware),
14-
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
14+
process.env.NODE_ENV !== "production" && window.__REDUX_DEVTOOLS_EXTENSION__
15+
? window.__REDUX_DEVTOOLS_EXTENSION__()
16+
: compose
1517
)
1618
);
1719

frontend/static/frontend/index.html

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1 @@
1-
<!DOCTYPE html>
2-
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7-
<title>Form Site</title>
8-
<script defer src="main.js"></script></head>
9-
<body>
10-
<div id="root"></div>
11-
{% load static %}
12-
<script src="{% static 'frontend/main.js' %}"></script>
13-
</body>
14-
</html>
1+
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Form Site</title><script defer="defer" src="main.js"></script></head><body><div id="root"></div>{% load static %}<script src="{% static 'frontend/main.js' %}"></script></body></html>

frontend/static/frontend/main.js

Lines changed: 2 additions & 5229 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)